This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
['00-00-00', 'XEROX CORPORATION'], | |
['00-00-01', 'XEROX CORPORATION'], | |
['00-00-02', 'XEROX CORPORATION'], | |
['00-00-03', 'XEROX CORPORATION'], | |
['00-00-04', 'XEROX CORPORATION'], | |
['00-00-05', 'XEROX CORPORATION'], | |
['00-00-06', 'XEROX CORPORATION'], | |
['00-00-07', 'XEROX CORPORATION'], | |
['00-00-08', 'XEROX CORPORATION'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Something I discovered way back when... | |
export data in the following pattern: | |
="Need to know",="0123456",="0101010" | |
The combination of the = and the " " cause Excel to store data specifically as text. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in ./A\ B\ C*; do zip -r ~/Desktop/"$i.zip" "$i"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ workon pen | |
$ git clone git://github.com/wardi/urwid.git | |
$ cd urwid | |
$ gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c source/str_util.c -o build/temp.macosx-10.6-universal-2.6/source/str_util.o | |
$ python setup.py build | |
$ python setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . | perl -ne'chomp; next unless -e; $oldname = $_; s/^.+\s+0/0/; next if -e; rename $oldname, $_' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach i (~/Music/iTunes/iTunes*/Mobile*/*.ipa) echo $i; unzip -Cnqj $i "Payload/*/Info.plist" && plutil -convert json Info.plist -o Info.json; jq '.CFBundleURLTypes' Info.json 2>/dev/null; rm -rf Info.{plist,json}; end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"caption": "Reg Replace: Format VTT", | |
"command": "reg_replace", | |
"args": {"replacements": ["remove_timestamps", "remove_numbered_lines","remove_empty_lines","remove_line_endings","remove_WEBVTT_literal","remove_v_tags"] | |
} | |
}, | |
] |