Skip to content

Instantly share code, notes, and snippets.

View livibetter's full-sized avatar

Yu-Jie Lin livibetter

View GitHub Profile
@livibetter
livibetter / paper.py
Last active December 27, 2015 08:49 — forked from bradmontgomery/paper.py
#!/usr/bin/env python
"""
Folding paper in half 50 times is 3/4 of the distance from earth to sun
From:
http://www.quora.com/What-are-some-of-the-most-mind-blowing-facts#answer_526501
Thickness of a sheet of paper: 0.1 mm (~0.004 inches)
@livibetter
livibetter / punchcard.awk
Last active June 29, 2021 22:07 — forked from x-way/punchcard.awk
ASCII 'punchcard' graph for git log or list of Unix timestamp
#!/usr/bin/awk -f
#
# punchcard.awk - ASCII 'punchcard' graph for git log or list of Unix timestamp
#
# Written in September 2011 by Andreas Jaggi <andreas.jaggi@waterwave.ch>
# https://gist.github.com/x-way/1225770
#
# Modified by Yu-Jie Lin
# https://gist.github.com/livibetter/5733726
#
@livibetter
livibetter / README.mkd
Created June 15, 2012 00:06 — forked from Goles/cliclock.sh
Command-line script for displaying world clocks, allows zonefiles or zone names inputs.

cliclock.sh

Command-line script for displaying world clocks, allows zonefiles or zone names inputs.

Forked from Gist, which was from an Stackoverflow answer.

Heavily modified by Yu-Jie Lin.