Skip to content

Instantly share code, notes, and snippets.

Simon Thépot djcoin

Block or report user

Report or block djcoin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View russian:fr keyboard switch
; switch between keyboards usingby pressing both shift keys
setxkbmap -option grp:switch,grp:shifts_toggle,grp_led:scroll fr,ru
nix-shell -p libffi openssl
nix-env -i nodejs
mkdir ~/.mutable_node_modules
npm config set prefix '~/.mutable_node_modules'
# add bin to .bashrc
vim .bashrc
mkdir bin
ln -s ~/.mutable_node_modules/bin/ ~/bin
from pyftpdlib import ftpserver
authorizer = ftpserver.DummyAuthorizer()
authorizer.add_user("a", "a", "/tmp", perm="elradfmw")
handler = ftpserver.FTPHandler
handler.authorizer = authorizer
address = ("", 21)
You can’t perform that action at this time.