Skip to content

Instantly share code, notes, and snippets.

Avatar

Rashaad Essop skopp

View GitHub Profile
View gem_list.sh
$ gem list
*** LOCAL GEMS ***
actionpack (3.2.8)
activemodel (3.2.8)
activesupport (3.2.8)
addressable (2.2.8)
bigdecimal (1.2.0)
builder (3.0.4)
View Python_test2.py
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)
@skopp
skopp / serialize.pl
Created Sep 1, 2013
yaml serialize perl
View serialize.pl
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
use Benchmark::Serialize qw( cmpthese );
my @benchmark = (); # package names of benchmarks to run
my $iterations = -1; # integer
@skopp
skopp / syck.pm
Created Sep 1, 2013
why the lucky stiff - syck
View syck.pm
package JSON::Syck;
use strict;
use YAML::Syck ();
$JSON::Syck::VERSION = '0.13';
*Load = \&YAML::Syck::LoadJSON;
*Dump = \&YAML::Syck::DumpJSON;
$JSON::Syck::ImplicitTyping = 1;
View gist:6344668

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

View tinyc.c
/* file: "tinyc.c" */
/* Copyright (C) 2001 by Marc Feeley, All Rights Reserved. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* This is a compiler for the Tiny-C language. Tiny-C is a
View README.md

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.

You can’t perform that action at this time.