Skip to content
View rctay's full-sized avatar

Organizations

@hackerspacesg @nushackers @Healthy-Heads-In-Trucks-Sheds

Block or report rctay

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. sublime-text-buildview sublime-text-buildview Public

    A Sublime Text plugin to show build output in a view.

    Python 66 7

  2. [python] start debugger on exception [python] start debugger on exception
    1
    #
    2
    # original: http://code.activestate.com/recipes/65287/
    3
    #
    4
    
                  
    5
    # place in lib/python2.x/sitecustomize.py
  3. [django] check if db table exists [django] check if db table exists
    1
    """
    2
    Came up with this for satchmo's downloadable product migration, 0001_split.
    3
    """
    4
    def db_table_exists(table, cursor=None):
    5
        try:
  4. satchmo satchmo Public

    Mirror of satchmo's hg repo via hg-git plugin, plus some of my stuff.

    Python 8 2

  5. tornado: chunked handler (RFC2616) tornado: chunked handler (RFC2616)
    1
    [submodule "iostream_callback"]
    2
    	path = iostream_callback
    3
    	url = git://gist.github.com/753987.git
  6. shuffle/randomize playlist/set track... shuffle/randomize playlist/set tracks in Soundcloud Widget eg. https://w.soundcloud.com/player/?url=http://api.soundcloud.com/users/1539950/favorites
    1
    require(["lib/play-manager"], function(a) {
    2
    	// via http://stackoverflow.com/a/6274381
    3
    	//+ Jonas Raoni Soares Silva
    4
    	//@ http://jsfromhell.com/array/shuffle [v1.0]
    5
    	function shuf(o) { for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x); }