###aliyun
maven { url 'https://maven.aliyun.com/repository/public' }
完整
buildscript {
repositories {
{ | |
"localaddr": "127.0.0.1:1090", | |
"remoteaddr": "server:3389", | |
"key": "", | |
"crypt": "salsa20", | |
"mode": "fast", | |
"conn": 1, | |
"autoexpire": 60, | |
"mtu": 1200, | |
"sndwnd": 1024, |
###aliyun
maven { url 'https://maven.aliyun.com/repository/public' }
完整
buildscript {
repositories {
参考 What's the development package for Qt5 in 14.04
sudo apt-get install qtdeclarative5-dev
sudo apt-get install \
qtconnectivity5-dev qtbase5-dev qtbase5-dev qtbase5-dev qttools5-dev qttools5-dev qtbase5-dev qttools5-dev qtmultimedia5-dev qtbase5-dev qtconnectivity5-dev libqt5opengl5-dev qtpositioning5-dev qtbase5-dev qtdeclarative5-dev qtdeclarative5-dev qtdeclarative5-dev qtdeclarative5-dev qtdeclarative5-dev qtscript5-dev qtscript5-dev libqt5serialport5-dev qtbase5-dev libqt5svg5-dev qtbase5-dev qttools5-dev libqt5webkit5-dev libqt5websockets5-dev qtbase5-dev libqt5x11extras5-dev qtbase5-dev libqt5xmlpatterns5-dev
#!/bin/bash | |
text=$1 | |
if [[ $# -eq 0 ]]; then | |
# read from pipe | |
read -t 1 text | |
fi | |
if [[ ${text} == "" ]]; then |
#!/bin/bash | |
# echo $# | |
scandir=$(pwd) | |
if [[ $# -gt 0 ]]; then | |
scandir=$1 | |
fi |
#!/bin/bash | |
u="-u" | |
u="" | |
go get ${u} -v github.com/nsf/gocode | |
go get ${u} -v github.com/rogpeppe/godef | |
go get ${u} -v github.com/golang/lint/golint | |
go get ${u} -v github.com/lukehoban/go-outline | |
go get ${u} -v sourcegraph.com/sqs/goreturns |
create servermeu folder in local path.
~/.local/share/kservices5/ServiceMenus/
put desktop to folder created above.
put bash file into local bin dir.
后台一个接口。 比如:yue.fm/api/config 请求: GET yue.fm/api/config?key={key} 返回: 文本 TEXT
后台界面,可以配置。 列出已有的key-value对。就是个列表。
可以添加。一对。
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" |
#!/bin/bash | |
c=$# | |
#echo $# | |
if [[ ${c} -gt 0 ]]; then | |
echo "$RANDOM * $1" | bc | |
else | |
echo $RANDOM | |
fi |