Skip to content

Instantly share code, notes, and snippets.

View nlimpid's full-sized avatar

nlimpid nlimpid

  • Hangzhou
  • 03:22 (UTC +08:00)
View GitHub Profile
generate_post_data()
{
cat <<EOF
{
"type": "A",
"content": "$URLIP"
}
EOF
}
@nlimpid
nlimpid / complete
Created June 4, 2019 05:32
bash complete
_foo()
{
local cur prev
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
case ${COMP_CWORD} in
1)
COMPREPLY=($(compgen -W "configure show" -- ${cur}))
// Place your settings in this file to overwrite the default settings
{
//"editor.fontFamily": "mplus-1m-regular",
"editor.fontFamily": "Inziu Iosevka SC",
"go.useLanguageServer": false,
// "editor.fontFamily": "FiraCode-Retina",
"editor.fontSize": 18, //中国年问
"editor.lineHeight": 0, //行高没问题
"editor.tabSize": 4,
"editor.fontLigatures": true,
@nlimpid
nlimpid / 0_reuse_code.js
Created November 17, 2016 14:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
nlimpid
@nlimpid
nlimpid / MacOSXShortCutForWindows.ahk
Created May 4, 2016 11:18
Mac OS X shortcuts for Windows
SetCapsLockState, AlwaysOff
!c::Send, ^c
!v::Send, ^v
!x::Send, ^x
!f::Send, ^f
!a::Send, ^a
!z::Send, ^z
!r::Send, ^r
!t::Send, ^t
!q::Send, !F4
@nlimpid
nlimpid / SSLEdgeRule
Created March 3, 2015 13:57
GFW white-list
.0-6.com
.000dn.com
.000wan.com
.007.mx
.007ok.cc
.00base.com
.010lm.com
.010time.com
.016788.com
.01happy.com
"Alfred 2"; idea;Thunder*; iTerm; Terminal;php; Dropbox; Sparrow; "Sequel Pro"; python; ruby; wget; curl; GitHub; git-remote-https; npm; node; perl;prl*;itunes; sftp; whois;traceroute;stroke;ssh;ALiWangwang;MacUpdate*;git*;Git;fzs*;mail;flickr*;xulr*;imess*;com.apple.im*;Airmail;Adium;Prot*;Tokens;Ali*;Lite*;file*;ssh;ftp;Adobe*;PDApp*;Creative*;Vbox*;xulrunner;Virtual*;PDApp;Bit*;Domainers;fire*;plugin*;Atom*;Tokens;.com.realmacsoftware*;Xcode;java;httpd;

for life and work

Hardware

If you are interested, see also my previous setup.

I have 3 computers at the moment: