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

Gist Clients

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

Editor Support

@spartanroc
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
flags / bresenhamalgorithm.py
Created Aug 8, 2011
Bresenham's line algorithm in Python
View bresenhamalgorithm.py
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'
View table2rst.py
'''read a csv file representing a table and write a restructured text simple
table'''
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
matthewmccullough / Writing Tools Writeup.md
Created Jan 13, 2012
How To Write A Technical Book (One Man's Modest Suggestions)
View Writing Tools Writeup.md
@mojavelinux
mojavelinux / Writing Tools Writeup.markdown
Created Jan 30, 2012 — forked from matthewmccullough/Writing Tools Writeup.md
How To Write A Technical Book (One Man's Modest Suggestions)
View Writing Tools Writeup.markdown
@joelverhagen
joelverhagen / README.md
Created Feb 12, 2012
Jekyll YouTube Embed Plugin
View README.md

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
ravasthi / _config.yml
Created Feb 15, 2012
Multiple authors on Jekyll
View _config.yml
authors:
hanzou:
name: Hanzou Hattori
display_name: Hanzou
gravatar: c66919cb194f96c696c1da0c47354a6a
email: hanzou@company.com
web: http://company.com
twitter: company
github: hhattori
jorgen:
@ahgittin
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
lotem / default.custom.yaml
Last active Jan 21, 2020
在Rime輸入方案選單中添加五筆、雙拼、粵拼、注音,保留你需要的
View default.custom.yaml
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
schema_list:
- schema: luna_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 朙月拼音 简化字模式
You can’t perform that action at this time.