Skip to content

Instantly share code, notes, and snippets.

View figital's full-sized avatar
💭
github status lol

figital figital

💭
github status lol
View GitHub Profile
@figital
figital / cardboard-warrior.txt
Created April 3, 2014 21:53
Top Ten Commercial Casket Models
Top Ten Commercial Casket Models
10. The Dirt-Master
9. Tupper-Tomb
8. Krazy-Kasket from Whammo
7. The Slim Reaper
6. The 19th Hole
5. McCoffin Styrofoam Casket
4. The Comfort-King Velvetliner (endorsed by Paul Anka)
3. Cap'n Crypt
#!/bin/sh
spawn telnet 1.3.3.184 4998
expect "Escape character is '^]'."
send "setstate,1:2,1\r"
expect "setstate,1:2,1"
@figital
figital / gd2-KCR-OAK-demo.json
Created September 29, 2014 17:34
gd2-KCR-OAK-demo.json
{
"game_type": "F",
"double_header_sw": "N",
"away_time": "5:07",
"broadcast": {
"away": {
"tv": "TBS",
"radio": "ESPN Radio"
},
"home": {
@figital
figital / folder-test.json
Last active August 29, 2015 14:09
some test json to play with. attempt to describe recursive folder / contents.
{
"drawer": [
{
"title": "mydrawer"
},
{
"folder": [
{
"thing": "mydrawer",
"url": "http://figital.com"
@figital
figital / mac-and-cheese.txt
Last active August 29, 2015 14:13
most exciting "dummy" text
The exact origin of macaroni and cheese is unknown, though it most likely hails from Northern Europe, with the earliest known recorded recipe being scribbled down in 1769. A staple of American cuisine, the creamy combo made its way to the United States courtesy of Thomas Jefferson, who, while visiting France, became enamored of fashionable pasta dishes served there. He brought back noodle recipes and a pasta machine, since this foodstuff was unavailable in the Colonies. As president, he served macaroni and cheese at an 1802 state dinner.
Kraft Foods introduced its boxed macaroni and cheese in 1937, when America was in the throes of the Great Depression. The product could serve four for 19 cents, and the company sold 8 million boxes of its quick-and-easy macaroni and cheese in a year. With rationing in effect during World War II, the boxed mix continued to gain in popularity; staples such as fresh meat and dairy were in short supply. It's now the standard incarnation of the dish, and along with ramen noodles,
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Year Price
1937 .19
1963 .39
2009 1.50
2015 1.79
@figital
figital / spur.scad
Created April 1, 2015 17:41
OpenSCAD Spur Module
// spur(number, radius, length, width, height);
module spur(n,r,l,w,h) {
for(i=[0:n])
rotate([0,0,i*360/n])
translate([r,0,0])
cube([l,w,h]);
}
@figital
figital / copy-bookmarklet.js
Created April 14, 2015 20:36
Copy Title Bookmarklet
javascript:(function(){javascript:window.prompt("Copy to clipboard: Ctrl+C, Enter",document.title);})();
select
word,
sum(word_count) as num
from
publicdata:samples.shakespeare
where
lower(word) like 'z%'
group by
word
order by
sudo iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE
sudo iptables -A FORWARD -i wlan1 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o wlan1 -j ACCEPT