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
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. | |
# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
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
Public Domain |
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
jQuery(document).on('page:load', runChat); | |
jQuery(document).ready(function($) {runChat();}); | |
/* Turbolinks >= 5.0 | |
jQuery(document).on('turbolinks:load', runChat); | |
*/ | |
// Chat online jivo | |
function runChat(){ | |
$('#jivo-iframe-container, jdiv, [src*="//code-eu1.jivosite"], [href*="//code-eu1.jivosite"]').remove(); |
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
<!-- Sentry.js Config --> | |
<script src="https://js.sentry-cdn.com/{{ENV['SENTRY_PUBLIC_DSN']}}.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
// custom functions to handle errors in JS. | |
function handleRouteError(err) { | |
Sentry.captureException(err); | |
} | |
function errorHandler(error, data, level) { | |
level = level || 'info'; |
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
-# app/admin/email_previews.rb | |
# frozen_string_literal: true | |
ActiveAdmin.register_page 'Email Previews' do | |
menu parent: 'dashboard', priority: 10 | |
content do | |
div 'Select a mailer from the sidebar.' | |
end |
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
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |