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
; http://kbd-intl.narod.ru/images/ru-typewriter.png
setxkbmap -option grp:switch,grp:shifts_toggle,grp_led:scroll fr,ru
View nix_sqlite.sh
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
View simple_ftp.py
from pyftpdlib import ftpserver
authorizer = ftpserver.DummyAuthorizer()
authorizer.add_user("a", "a", "/tmp", perm="elradfmw")
authorizer.add_anonymous("/tmp")
handler = ftpserver.FTPHandler
handler.authorizer = authorizer
address = ("0.0.0.0", 21)
You can’t perform that action at this time.