I hereby claim:
- I am nykma on github.
- I am nykma (https://keybase.io/nykma) on keybase.
- I have a public key whose fingerprint is C394 2A7D 5334 E3AC 8EB0 C55D B474 D54E C385 E926
To claim this, I am signing this object:
{ | |
"cmd": ["/Applications/MATLAB_R2014a.app/bin/matlab", "-nosplash", "<$file_name"], | |
"selector": "source.m" | |
} |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"name": "My ErgoDox keymap", | |
"author": "Nyk Ma", | |
"switchMount": "cherry", | |
"switchBrand": "gateron", | |
"switchType": "KS-3-Yellow", | |
"pcb": false, | |
"plate": true | |
}, |
def subdomain!(sub="test") | |
::Rack::Test::DEFAULT_HOST.replace "#{sub}.your_domain.com" | |
end |
class Pointer | |
attr_reader :count, :array, :current, :index | |
def initialize(array) | |
raise unless array.is_a?(Array) | |
@array = array.clone | |
@count = @array.count | |
@current = @array.first | |
@index = 0 | |
end |
[ | |
{ | |
"name": "Nyk's Planck", | |
"author": "Nyk Ma <[email protected]>", | |
"background": { | |
"name": "Carbon fibre 3", | |
"style": "background-image: url('/bg/carbonfibre/carbon_texture1869.png');" | |
}, | |
"switchMount": "cherry", | |
"switchBrand": "gateron", |
[ | |
{ | |
"name": "Ergodone", | |
"author": "Nyk Ma <[email protected]>" | |
}, | |
[ | |
{ | |
"x": 3.5 | |
}, | |
"#\n3", |
[ | |
{ | |
"name": "XD75" | |
}, | |
[ | |
"Esc", | |
"!\n1", | |
"@\n2", | |
"#\n3", | |
"$\n4", |
ss_redir_iptables
:
iptables
redir rules to ss_redir
ipset
of china IPs using chnroute.txt
ss_ctl
:
systemctl --user
chnroute_refresh
:#!/usr/bin/env ruby | |
# Maildir folder: create an UTF-8 symlink to original UTF-7 maildir. | |
# For example, it will create a symlink named '所有邮件' to a directory | |
# named '&YkBnCZCuTvY-' | |
utf7_dirs = Dir.entries(Dir.pwd).select do |dir| | |
dir.start_with?("&") | |
end | |
utf7_dirs.each do |dir| |