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
#!/usr/bin/ruby | |
# gem install things-client --source http://gemcutter.org | |
# gem install broadcast | |
require 'rubygems' | |
require 'things' | |
require 'broadcast' | |
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
sudo dscacheutil -flushcache; dscacheutil -flushcache; |
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
sudo killall nginx; sleep 1; sudo /usr/local/nginx/sbin/nginx; |
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
GRANT ALL PRIVILEGES ON database.* TO 'user'@'host' IDENTIFIED BY 'pass' WITH GRANT OPTION; |
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
#!/usr/bin/ruby | |
# gem install things-client --source http://gemcutter.org | |
# gem install broadcast | |
require 'rubygems' | |
require 'things' | |
require 'broadcast' | |
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
urls = [] | |
urls << "pipejump.com" | |
urls << "www.pipejump.com" | |
urls << "applicake.pipejump.com" | |
urls << "https://pipejump.com" | |
urls << "https://www.pipejump.com" | |
urls << "https://applicake.pipejump.com" | |
urls << "getquotebase.com" | |
urls << "www.getquotebase.com" | |
urls << "applicake.getquotebase.com" |