Skip to content

Instantly share code, notes, and snippets.


Chris Moyer kopertop

View GitHub Profile
View hover-export.js
// "Zone file import/export" has been *Planned* since 2011
// Here's a brittle approximation of export.
// This is a modified version of the original hover-export.js to allow it to be used by a normal person (non-developer)
// 1. Add the following Bookmarklet to Chrome
// 2. login to your account:
// 3. Go to the domain you want to export
// 4. Click on the HoverDump JS Bookmark
View gist:10877894
### Keybase proof
I hereby claim:
* I am kopertop on github.
* I am cmoyer ( on keybase.
* I have a public key whose fingerprint is E3B5 48DF C07B 68D8 1D16 62EA 8920 F20F 2F20 FBC4
To claim this, I am signing this object:
View .vimrc SQL crap
" SQLUtilities.vim
vmap <silent>sf <Plug>SQLU_Formatter<CR>
kopertop / pingTest
Created Aug 5, 2013
Ping to OnSip servers to see your latency, and report using Blink(1) Control program:
View pingTest
PTIME="`ping -c 1|grep time=|awk '{split($7,a,"="); split(a[2],b,".");print b[1]}'`"
if [ $PTIME -lt 60 ];
kopertop / gist:5111618
Created Mar 7, 2013
Configure boto to use DreamObjects
View gist:5111618
# file: /etc/boto.cfg or ~/.boto
host =
calling_format = boto.s3.connection.OrdinaryCallingFormat
# You can configure your credentials here,
# in a separate config file, or in
# environment variables
access_key_id = MyDHAccessKey
Modified version of as provided by
from math import ceil
import time
import json
import re
import boto
import boto.jsonresponse
kopertop /
Created Apr 18, 2012 — forked from imlucas/
Using Amazon Cloudsearch with Python and Boto
from cloudsearch import connect_cloudsearch, get_document_service
endpoint = 'paste your doc service endpoint here'
service = get_document_service(endpoint=endpoint) # Get a new instance of cloudsearch.DocumentServiceConnection
# Presumably get some users from your db of choice.
users = [
'id': 1,
You can’t perform that action at this time.