This file contains hidden or 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
CmdUtils.CreateCommand({ | |
names: ["objectliteral"], | |
icon: "http://www.blogger.com/favicon.ico", | |
description: "Shortcut to my blog.", | |
help: "list, create or search", | |
author: {name: "Jason Ong", email: "[email protected]"}, | |
license: "GPL", | |
homepage: "http://objectliteral.blogspot.com", | |
arguments: [{role: 'object', nountype: noun_arb_text}], | |
urls: { |
This file contains hidden or 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
//General function for retrieving verses | |
function verseQuery ( apiParams, callback) { | |
var apiUrl = "http://www.esvapi.org/v2/rest/passageQuery?"; | |
jQuery.ajax({ | |
type: "GET", | |
url: apiUrl, | |
dataType: "html", | |
data: apiParams, | |
error: function() { |
This file contains hidden or 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
CmdUtils.CreateCommand({ | |
names: ["rails"], | |
icon: "http://rubyonrails.org/favicon.ico", | |
description: "Search rails documentation", | |
help: "Type a rails class or method.", | |
author: {name: "Jason Ong", email: "[email protected]"}, | |
license: "GPL", | |
homepage: "", | |
arguments: [{role: "object", nountype: noun_arb_text, label: "class or method"}], | |
preview: function preview(pblock, args) { |
This file contains hidden or 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
default: -r features/support/env.rb -r features/support/plain.rb -r features/step_definitions features/plain | |
selenium: -r features/support/env.rb -r features/support/enhanced.rb -r features/step_definitions features/enhanced |
This file contains hidden or 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
default: -r features/support/env.rb -r features/support/plain.rb -r features/step_definitions features/plain | |
selenium: -r features/support/env.rb -r features/support/enhanced.rb -r features/step_definitions features/enhanced |
This file contains hidden or 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
class TestMailer | |
def load_settings(site) | |
options = YAML.load_file("#{RAILS_ROOT}/config/test.yml")[RAILS_ENV][site] | |
@@smtp_settings = { | |
:address => options["address"], | |
:port => options["port"], | |
:domain => options["domain"], | |
:authentication => options["authentication"], | |
:user_name => options["user_name"], |
NewerOlder