I hereby claim:
- I am oblalex on github.
- I am oblalex (https://keybase.io/oblalex) on keybase.
- I have a public key ASC1jRTbyevO2_U4soHZqV42KdtVoBErzytgEUv5GvKLwgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| [ | |
| { "keys": ["alt+c", "alt+up"], "command": "upper_case" }, | |
| { "keys": ["alt+c", "alt+down"], "command": "lower_case" }, | |
| { "keys": ["alt+c", "alt+t"], "command": "title_case" }, | |
| { "keys": ["alt+c", "alt+s"], "command": "convert_to_snake"}, | |
| { "keys": ["alt+c", "alt+m"], "command": "convert_to_camel"}, | |
| { "keys": ["alt+c", "alt+p"], "command": "convert_to_pascal"}, | |
| { "keys": ["alt+c", "alt+."], "command": "convert_to_dot"}, | |
| { "keys": ["alt+c", "alt+-"], "command": "convert_to_dash"}, | |
| { "keys": ["alt+c", "alt+w"], "command": "convert_to_separate_words"}, |
| # Install our dependencies | |
| $ pip install -r <(wget -O- http://bit.ly/ssh_test_requirements) | |
| # Generate key pair without password | |
| $ ssh-keygen -t rsa -C "user@unicorn" | |
| Generating public/private rsa key pair. | |
| Enter file in which to save the key (/home/alex/.ssh/id_rsa): user.key | |
| Enter passphrase (empty for no passphrase): | |
| Enter same passphrase again: |
| function get_cookie(name) { | |
| var cookieValue = null | |
| if (document.cookie && document.cookie != '') { | |
| var cookies = document.cookie.split(';') | |
| for (var i = 0; i < cookies.length; i++) { | |
| var cookie = jQuery.trim(cookies[i]) | |
| if (cookie.substring(0, name.length + 1) == (name + '=')) { | |
| cookieValue = decodeURIComponent(cookie.substring(name.length + 1)) |
| $.backward_timer | |
| methods: Object | |
| _check_leading_zero: function (number) { ... | |
| _is_exhausted: function() { ... | |
| _on_tick: function (previous_delay) { ... | |
| _render_seconds: function () { ... | |
| _seconds_to_dhms: function (seconds) { ... | |
| cancel: function () { ... | |
| init: function (options) { ... | |
| reset: function () { ... |
| server { | |
| listen 80; | |
| server_name localhost; | |
| location /api { | |
| return 497; # Forbid execution of API calls via plain HTTP | |
| } | |
| location / { | |
| rewrite ^ https://$host:443$request_uri? permanent; |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import httplib2 | |
| import os | |
| from apiclient.discovery import build | |
| from apiclient.http import MediaFileUpload | |
| from oauth2client.client import SignedJwtAssertionCredentials | |
| from oauth2client.file import Storage |
| from imp import find_module | |
| from importlib import import_module | |
| import sys | |
| def autodiscover_module(module_name, installed_apps=None): | |
| if installed_apps is None: | |
| from django.conf import settings | |
| installed_apps = settings.INSTALLED_APPS |
| # Package generated configuration file | |
| # See the sshd_config(5) manpage for details | |
| # What ports, IPs and protocols we listen for | |
| Port 22 | |
| # Use these options to restrict which interfaces/protocols sshd will bind to | |
| AddressFamily any | |
| ListenAddress :: | |
| ListenAddress 0.0.0.0 | |
| Protocol 2 |
| # Python interpreter from environment. | |
| ENV_PYTHON="/var/virtualenvs/il2ec/bin/python" | |
| # Name of nodes to start | |
| # here we have a single node | |
| CELERYD_NODES="w1" | |
| # or we could have three nodes: | |
| # CELERYD_NODES="w1 w2 w3" | |
| # Full path to the Django project directory. |