duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
| # 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 |
| #!/usr/bin/env ruby | |
| require 'tk' | |
| require 'tkextlib/tile' | |
| require 'tkextlib/bwidget' | |
| require 'cups' | |
| $dirname = TkVariable.new | |
| root = TkRoot.new {title "Print Folder"} |
| # 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 |
| background do | |
| set_omniauth() | |
| click_link_or_button 'Sign up with Facebook' | |
| end |
| #!/usr/bin/env ruby | |
| ## | |
| # Creates a PNG file from the 1st page of each PDF in a given directory | |
| require 'mkmf' | |
| stop = Proc.new { |msg| puts "\nFailure#{msg}"; exit 1 } | |
| ARGV[0].nil? ? stop.call(': Provide directory of PDF files as first argument') : Dir.chdir(ARGV[0]) | |
| %w{gs convert}.each do |cmd| |
| # Testing tasks | |
| namespace :test do | |
| desc 'Runs ruby or jq syntax check on roles' | |
| task :roles do | |
| puts '===== Running ruby syntax check on roles' | |
| Dir.foreach('roles/') do |file| | |
| if file =~ /.rb$/ | |
| sh "ruby -c roles/#{file}" | |
| elsif file =~ /.json$/ |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "Stmt1416260474000", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:CreateBucket", | |
| "s3:GetLifecycleConfiguration", | |
| "s3:ListBucket", |
| #cloud-config | |
| package_upgrade: true | |
| packages: | |
| - zsh | |
| - tmux | |
| - nmap | |
| - curl | |
| - wget | |
| - git | |
| - htop |