Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jgibbon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pankajp /
Last active Aug 27, 2019
Simple Python HTTP Server with multi-threading and partial-content support
#! /usr/bin/env python
# Standard library imports.
from SocketServer import ThreadingMixIn
import BaseHTTPServer
import SimpleHTTPServer
import sys
import json
import os
from os.path import (join, exists, dirname, abspath, isabs, sep, walk, splitext,
BoldBigflank /
Last active Oct 20, 2017
Convert an image of a map into its generated tile-set.Command line args: tileWidth, tileHeight, fileexample:python 16 16 map.png
# Filename :
# Authors : Alex Swan, Georg Muntingh and Bjorn Lindeijer
# Version : 1.3
# Date : June 17, 2013
# Copyright : Public Domain
import os, sys, networkx
from PIL import Image
class TileMap:
mwunsch / emojiToImage.js
Created Dec 16, 2012
Replace emoji characters in a string with an image of said emoji.
View emojiToImage.js
// (c) 2012 Mark Wunsch
// MIT license.
if (!String.fromCodePoint) {
* ES6 Unicode Shims 0.1
* (c) 2012 Steven Levithan <>
* MIT License
String.fromCodePoint = function fromCodePoint () {
joewest / app.js
Created Dec 14, 2011
ember.js login form
View app.js
App = Ember.Application.create({});
App.loginController = Ember.Object.create({
// do login stuff
App.LoginFormView = Ember.View.extend({
login: null,
password: null,
You can’t perform that action at this time.