Skip to content

Instantly share code, notes, and snippets.

{"her":16,"has":19,"kept":13,"sort":16,"top":12,"per":14,"spot":17,"hat":17,"port":17,"hut":24,"trap":12,"halt":17,"pub":11,"pet":17,"harp":12,"rub":17,"pat":13,"raft":20,"trot":21,"rat":13,"tap":17,"rug":10,"was":11,"part":25,"put":21,"war":19,"step":19,"hot":23,"soft":17,"stop":16,"hurt":20,"salt":10,"wet":17,"hers":15,"web":17,"said":18,"world":12,"head":16,"tell":16,"heart":14,"told":11,"words":9,"word":12,"says":16,"held":16,"horse":9,"steps":14,"heads":12,"spread":9,"tells":11,"stars":16,"rest":12,"past":18,"west":12,"cast":14,"costs":12,"set":9,"course":16,"hard":10,"pass":15,"parts":13,"worse":9,"start":11,"cost":16,"trust":10,"test":12,"stove":13,"hold":15,"hearts":10,"store":12,"staff":18,"Scott":19,"star":20,"stuff":12,"prove":13,"rests":8,"started":5,"proved":9,"saved":12,"pressed":7,"helped":6,"stepped":8,"waves":8,"rolled":12,"passed":7,"horses":10,"stopped":13,"pulled":14,"troubled":8,"rested":10,"parted":6,"trusted":8,"wrapped":14,"waved":8,"stores":8,"robbed":8,"twelve":10,"wolf":16,"wolves":
package sqlmockthing
import (
"database/sql"
"log"
"math/rand"
"sync"
"time"
)
package main
import (
"github.com/gorilla/rpc/v2"
"github.com/gorilla/rpc/v2/json"
"log"
"net/http"
)
type MathArgs struct {
import argparse
def get_args():
parser = argparse.ArgumentParser(
description='command line lookup for django objects')
parser.add_argument('query')
parser.add_argument('-e, --exact')
parser.add_argument('-v, --version')
parser.add_argument('-i, --index-only')
@nicwest
nicwest / workman.vim
Last active August 29, 2015 14:16 — forked from MattWoelk/workman.vim
"A blatant workman ripoff of bmx 007's beautiful colemak version called 'colqer' http://www.vim.org/scripts/script.php?script_id=2865 It makes vim so that you can insert and Ex mode in the workman keyboard layout, but can do the rest in qwerty.
"usage: put it in ~/.vim/plugin/ as workman.vim
"press \; in normal mode to activate/deactivate it.
"Keyboard is qwerty
" we want workman in insert mode
function IMapColemak()
if s:imap_colemak == 0
noremap! q q
noremap! w d
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.synced_folder ".", "/django-things"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
@nicwest
nicwest / indj
Last active August 29, 2015 14:15
#!/bin/python
import json
import sys
import difflib
import os
import argparse
BASEDIR = os.path.dirname(os.path.realpath(__file__))
if __name__ == "__main__":
import jedi
import fnmatch
import os
import json
DIRNAME = 'django-1.7.4/django'
def get_filepaths():
filepaths = []
" vim: set ft=vim ts=2 sw=2 tw=78 et :
" vim:fdm=marker
set nocompatible
filetype plugin indent on
" Config: {{{1
let g:nicwest_remote = 1
let g:nicwest_os = 'linux'
" vim: set ft=vim ts=2 sw=2 tw=78 et :
" vim:fdm=marker
set nocompatible
filetype plugin indent on
" Config: {{{1
let g:nicwest_remote = 1
let g:nicwest_os = 'linux'