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
require 'optparse' | |
options = OptionParser.new("usage: #{$0}") do |opts| | |
opts.on('-f','--file FILE','loads a file') do |file| | |
puts "loading file #{file}" | |
opts.separator "#{file} options:" | |
opts.on('-c','--custom') do | |
puts "custom option defined by file #{file}" | |
end |
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
#!/bin/bash | |
# Download all VMWare Fusion machines from Modern.IE Website to test your Website/Web Application in Microsoft Internet Explorer on Mac OSX. All VM's and other VM's for Windows and Linux and other Virtual Manager's such as VirtualBox can be found at http://modern.ie/ | |
# Don't have cURL or want to learn more, visit http://curl.haxx.se/.. are you really a Developer? First part of that sentence comes from the MS site. | |
read -p "--> Downloading Internet Explorer 6-10 on Windows XP/7/8 Appliances for VMWare Fusion. Large downloads ahead. (Press Enter to continue)." | |
echo "--> Download Internet Explorer 6 on Microsoft Windows XP Appliance for VMWare Fusion." | |
curl --progress-bar -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/VMWare_Fusion/IE6_XP/IE6.XP.For.MacVMware.sfx" | |
echo "--> Download Internet Explorer 8 on Microsoft Windows XP Appliance for VMWare Fusion." |
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
require 'sinatra/base' | |
require 'openssl' | |
require 'webrick' | |
require 'webrick/https' | |
class App1 < Sinatra::Base | |
get '/' do | |
'app1' | |
end | |
end |