- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
[editor] | |
auto-info = false | |
[keys.normal] | |
# Quick iteration on config changes | |
# C-o = ":config-open" | |
# C-r = ":config-reload" | |
";" = "repeat_last_motion" |
#!/usr/bin/env python3 | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
see: https://gist.github.com/UniIsland/3346170 | |
""" | |
#!/usr/bin/env bash | |
# https://github.com/shadowsocks/shadowsocks-rust/releases | |
export SSVERSION=v1.15.4 | |
export SSPORT=143 | |
export SSPASSWORD="CHANGEME" | |
export SSARCHIVE="shadowsocks-${SSVERSION}.x86_64-unknown-linux-gnu.tar.xz" | |
#export SSARCHIVE="shadowsocks-${SSVERSION}.aarch64-unknown-linux-gnu.tar.xz" | |
export PREFIX=/usr/local/bin |
#!/bin/sh | |
/usr/bin/setxkbmap -option "ctrl:nocaps" | |
/usr/bin/xmodmap -e "keycode 51 = BackSpace" | |
/usr/bin/xmodmap -e "keycode 22 = backslash bar" |
[Unit] | |
Description=TurboVNC vncserver | |
After=network.target syslog.target | |
[Service] | |
User=ubuntu | |
Type=forking | |
ExecStartPre=/bin/sh -c '/opt/TurboVNC/bin/vncserver -kill :1 &>/dev/null || :' | |
ExecStart=/opt/TurboVNC/bin/vncserver -nohttpd -nthreads 8 -nevershared -disconnect -deferupdate 1 -idletimeout 0 -interframe -depth 24 -name zhijia-cloud-vnc :1 | |
ExecStop=/bin/sh -c '/opt/TurboVNC/bin/vncserver -kill :1 &>/dev/null || :' |
#!/bin/ruby | |
# ls_1 = `ls -1` | |
# all = [] | |
# ls_1.each do | mode | | |
# mode =~ /((\w|-)+?)-((\d+|\.)+)/ | |
# end |
// vim: set syntax=typescript: | |
// an example to create a new mapping `ctrl-y` | |
// mapkey('<Ctrl-y>', 'Show me the money', function() { | |
// Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
// }); | |
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
// map('gt', 'T'); | |
//reference |
/** | |
* genpac 2.1.0 https://github.com/JinnLynn/genpac | |
* Generated: 2020-03-08 22:43:53 | |
* GFWList Last-Modified: 2019-11-05 00:21:47 | |
* GFWList From: online[https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt] | |
*/ | |
var proxy = 'SOCKS5 127.0.0.1:10860'; | |
var rules = [ | |
[ |