Skip to content

Instantly share code, notes, and snippets.

View skopp's full-sized avatar

Rashaad Essop skopp

View GitHub Profile
@skopp
skopp / create_repo.py
Created November 28, 2012 04:26 — forked from jkeesh/create_repo.py
Python script to create a remote git repo that checks out the latest commit with a post-receive hook
#
# This script creates a repository and sets it up with a post receive
# hook that checks out the code to the desired directory.
#
# Really nice for setting up an easy way to push code to a remote
# server without lots of overhead.
#
# After running this script simply add a remote locally like
#
# git remote add web ssh://you@server/path/to/repo.git
import re
import glob
import os
import sys
import fnmatch
def ConvertToLLT_19nm_Seal(addr_orig):
my_str1 = addr_orig
my_str1_length = len(my_str1)

Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.

Ruby

@skopp
skopp / README.md
Created August 24, 2013 17:40 — forked from mbostock/.block

Run like so:

node gist-clone-all.js username

You'll want to replace "username" with your own username.

This script clones using the push URL, so you should probably be the owner of the gists. You could also use this to clone someone else's gists, but in that case you may wish to edit the code to use gist_pull_url instead.

// How to use this:
// 1. Go to the desired profile page on coderwall, like http://coderwall.com/marcinbunsch
// 2. Paste this gist in the JS console
//
// You can also probably use this in greasemonkey and dot.js
//
// Also, it was tested in Chrome, Firefox and Safari, it probably will
// not work in IE, but I just don't care about it ;)
//
// UPDATE: Coderwall made changes to the site and I cannot retrieve the achievements, so they are hardcoded, taken from a cached version of the achievements page
God.watch do |w|
w.uid = "git"
w.gid = "git"
w.name = "camo"
w.pid_file = "/data/camo/tmp/camo.pid"
w.interval = 30.seconds
w.env = {
"PORT" => '8080',
"CAMO_KEY" => '0x24FEEDFACEDEADBEEFCAFE'
@skopp
skopp / README.md
Last active December 20, 2015 22:09 — forked from bguthrie/coderwall_badge_markup.html
bl.ocks-ready
@skopp
skopp / README.md
Last active December 20, 2015 22:09 — forked from scottksmith95/index.html

Setup for bl.ocks.org parsing...

@skopp
skopp / skopp.json
Last active December 20, 2015 20:19 — forked from scottksmith95/bit.json
The name's Json. Skopp Json. O_o
{
"name": "Rashaad Essop",
"title": "coder / disk jockey / proet",
"location": "johannesburg, south africa",
"website_link": "http://skopp.skuda.net",
"bio": "http://about.me/skopp ",
"created": "2012-11-06T23:14:47Z",
"updated": "2013-08-08T16:42:55Z",
"views": 1028,
"rank": 160,
@skopp
skopp / DATABASE
Created July 28, 2013 06:15 — forked from FND/DATABASE
# INT = integer
# STR = string
# () = set
# [] = list
# == USERS ==
#
# users = () # usernames -- XXX: use list?
# users
# enum = INT