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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Campaign Monitor Newsletter</title> | |
<style> | |
a:hover { | |
text-decoration: underline !important; |
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
# Get's the current git branch | |
function parse_git_branch | |
{ | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "("${ref#refs/heads/}")" | |
} | |
# Checks to see if there are uncommitted files | |
function git_status | |
{ |
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 () { | |
if (!window.fluid) { | |
alert("This script is meant to be run in Fluid! You should disable it."); | |
return; | |
} | |
window.fluid.dockBadge = ''; | |
setInterval(newNotif, 500); |
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
# Get's the current git branch | |
function parse_git_branch | |
{ | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo -e "▸"${ref#refs/heads/} | |
} | |
# Checks to see if there are uncommitted files | |
function git_status |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# encoding: UTF-8 | |
# NOTE: Removing the Compass-generated hash from Compass-generated sprite file | |
# names so that git history doesn't get jacked up. | |
SPRITE_FILE_NAMES = [] | |
# Rename sprites to remove the Compass-generated hash and move it up 1 directory | |
Rails.application.config.compass.on_sprite_saved do |filename| | |
if File.exists?(filename) |
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
{"window":{"width":1920,"height":1191},"event_log":[{"selector":"document","type":"scroll","scrollTop":15,"scrollLeft":0,"timeStamp":15799.70000003092},{"selector":"document","type":"scroll","scrollTop":26,"scrollLeft":0,"timeStamp":15829.899999951944},{"selector":"document","type":"scroll","scrollTop":43,"scrollLeft":0,"timeStamp":15846.099999906495},{"selector":"document","type":"scroll","scrollTop":52,"scrollLeft":0,"timeStamp":15862.399999924004},{"selector":"document","type":"scroll","scrollTop":73,"scrollLeft":0,"timeStamp":15879.20000002347},{"selector":"document","type":"scroll","scrollTop":90,"scrollLeft":0,"timeStamp":15895.79999999702},{"selector":"document","type":"scroll","scrollTop":136,"scrollLeft":0,"timeStamp":15912.699999926612},{"selector":"document","type":"scroll","scrollTop":161,"scrollLeft":0,"timeStamp":15929.799999982119},{"selector":"document","type":"scroll","scrollTop":206,"scrollLeft":0,"timeStamp":15945.99999993667},{"selector":"document","type":"scroll","scrollTop":232,"scrollLe |
OlderNewer