Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| toSource2 = (data) -> | |
| typ = typeof data | |
| if typ == "number" and isNaN data | |
| "NaN" | |
| else if ["string", "number", "boolean"].indexOf(typ) != -1 | |
| JSON.stringify data | |
| else if typ == "function" | |
| "(#{data.toString()})" | |
| else if data instanceof Array | |
| "[#{data.map(toSource2).join(", ")}]" |
| #!/usr/bin/env node | |
| var fs = require('fs'); | |
| var re = /(..)/g; | |
| var methods = { | |
| with_escape: function(data) { | |
| return escape(data.toString('binary')); | |
| }, | |
| with_loop: function (data) { |
| Google's Closure Compiler | |
| throws up if you give it this. | |
| Just sayin' |
| 7 generations of git://github.com/tbranyen/nodegit.git | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 0~ ## #### | |
| 1~ # ## ### | |
| 2~ ###### | |
| 3~ # # ## # | |
| 4~ # #### | |
| 5~ # # # | |
| 6~ ## | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| module Lolcommits | |
| class Hookz < Plugin | |
| def initialize(runner) | |
| super | |
| self.name = 'hookz' | |
| self.default = true | |
| end | |
| def run |
| Namespace.extend = (src, obj = {}) -> | |
| if typeof obj.init is 'function' | |
| newObj = obj.init | |
| delete obj.init | |
| else | |
| newObj = -> | |
| newObj.prototype = Object.create src.prototype | |
| newObj.prototype.constructor = newObj | |
| for prop of obj |
| # -*- coding: utf-8 -*- | |
| #!/usr/bin/env python | |
| import sys | |
| class Polyomino(object): | |
| def __init__(self, iterable): | |
| self.squares = tuple(sorted(iterable)) | |
| def __repr__(self): |
| C:\home\relsqui\queermajors> ./pickmajor.py | |
| polyamorous music | |
| C:\home\relsqui\queermajors> ./pickmajor.py | |
| androgynous spanish | |
| C:\home\relsqui\queermajors> ./pickmajor.py | |
| genderfluid pre-health | |
| C:\home\relsqui\queermajors> ./pickmajor.py | |
| intersex music composition | |
| C:\home\relsqui\queermajors> ./pickmajor.py | |
| gay chemistry |