Skip to content

Instantly share code, notes, and snippets.

A means for warming or re-heating a potable liquid with a disposable polymer sachet. Package contains two constituent compounds separated by a thin, brittle, internal membrane. The user combines these two substances by bending the internal barrier until broken, the mixing the compounds which then undergo an anaerobic exothermic reaction. The pack is made out of a mildly conductive material that allows heat to propagate into the surrounding beverage. Furthermore, package is made from a food-safe polymer that is non-toxic to humans.
References Essential to this disclosure:
US20010050531A1,US20040109481A1,US6956322B2
General references common to this field:
Important PatentsUS7119487B2,US20060076566A1,EP1126526A2,CN1316810A,CN1779973A,JP3486900B2,JP2001230502A,US7528540B2,CN100395927C,CN100423262C,KR20010082662A,EP1126526A3,US20060246612A1,WO2006118623A1,US7446345B2,US20090029493A1,DE112006001084T5,US7611917B2,JP2008539585A,JP2012138626A,JP5415756B2,TWI437723B,JP5603366B2,TW200638563A,US6682331B1,TWI271878B,TW
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>Homebrew Auto-Update</string>
<key>LingonWhat</key>
<string>/usr/local/bin/brewup</string>
<key>ProgramArguments</key>
<array>
@majascules
majascules / brewup
Last active August 23, 2016 15:14
#!/bin/bash
## For keeping Homebrew up-to-date.
## Place in /usr/local/bin/ as a "brewup."
## Use launchd to run this script on the regular (try Lignon 3 if you're not familiar with launchd).
## Assumes you have homebrew installed. Assumes you're using a contemporary version of macOS.
## Borrows from Mike Bradshaw (github:bmike) http://apple.stackexchange.com/questions/206465/auto-updating-homebrew
## Borrows from Jason Cooper (github:boogah) https://gist.github.com/boogah/cdbbd337b0b447175061
brew=/usr/local/bin/brew
#! /bin/bash
for i in *.csv; do
iconv -c -f ascii -t utf8 "$i" > "$i.new" &&
mv -f "$i.new" "$i"
done
csvstack --filenames *.csv >> ../master.csv
import csv
import os
import sys
import time
#Setup Timer Variables
start_time=time.time()
end_time=0
#Setup Counter Variables
@majascules
majascules / gist:f0b29c0062a7874455a4
Last active November 13, 2015 17:19
Change Rando, Hobo Encodings to Tidy UTF8 encodings.
iconv -c -f ascii -t utf-8 2015_Oct.csv > converted.csv
@majascules
majascules / gist:d21786759ed43ec3a0ee
Created February 26, 2015 18:38
Installing csvkit with Yosimite or higher (OSX 10.10)
#!/bin/bash
#
#Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#
#Install Python
brew install python
#
#Install CSVKit and check to make sure that it is in your path
pip install csvkit
@majascules
majascules / gist:06ec4dec21803ac4d1cd
Created October 17, 2014 21:36
More Robust (Slower) CSV Line Counts (to File)
#! /bin/bash
for i in *.csv; do
echo $i >> output.txt
echo "," >> output.txt
csvcut -e "latin-1" -c 3 $i | wc -l >> output.txt
done
@majascules
majascules / gist:0e518a08323f4218ed91
Created October 17, 2014 15:07
Put count of lines in files matching pattern on the clipboard
for i in *; do wc -l $i; done | pbcopy
wget -e robots=off -rH -nd -A pdf --wait 1 --limit-rate=2m -U "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2)" --trust-server-names --domains=a,b,c,...n http://www.xyz.com
wget
-e robots=off/on; (dis)regard robots.txt
-r; Recurse (5 levels by default)
-H; Span domains should be used with --domains to prevent undesired (!) recursion
-nD Do not create directories locally; i.e. dump evereything into one folder
-A pattern; only d/l files that match the pattern
--wait; prevent from getting blacklisted or swamping server by waiting n seconds between actions
--limit-rate=N(k/m); use k for kilobyes and m for megabytes