Skip to content

Instantly share code, notes, and snippets.

View xtat's full-sized avatar

Todd Troxell xtat

View GitHub Profile
dfs0:~# hadoop dfsadmin -report
Total raw bytes: 8860581789696 (8.06 TB)
Remaining raw bytes: 8211752827200 (7.47 TB)
Used raw bytes: 30350172698 (28.27 GB)
% used: 0.34%
Total effective bytes: 0 (0 KB)
Effective replication multiplier: Infinity
-------------------------------------------------
Datanodes available: 3
dfs0:~$ hadoop dfsadmin -report
Total raw bytes: 8860581789696 (8.06 TB)
Remaining raw bytes: 8240432112738 (7.49 TB)
Used raw bytes: 221184 (216 KB)
% used: 0%
Total effective bytes: 0 (0 KB)
Effective replication multiplier: Infinity
-------------------------------------------------
Datanodes available: 3
#!/usr/bin/python
from tweetstream import ReconnectingTweetStream
import pprint
import os
USER = "your user"
PASSWD = "your password"
FOXPATH = "~/firefox3.5/firefox/firefox %s"
E 3g2 3GP2 format
E 3gp 3GP format
D 4xm 4X Technologies format
D IFF IFF format
D ISS Funcom ISS format
D MTV MTV format
DE RoQ raw id RoQ format
D aac raw ADTS AAC
DE ac3 raw AC-3
E adts ADTS AAC
x = 1280
y = 720
if hd is on
if video is 16:9
if x > 1280 or y > 720:
scale to 1280x720
else (not 16:9)
scale to 720:x or y:1280 (which is larger)
lolz% ./configure
Welcome to Notmuch, a system for indexing, searching and tagging your email.
We hope that the process of building and installing notmuch is quick
and smooth so that you can soon be reading and processing your email
more efficiently than ever.
If anything goes wrong in the configure process, you can override any
decisions it makes by manually editing the Makefile.config file that
it creates. Also please do as much as you can to figure out what could
Image: egenera_logo.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 64x64+0+0
Resolution: 5.688x5.688
Print size: 11.2518x11.2518
Units: PixelsPerInch
Type: ColorSeparation
Endianess: Undefined
Colorspace: CMYK
51 /tmp % exiftool egenera_logo.jpg 2012-02-08 16:51:20 xtat pts/16
ExifTool Version Number : 8.15
File Name : egenera_logo.jpg
Directory : .
File Size : 559 kB
File Modification Date/Time : 2012:02:08 16:28:52-05:00
File Permissions : rw-r--r--
File Type : JPEG
MIME Type : image/jpeg
Exif Byte Order : Big-endian (Motorola, MM)
@xtat
xtat / gist:2420976
Created April 19, 2012 13:27
derpcast
My traceroute [v0.75]
katana (0.0.0.0) Thu Apr 19 09:27:02 2012
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 172.16.1.1 0.0% 50 2.5 26.6 0.9 244.9 50.9
2. 50.131.248.1 0.0% 50 20.7 56.4 16.4 239.4 54.4
3. te-7-3-ur01.sffolsom.ca.sfba.comcast.net 0.0% 50 20.7 35.3 10.5 182.8 35.2
4. te-1-2-0-0-ar01.sfsutro.ca.sfba.comcast.net 0.0% 50 23.9 34.5 15.4 195.8 28.7
5. pos-3-0-0-0-cr01.sanjose.ca.ibone.comcast.net 0.0% 49 54.9 34.3 16.3 220.0 31.4