coffee_cn

博客园 首页 新随笔 联系 订阅 管理

2020年4月22日 #

摘要: httpd.conf <VirtualHost *:80> ServerName www.abc.cn RewriteEngine on RewriteCond %{HTTPS} !=on RewriteRule ^(.*) https://%{SERVER_NAME}$1 [L,R] </Virt 阅读全文
posted @ 2020-04-22 12:51 coffee 阅读(925) 评论(0) 推荐(0) 编辑

2020年3月29日 #

摘要: 转载:https://www.jianshu.com/p/531cc35b15e7 下载yum源:wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm 安装yum源rpm -Uvh mysql57-com 阅读全文
posted @ 2020-03-29 09:12 coffee 阅读(234) 评论(0) 推荐(0) 编辑

2020年3月25日 #

摘要: redis.conf notify-keyspace-events Ex KeyExpiredListener.java public class KeyExpiredListener extends JedisPubSub { public KeyExpiredListener() { } @Ov 阅读全文
posted @ 2020-03-25 11:57 coffee 阅读(539) 评论(0) 推荐(0) 编辑

2020年2月11日 #

摘要: 以下内容转载自:https://blog.csdn.net/qq_29178991/article/details/79666924非常谢谢原作者。 import sun.misc.BASE64Encoder; import sun.misc.BASE64Decoder; 在项目中涉及到64位编码, 阅读全文
posted @ 2020-02-11 11:26 coffee 阅读(1253) 评论(0) 推荐(0) 编辑

摘要: 两句命令 git config --global user.name 你的目标用户名git config --global user.email 你的目标邮箱名 具体步骤 wang@SVELL-87 MINGW64 /e/project1 (develop)$ git config user.nam 阅读全文
posted @ 2020-02-11 10:47 coffee 阅读(870) 评论(0) 推荐(1) 编辑

2019年12月31日 #

摘要: .htaccess文件 RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://(www\.)?coffeetest\.cn/.*$ [NC]RewriteRule ^(.*)$ http://gallery.coffeetest.com.cn/$1 阅读全文
posted @ 2019-12-31 16:25 coffee 阅读(441) 评论(0) 推荐(0) 编辑

2019年12月26日 #

摘要: task1.php task_monitor.php 阅读全文
posted @ 2019-12-26 12:20 coffee 阅读(762) 评论(0) 推荐(0) 编辑

摘要: 参考 https://stackoverflow.com/questions/4929827/shell-exec-php-with-nohup 红色部分为关键点。 nohup /usr/bin/php /mytask/task1.php >/mytask/nohup/task1.log 2>&1 阅读全文
posted @ 2019-12-26 12:12 coffee 阅读(366) 评论(0) 推荐(0) 编辑

2019年12月23日 #

摘要: git常用命令 移除某文件夹的版本控制git add .git commit -m "add base module"git push origin master git rm -r -n --cached ".idea/ logs/ target/"-n这个参数,执行命令时,不会删除任何文件,而是 阅读全文
posted @ 2019-12-23 12:16 coffee 阅读(255) 评论(0) 推荐(0) 编辑

2019年12月21日 #

摘要: Failed to connect to repository : Command "git ls-remote -h username@mygit.com:cc/myproject.git HEAD" returned status code 128:stdout:stderr: Host key 阅读全文
posted @ 2019-12-21 13:29 coffee 阅读(1664) 评论(0) 推荐(0) 编辑