临时文本缓存服务
Url:http://pi.nxtl.cn/fade/
参数:
- k,key,键名,最长不超过250个字符,必填
- v,value,键值,最长不超过1M,必填
find -name '*.conf' | xargs sudo sed -i "s/\(\$1\..*\.baixing\.cn\)$/\1\$2/g" | |
find -name '*.conf' | xargs sudo perl -pi -e 's|com\$|com(.*)\$|g' | |
find -name '*.conf' | xargs sudo sed -i "s/\(s\..*\.baixing\.cn\)\//\1:3005\//g" |
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config interface 'lan' | |
option type 'bridge' | |
option proto 'static' | |
option netmask '255.255.255.0' |
AT+RST | |
AT+GMR | |
AT+CWMODE=1 | |
AT+CWMODE? | |
AT+CIPCLOSE |
echo -n "CPU freq: ";cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq;\ | |
echo -n "CPU max: ";cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;\ | |
echo -n "CPU min: ";cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
#!/bin/sh | |
if [ `id -u` -ne 0 ] | |
then | |
echo "please run it by root" | |
exit 0 | |
fi | |
apt-get -y update | |
apt-get -y install pptpd || { |
DEBUG = true | |
function getWpath(address, port, path) | |
if conn_busy == false or conn_busy == nil then | |
conn_busy = true | |
local conn=net.createConnection(net.TCP, 0) | |
conn:on("receive", function(conn, payload) | |
if (DEBUG) print("received") end | |
if string.len(payload) < 1460 then conn:close() end |
////////////////////////////////////////////////// | |
// SpaceEngine main configuration file // | |
////////////////////////////////////////////////// | |
// display settings | |
WindowSizeX 1040 // window width | |
WindowSizeY 744 // window height | |
WindowPosX 1592 // window x position | |
WindowPosY -132 // window y position | |
Maximized true // start with a maximized window |
Deploy key is a SSH key set in your repo to grant client read-only (as well as r/w, if you want) access to your repo.
As the name says, its primary function is to be used in the deploy process in replace of username/password, where only read access is needed. Therefore keep the repo safe from the attack, in case the server side is fallen.