I hereby claim:
- I am mexicat on github.
- I am mejicat (https://keybase.io/mejicat) on keybase.
- I have a public key ASChzhEylNAl43p5dA_4tDm3tX4yP7OKev8n3yrIzA4vXwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
hs.hotkey.bind({"alt"}, "A", function() | |
hs.eventtap.keyStrokes(' à') | |
end) | |
hs.hotkey.bind({"alt"}, "E", function() | |
hs.eventtap.keyStrokes('è') | |
end) | |
hs.hotkey.bind({"alt", "shift"}, "E", function() | |
hs.eventtap.keyStrokes('é') |
from fabric.api import * | |
# the settings | |
env.hosts = ['user@host:port'] # change this | |
env['dir'] = '/var/www/mydir' # where the virtualenv dirs *and* manage.py are located | |
env['conf'] = '/etc/uwsgi/apps-available/myapp.ini' # your conf file for uwsgi | |
def deploy(): | |
local('git push origin master') # just to be sure | |
with cd(env['dir']): |
import json | |
from django.http import HttpResponse | |
def json_response(obj): | |
return HttpResponse(json.dumps(obj), mimetype='application/javascript') |