- :A #Switch to alternate file (usually the test)
- :Rview the_view #Interface for views
- :Rcontroller the_controller #Interface for controllers
- :Runittest string #Unit tests
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
$(".menu ul li").live('click', function(){ | |
//show the loading bar | |
showLoading(); | |
//load selected section | |
switch(this.id){ | |
case "home": | |
navmenu.load("navmenu.html #zhome", hideLoading); | |
break; | |
case "our-team": | |
navmenu.load("navmenu.html #zour-team", hideLoading); |
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
Pull a remote branch | |
git pull #To learn about the branch | |
git checkout -b newdesign origin/newdesign #To actually pull said branch and check it out |
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
Should use Olsen files or something equilent to know the timezone offsets for different regions. | |
Should not overload Date but be able to convert into it. | |
Should be able to addDays (maybe not...but we need this) |
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
var hasoffers_aff_id = getUrlVars()["aff_id"]; | |
var hasoffers_offer_id = getUrlVars()["offer_id"]; | |
var hasoffers_source = getUrlVars()["source"]; | |
var hasoffers_aff_sub = getUrlVars()["aff_sub"]; | |
var hasoffers_aff_sub2 = getUrlVars()["aff_sub2"]; | |
var hasoffers_aff_sub3 = getUrlVars()["aff_sub3"]; | |
var hasoffers_aff_sub4 = getUrlVars()["aff_sub4"]; | |
var hasoffers_aff_sub5 = getUrlVars()["aff_sub5"]; | |
var hasoffers_aff_ref = getUrlVars()["aff_ref"]; |
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
entity = Entity.find_by uuid: '8bae8fc0-53ce-0135-381b-36241789ce63' | |
publisher = AmazonSnsPublisher.new( | |
Figaro.env.AWS_SNS_BASE_ARN, | |
"wm-entity-master-#{Rails.env}-models" | |
) | |
PublishObject.new(entity, publisher).call |
OlderNewer