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
omniauth: | |
providers: | |
saml: | |
# Name for the attribute service. Defaults to Required attributes. | |
attribute_service_name: "Helpy" | |
# The URL at which the SAML assertion should be received. | |
# Should be of the format yourURL/users/auth/saml/callback | |
assertion_consumer_service_url: "http://yourdomain/users/auth/saml/callback" |
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
.flat-main-panel, .main-option { | |
background-color: transparent; | |
color: #fff; | |
} | |
.flat-main-panel { | |
background-image: url('http://your.helpy.io/uploads/your/image/file/3/notebook-1280538_1920.jpg'); | |
background-repeat: no-repeat; | |
background-position: right top; | |
background-attachment: fixed; | |
background-size: 100%; |
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
(function () { | |
var scriptName = "embed.js"; //name of this script, used to get reference to own tag | |
var jQuery; //noconflict reference to jquery | |
var jqueryPath = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"; | |
var jqueryVersion = "1.8.3"; | |
var scriptTag; //reference to the html script tag | |
/******** Get reference to self (scriptTag) *********/ | |
var allScripts = document.getElementsByTagName('script'); |
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
/* | |
* Tracks a video's play progress via Vertster | |
* http://wistia.com/ | |
* | |
* Usage: | |
* | |
* Vswap.trackWistiaVideo(560, 'wistia_123', 63.0); | |
* | |
* Note: This currently only works with a Wistia video embed but could be easily adapted to | |
* work with YouTube or other video players. |
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
namespace :highrise do | |
desc 'import contacs from csv' | |
task :import_contacts => :environment do | |
require 'csv' | |
puts 'Importing CSV file. This may take a while if you have a lot of contacts.' |
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
<!-- Sales Conversion Code --> | |
<script language="JavaScript" type="text/JavaScript"> | |
var code_version = "1"; | |
var pageID = "9999"; // <=== IMPORTANT replace this with your pageID | |
var code_domain = "r.vertster.com"; | |
var rotate_domain = "r.vertster.com"; |
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
<!-- Conversion Code --> | |
<script language="JavaScript" type="text/JavaScript"> | |
var code_version = "1"; | |
var pageID = "9999"; // <=== IMPORTANT replace this with your pageID | |
var code_domain = "r.vertster.com"; | |
var rotate_domain = "r.vertster.com"; |
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 DocSweeper < ActionController::Caching::Sweeper | |
observe Doc | |
def after_save(doc) | |
expire_page_for(doc) | |
end | |
def after_destroy(doc) | |
expire_page_for(doc) |