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
// Optimizely JavaScript API | |
// http://developers.optimizely.com/javascript/ | |
// To opt a visitor out of Optimizely tracking | |
// http://www.example.com/page.html?optimizely_opt_out=true | |
// 1. API Function Calls | |
// http://developers.optimizely.com/javascript/#api-function-calls-2 | |
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
// Mixpanel Cheatsheet | |
// This requires the mixpanel javascript library to be embedded on your site | |
// https://mixpanel.com/help/reference/javascript-full-api-reference | |
// 1. API Methods. | |
mixpanel.init('new token', { your: 'config' }, 'library_name'); // initialize a new instance of the Mixpanel tracking object | |
mixpanel.push(['register', { a: 'b' }]); // push() keeps the standard async-array-push behavior around after the lib is loaded. This is only useful for external integrations that do not wish to rely on our convenience methods (created in the snippet). |
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
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
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
// iMacros Bootstrap - Write your macros with JavaScript. | |
// Be careful, you need to rename and set the extension of your macro to ".js". | |
// 1. Variables Initialization. | |
var variable1, variable2, variable3; | |
macro = ""; |
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
#!/usr/bin/env ruby | |
require "rubygems" | |
require "spidr" | |
require "open-uri" | |
=begin | |
= CSS snowball | |
Rolls through your site, picking up style attributes and making you | |
a new stylesheet. Once you've got your stylesheet, run it through |