Skip to content

Instantly share code, notes, and snippets.

sending EM waves to Mars

LM emptymalei

sending EM waves to Mars
Block or report user

Report or block emptymalei

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
defunkt /
Created Apr 18, 2010
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

spartanroc / BibTeXKeyOnly.js
Created May 5, 2011
New Features and Improvements on Zotero's Support of BibTeX Export
View BibTeXKeyOnly.js
"translatorID": "12345",
"label": "BibTeX CiteKey-only Exporter",
"creator": "Simon Kornblith and Richard Karnesky with tweaks by Tan",
"target": "bib",
"minVersion": "2.1.9",
"maxVersion": "",
"priority": 200,
"inRepository": false,
"translatorType": 3,
flags /
Created Aug 8, 2011
Bresenham's line algorithm in Python
class bresenham:
def __init__(self, start, end):
self.start = list(start)
self.end = list(end)
self.path = []
self.steep = abs(self.end[1]-self.start[1]) > abs(self.end[0]-self.start[0])
if self.steep:
print 'Steep'
'''read a csv file representing a table and write a restructured text simple
import sys
import csv
def get_out(out=None):
return a file like object from different kinds of values
None: returns stdout
string: returns open(path)
matthewmccullough / Writing Tools
Created Jan 13, 2012
How To Write A Technical Book (One Man's Modest Suggestions)
View Writing Tools
mojavelinux / Writing Tools Writeup.markdown
Created Jan 30, 2012 — forked from matthewmccullough/Writing Tools
How To Write A Technical Book (One Man's Modest Suggestions)
View Writing Tools Writeup.markdown
joelverhagen /
Created Feb 12, 2012
Jekyll YouTube Embed Plugin

This is a plugin meant for Jekyll.

Example use:

Easily embed a YouTube video. Just drop this file in your _plugins directory.

{% youtube oHg5SJYRHA0 %}
ravasthi / _config.yml
Created Feb 15, 2012
Multiple authors on Jekyll
View _config.yml
name: Hanzou Hattori
display_name: Hanzou
gravatar: c66919cb194f96c696c1da0c47354a6a
twitter: company
github: hhattori
ahgittin / jsonball.rb
Created Feb 23, 2012
a jekyll tag to parse json files and objects for use as maps subsequently
View jsonball.rb
require 'json'
# JSON parser tag, creating map for use in jekyll markdown
# Alex.Heneveld @ Cloudsoft Corp (remove spaces and add the .com)
# Released under APL 2.0
# usage: {% jsonball varname from TYPE PARAM %}
# where TYPE is one of {data,var,file,page}, described below
lotem / default.custom.yaml
Last active Jan 21, 2020
View default.custom.yaml
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
- schema: luna_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 朙月拼音 简化字模式
You can’t perform that action at this time.