I hereby claim:
- I am ipartola on github.
- I am ipartola (https://keybase.io/ipartola) on keybase.
- I have a public key whose fingerprint is 4A85 10E3 3536 44EE 02E3 F522 B2AC 08B5 2272 781B
To claim this, I am signing this object:
# Place this in your Django 1.3+ settings.py file | |
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': True, | |
'formatters': { | |
'simple': { | |
'format': '%(asctime)s %(levelname)s %(message)s' | |
}, | |
'verbose': { |
def fizz(): | |
while True: | |
yield '' | |
yield '' | |
yield 'fizz' | |
def buzz(): | |
while True: | |
yield '' | |
yield '' |
#! /bin/sh | |
# | |
# Downloaded from: | |
# http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/supervisor/trusty/view/head:/debian/supervisor.init | |
# | |
# skeleton example file to build /etc/init.d/ scripts. | |
# This file should be used to construct scripts for /etc/init.d. | |
# | |
# Written by Miquel van Smoorenburg <miquels@cistron.nl>. | |
# Modified for Debian |
from __future__ import print_function, unicode_literals, division, absolute_import | |
import sys | |
from zc.lockfile import LockFile, LockError | |
lockfile_name = '/tmp/foo-bar.txt' | |
try: | |
lock = LockFile(lockfile_name) | |
except LockError: |
I hereby claim:
To claim this, I am signing this object:
This talk will cover JavaScript, the DOM, and jQuery as three separate subjects. Why? Because they are all interrelated.
" Transparent editing of gpg encrypted files. | |
augroup encrypted | |
au! | |
" First make sure nothing is written to ~/.viminfo while editing | |
" an encrypted file. | |
autocmd BufReadPre,FileReadPre *.gpg set viminfo= | |
" We don't want a swap file, as it writes unencrypted data to disk | |
autocmd BufReadPre,FileReadPre *.gpg set noswapfile | |
" Switch to binary mode to read the encrypted file | |
autocmd BufReadPre,FileReadPre *.gpg set bin |