I hereby claim:
- I am pc on github.
- I am pc (https://keybase.io/pc) on keybase.
- I have a public key whose fingerprint is E25E EC3B C890 609E 69DB B031 5E8C 19BF 5989 B94E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| EYCSVParse[data_]:=Cases[ | |
| {DateList[#[[1]]],#[[2]],ToExpression[#[[4]]]}&/@Drop[Drop[data,1],-3], | |
| {_,_String,_Real} | |
| ] | |
| EYScatterSalesByDay[data_]:=DateListPlot[ | |
| {#[[1,1]],Total[#[[3]]&/@#]} & /@ | |
| Gather[data,#[[1]]==#2[[1]]&] | |
| ] |
| #!/bin/zsh | |
| mkdir -p $HOME/Library/LaunchAgents | |
| dir="$HOME/Library/Watchpics" | |
| beep="/System/Library/PrivateFrameworks/ScreenReader.framework/Versions/A/Resources/Sounds/Ellipsis.aiff" | |
| cat > $HOME/Library/LaunchAgents/watchpics.plist <<EOF | |
| <?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>Disabled</key> |
| require 'digest/md5' | |
| offsets = { | |
| '15a7dcbffe207eca34a72cf632428c32' => 0x4ee480, | |
| '72e779fe7733230c2c74e1a7db190390' => 0x4ee456 | |
| } | |
| Safari = "/Applications/Safari.app/Contents/MacOS/Safari" | |
| Safari_old = Safari + ".old" |
| import google | |
| import time, csv, urllib, os | |
| google.LICENSE_KEY = 'YOURKEY' | |
| # Same usage: python search.py wp.conf | |
| # And wp.conf should look like: | |
| # en.wikipedia.org | |
| # -- | |
| # foo |