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
=begin | |
This is courtesy of: | |
http://www.nearinfinity.com/blogs/chris_rohr/configuring_webrick_to_use_ssl.html | |
This is ONLY for rails3 and does not work with earlier versions. | |
=end | |
# All you have to do to get WEBrick running in SSL is modify the script/rails file and add the following lines (above the APP_PATH variable declaration): | |
# Please modify the :SSLPrivateKey and :SSLCertificate to point at the right location. |
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 'cgi' | |
require 'uri' | |
require 'net/http' | |
require 'open-uri' | |
require 'nokogiri' | |
puts "Please copy/paste the MLS link provided by your realtor:" | |
url = gets().chomp | |
uri = URI(url) |
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
//Load from the dictionary of colors. | |
NSString *key; | |
for (key in colors) { | |
//Do something with the key | |
NSArray * a = [colors valueForKey:key]; | |
} |
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
mBSpecs = {}; | |
mBSpecs.panel = CreateFrame( "Frame", "mBindingSpecs", UIParent ); | |
-- Register in the Interface Addon Options GUI | |
-- Set the name for the Category for the Options Panel | |
mBSpecs.panel.name = "mBindingSpecs"; | |
--mBSPecs.parent = "mBindings"; | |
-- Add the panel to the Interface Options | |
InterfaceOptions_AddCategory(mBSpecs.panel); |
NewerOlder