- GitHub Staff
- https://pwelch.dev
- @pwelch@mastodon.social
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
# This requires you install the command line tools from Amazon, and setup your Amazon credentials appropriately. | |
# - http://aws.amazon.com/developertools/351/ | |
for region (us-east-1 us-west-1 us-west-2) ec2-import-keypair $USER -f ~/.ssh/id_rsa.pub --region $region |
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/env ruby | |
require 'tk' | |
require 'tkextlib/tile' | |
require 'tkextlib/bwidget' | |
require 'cups' | |
$dirname = TkVariable.new | |
root = TkRoot.new {title "Print Folder"} |
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
# Turn DD-WRT wireless radio on for business hours only. Verify wireless interface for your router model. | |
# Place in WebUI > Administration > Management > Cron | |
0 18 * * 1,2,3,4,5 root wl -i eth1 radio off | |
0 6 * * 1,2,3,4,5 root wl -i eth1 radio on |
NewerOlder