A Pen by Kristofer Goss on CodePen.
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
commands: | |
setIdleTimeoutToZero: | |
cwd: "C:\\windows\\system32\\inetsrv" | |
command: "appcmd set apppool /apppool.name:DefaultAppPool /.processModel.idleTimeout:0.00:00:00" | |
setAlwaysRunning: | |
cwd: "C:\\windows\\system32\\inetsrv" | |
command: "appcmd set config /section:applicationPools "/[name='DefaultAppPool'].startMode:AlwaysRunning" | |
setStartMode: | |
cwd: "C:\\windows\\system32\\inetsrv" | |
command: "appcmd set config /section:applicationPools "/[name='DefaultAppPool'].idleTimeoutAction:1" |
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
{"activateable":false,"childRelationships":[{"cascadeDelete":false,"childSObject":"Account","deprecatedAndHidden":false,"field":"Decision_Maker__c","relationshipName":"Accounts__r","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"AccountContactRole","deprecatedAndHidden":false,"field":"ContactId","relationshipName":"AccountContactRoles","restrictedDelete":false},{"cascadeDelete":true,"childSObject":"ActivityHistory","deprecatedAndHidden":false,"field":"WhoId","relationshipName":"ActivityHistories","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"Ambassador__Ambassador__c","deprecatedAndHidden":false,"field":"Ambassador__Contact__c","relationshipName":"Ambassador__Ambassadors__r","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"Ambassador__Commission__c","deprecatedAndHidden":false,"field":"Ambassador__Contact__c","relationshipName":"Ambassador__Commissions__r","restrictedDelete":false},{"cascadeDelete":false,"childSObject":"Ambassador__Commission__c","deprecated |
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
class WeeklyAuditJob < JobBase | |
def self.queue | |
JobBase::JOB_QUEUE_MISC | |
end | |
def initialize | |
@vertical_codes = Vertical.where(requires_payment: true).pluck(:code) | |
end | |
def perform |
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 "rails_helper" | |
RSpec.describe WordPressRegistrationsController, :vcr, type: :controller do | |
# you need a valid vertical code with translations in config/locales here | |
let(:vertical) { FactoryGirl.create(:vertical, :code => "ct") } | |
let(:response_json) { JSON.parse(response.body) } | |
render_views | |
before(:each) do |
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
wget http://download.qt-project.org/official_releases/qt/4.8/4.8.4/qt-everywhere-opensource-src-4.8.4.tar.gz | |
tar xvf qt-everywhere-opensource-src-4.8.4.tar.gz | |
cd qt-everywhere-opensource-src-4.8.4 | |
./configure --prefix=/usr -webkit -debug-and-release -opensource -developer-build -nomake examples -nomake demos -nomake docs -fast | |
# wait for a while... though not as long as with the full build by a long shot | |
make && sudo make install |
-
Fatt Matt's
-
Daddy D's
-
Fox Brothers
-
Heirloom Market BBQ
-
Community Q
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
class WallModuleQuery | |
def initialize(parent, relation = WallModule.scoped) | |
valid_parents = [Client, BrandTemplate, Store] | |
raise ArgumentError unless valid_parents.any? { |p| | |
parent.is_a?(p) | |
} | |
@parent = parent | |
@relation = relation | |
@draft = true | |
@states = ['published', 'enabled'] |