不重启改变vps系统时间
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime hwclock ... read more
wget --no-check-certificate https://gist.github.com/LazyZhu/dc3f2f84c336a08fd6a5/raw/d8aa4bcf955409e28a262ccf52921a65fe49da99/net_speeder_lazyinstall.sh sh net_speeder_lazyinstall.sh 使用方法nohup /usr/local/net_speeder/net_speeder venet0 "ip" >/dev/null 2>&1 &,关闭方法killall net_speeder ... read more
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime hwclock ... read more
Nginx的Log一大坨一大坨的,看起来很不方便,就想找个方法方便的查看当日Log,查了半天终于让我整出来了! 编辑bash_profile vim ~/.bash_profile,添加 #bash语法好奇怪... function log { case $1 in 1) m=Jan ;; 2) m=Feb ;; 3) m=Mar ;; 4) m=Apr ;; 5) m=May ;; 6) m=Jun ;; 7) m=Jul ;; 8) m=Aug ;; 9) m=Sep ;; 10) m=Oct ;; 11) m=Nov ;; 12) ... read more
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' 运行完后killall Dock ... read more
在V2EX上看到这倒面试题。 You must solve this puzzle to apply There're 7 red tiles, 8 blue titles and one white title in a 4 x 4 plane. We could only move the white tile. When moving it, the white tile swaps the position with the adjacent tile. L, R, U, D are ... read more