start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/env bash | |
SOLR_RUNNING=0 | |
SOLR_DIRECTORY="/usr/local/solr" | |
SOLR_LOG="${SOLR_DIRECTORY}/logs/solrd.log" | |
SOLR_LOCK="${SOLR_DIRECTORY}/solrd.pid" | |
touch "${SOLR_LOCK}" | |
SOLR_PID=$(cat ${SOLR_LOCK}) | |
let SOLR_PID=SOLR_PID+0 | |
touch "${SOLR_LOG}" |
#The Great Firewall (GFW) Contributors List
注:数据来源为 dblp 和 cndblp, 下面括号中的数字表示 dblp 中显示的跟方滨兴合作论文的数量
###Binxing Fang (方滨兴)
中国工程院院士,北京邮电大学教授,中国科学院计算技术研究所网络方向首席科学家
http://en.wikipedia.org/wiki/Fang_Binxing
#!/usr/bin/env ruby | |
require 'optparse' | |
require 'net/http' | |
CATEGORIES = [:anime, :book, :music, :game, :real] | |
STATES = [:wish, :collect, :do, :on_hold, :dropped] | |
progress = true | |
options = { |
//.m文件的行数 | |
find . -name "*.m" | xargs wc -l | |
//.m .h .xib .c 文件内容总行数 | |
find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs grep -v "^$"|wc -l |
route = 8.0.0.0/255.0.0.0 | |
route = 58.0.0.0/255.0.0.0 | |
route = 23.0.0.0/255.0.0.0 | |
route = 117.0.0.0/255.0.0.0 | |
route = 199.0.0.0/255.0.0.0 | |
route = 190.0.0.0/255.0.0.0 | |
route = 198.0.0.0/255.0.0.0 | |
route = 173.0.0.0/255.0.0.0 | |
route = 174.0.0.0/255.0.0.0 | |
route = 168.0.0.0/255.0.0.0 |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>0</key> | |
<dict> | |
<key>emoji</key> | |
<array> | |
<string>0⃣️</string> | |
</array> |
[General] | |
loglevel = notify | |
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
# dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
# external-controller-access = PASSWORD@0.0.0.0:6155 | |
# ipv6 = true | |
// REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist && \ | |
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist && \ | |
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz && \ | |
sudo pkgutil --forget org.macosforge.xquartz.pkg && \ | |
rm -rf ~/.serverauth* && rm -rf ~/.Xauthorit* && rm -rf ~/.cache && rm -rf ~/.rnd && \ | |
rm -rf ~/Library/Caches/org.macosforge.xquartz.X11 && rm -rf ~/Library/Logs/X11 |