I hereby claim:
- I am todd on github.
- I am todd (https://keybase.io/todd) on keybase.
- I have a public key whose fingerprint is BF41 F6FA F4EC 9E09 D940 0471 1549 098F 40CD 729D
To claim this, I am signing this object:
| tell application "System Events" | |
| set processList to (name of every process) | |
| end tell | |
| if (processList contains "Spotify") is true then | |
| tell application "Spotify" | |
| set artistName to artist of current track | |
| set trackName to name of current track | |
| set symbol to "◻︎" | |
| set col to "red" |
| #!/bin/sh | |
| input=$(pmset -g batt) | |
| battery_level=$(echo $input | pcregrep -o1 -i "(\d+)%" | bc) | |
| charging=$(echo $input | grep "AC") | |
| color=yellow | |
| bolt="" | |
| if [ "$battery_level" -gt 75 ]; then | |
| color=green |
| package main | |
| /* | |
| #cgo pkg-config: libmpdclient | |
| #include <stdlib.h> | |
| #include <mpd/client.h> | |
| */ | |
| import "C" |
I hereby claim:
To claim this, I am signing this object:
| '.source.ruby': | |
| 'RSpec describe': | |
| 'prefix': 'describe' | |
| 'body': 'describe "${1:class_or_method}" do\n $0\nend' | |
| 'RSpec context': | |
| 'prefix': 'context' | |
| 'body': 'context "$1" do\n $0\nend' | |
| 'RSpec expect': |
| $("#multipage").parsley | |
| validators: | |
| state: (val)-> | |
| val.toUpperCase() in [ | |
| 'AK','AL','AR','AS','AZ','CA','CO','CT','DC','DE','FL','GA','GU','HI', | |
| 'IA','ID','IL','IN','KS','KY','LA','MA','MD','ME','MH','MI','MN','MO', | |
| 'MS','MT','NC','ND','NE','NH','NJ','NM','NV','NY','OH','OK','OR','PA', | |
| 'PR','PW','RI','SC','SD','TN','TX','UT','VA','VI','VT','WA','WI','WV', | |
| 'WY' | |
| ] |
| { | |
| "font_size": 12.0, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "highlight_line": true, | |
| "translate_tabs_to_spaces": true, | |
| "trim_trailing_white_space_on_save": true, | |
| "scroll_past_end": true, | |
| "spell_check": true, | |
| "show_full_path": true |
| curl https://raw.github.com/gist/3998177/0ac991d732fbfba9f3d8cfd14b861461ef2d9393/2.0.0-preview1 > /tmp/2.0.0-preview1 | |
| rbenv install /tmp/2.0.0-preview1 |
| install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" | |
| install_package "ruby-2.0.0-preview1" "http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-preview1.tar.gz" |
| ''' | |
| This is a Shovel (https://github.com/seomoz/shovel) script | |
| that will create new Jekyll content and automatically | |
| generate the YAML Front Matter boilerplate. | |
| ''' | |
| import datetime | |
| import os.path | |
| import re | |
| import sys |