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 BigCoffee = function(selector) { | |
var elements = document.querySelectorAll(selector), | |
index = 0; | |
if (this === window) { | |
return new BigCoffee(selector); | |
} | |
for (; index < elements.length; index++) { | |
this[index] = elements[index]; |
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 Sticky = function(selector, containerSelector) { | |
var element = document.querySelector(selector), | |
containerElement = document.querySelector(containerSelector), | |
elementTop = parseInt(window.getComputedStyle(element, null).marginTop), | |
stickedClass = 'sticked', | |
grabEndClass = 'grab-end', | |
elementStart, containerElementFinish; |
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 TimeAgo = (function() { | |
var self = {}; | |
// Public Methods | |
self.locales = { | |
prefix: '', | |
sufix: 'ago', | |
seconds: 'less than a minute', | |
minute: 'about a minute', |
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 'trello' | |
# Key & Token | |
TRELLO_DEVELOPER_PUBLIC_KEY = '' | |
TRELLO_MEMBER_TOKEN = '' | |
# General | |
BOARD_ID = '' | |
PREFIX = ':clock12: ' |
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 sendPayment() { | |
var sheet, last, prices, person; | |
function getColumnByLastRow(column) { | |
return sheet.getRange(last.row, column).getValue().toString(); | |
} | |
sheet = SpreadsheetApp.getActiveSheet(); | |
last = { |
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 Application = (function(parent, $, window, document, undefined) { | |
'use strict'; | |
var self = parent.module = parent.module || {}; | |
function privateExample() { | |
return false; | |
} | |
self.publicExample = function() { |
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 Dispatcher = (function() { | |
'use strict'; | |
var route, namespaceName, controllerName, controller, actionName, action; | |
function capitalize(string) { | |
return string.charAt(0).toUpperCase() + string.substring(1); | |
} | |
route = $('body').data('route').split('#'); |
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 Template = (function (selector) { | |
'use strict'; | |
function render(data) { | |
var node = this.node; | |
if (data) { | |
for (var variable in data) { | |
node = node.split('{{' + variable + '}}').join(data[variable]); | |
} |
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
<?php | |
// -------------------------------------------------------------------------- // | |
// CONTACT FORM 7 -> MAILCHIMP // | |
// -------------------------------------------------------------------------- // | |
// © 2015 Caio Tarifa. All Rights Reserved. // | |
// -------------------------------------------------------------------------- // | |
function wpcf7_send_to_mailchimp() { |
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
linters: | |
EmptyLineBetweenBlocks: | |
enabled: true | |
ignore_single_line_blocks: false | |
HexLength: | |
enabled: true | |
style: long | |
LeadingZero: |
NewerOlder