Moved to vmitchell85/wallpapers
This file contains hidden or 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
import httplib, urllib, sys | |
apiKey = sys.argv[1] | |
userKey = sys.argv[2] | |
priority = sys.argv[3] | |
title = sys.argv[4] | |
msg = '' | |
for count, arg in enumerate(sys.argv): |
This file contains hidden or 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
c:\python27\python "C:\Program Files (x86)\PRTG Network Monitor\Notifications\EXE\pushoverNot.py" %* |
This file contains hidden or 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
statesProvinces = { | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"BC": "British Columbia", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", |
This file contains hidden or 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
US_States_French = { | |
"AL" : "Alabama", | |
"AK" : "Alaska", | |
"AZ" : "Arizona", | |
"AR" : "Arkansas", | |
"CA" : "Californie", | |
"NC" : "Caroline du Nord", | |
"SC" : "Caroline du Sud", | |
"CO" : "Colorado", | |
"CT" : "Connecticut", |
This file contains hidden or 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
CA_Provinces_French = { | |
"AB" : "Alberta", | |
"BC" : "Colombie-Britannique", | |
"PE" : "l'île du Prince-Édouard", | |
"MB" : "Manitoba", | |
"NT" : "(territoires du) Nord-Ouest", | |
"NB" : "Nouveau-Brunswick", | |
"NS" : "Nouvelle-Écosse", | |
"NU" : "Nunavut", | |
"ON" : "Ontario", |
This file contains hidden or 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
hsp(){ | |
cd "/c/Users/vlm/Homestead" | |
vagrant provision | |
} | |
hsadd(){ | |
curfolder=${PWD##*/} | |
echo "192.168.10.10 ${curfolder}.dev" >> "/c/Windows/System32/drivers/etc/hosts" | |
sed -i "/sites:/a \ \ \ \ - map: ${curfolder}.dev\r\n\ \ \ \ \ \ to: /home/vagrant/code/${curfolder}/public" "/c/Users/vlm/.homestead/Homestead.yaml" | |
sed -i "/databases:/a \ \ \ \ - ${curfolder}" "/c/Users/vlm/.homestead/Homestead.yaml" |
This file contains hidden or 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
hs(){ | |
cd "/c/Users/vlm/Homestead" | |
vagrant up | |
vagrant ssh | |
} | |
hsp(){ | |
cd "/c/Users/vlm/Homestead" | |
vagrant provision | |
} |
This file contains hidden or 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
tell application "System Events" to tell process "Jump Desktop" | |
activate | |
click menu item "Computers" of menu 1 of menu bar item "Window" of menu bar 1 | |
click menu item "Find" of menu 1 of menu bar item "Edit" of menu bar 1 | |
keystroke "SERVER" | |
keystroke tab using {shift down} | |
keystroke return | |
end tell |
I hereby claim:
- I am vmitchell85 on github.
- I am vmitchell85 (https://keybase.io/vmitchell85) on keybase.
- I have a public key ASCpH2TzP0-9sTr4x784uJcOBwJ86TUag1ySF--oAqFRwAo
To claim this, I am signing this object:
OlderNewer