This file contains hidden or 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
Hi Bob, | |
Just wanted to inform you that we have not yet received payment of | |
invoice ####-##. | |
I'm sure you must have mistakenly overlooked this. I've included | |
a copy of the invoice for your convenience. | |
If payment has already been sent, please disregard this email. Do | |
not hesitate to contact me if you have any questions. |
This file contains hidden or 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
Can you please answer the following questions so we can assess the project, | |
and judge if we would be a good match? | |
1. Is this a new project, or is this for an existing website or application? | |
- This is a project for a completely new site or application | |
- This is a project to update an existing site or application | |
2. Which of the following areas do you need help with? |
This file contains hidden or 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 href = "http://www.domain.com"; | |
ga('send', 'event', { | |
'eventCategory' : 'myCategory', | |
'eventAction' : 'myAction', | |
'eventLabel' : 'myLabel', | |
'eventValue' : 'myValue', | |
'hitCallback' : function () { | |
document.location = href; | |
} |
This file contains hidden or 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 bash | |
sudo rm -rf ~/chef | |
mkdir ~/chef | |
cd ~/chef | |
chef_binary=/usr/local/bin/chef-solo | |
# Are we on a vanilla system? | |
if ! test -f "$chef_binary"; then | |
export DEBIAN_FRONTEND=noninteractive | |
# Upgrade headlessly (this is only safe-ish on vanilla systems) |
This file contains hidden or 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
$("form").on('submit', function(e) { | |
var form = this; | |
if (_gaq) { | |
e.preventDefault(); | |
_gaq.push(['_trackEvent', 'my category', 'my action']); | |
setTimeout(function() { form.submit(); }, 100); | |
return false; | |
} |
This file contains hidden or 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
$("form").on('submit', function(e) { | |
if (_gaq) | |
_gaq.push(['_trackEvent', 'my category', 'my action']); | |
return true; | |
}); |
This file contains hidden or 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
geoPhoto.initialize({ | |
container: 'map', | |
filter: '', | |
geolocation: true, | |
latitude: 37.7749295, | |
longitude: -122.4194155, | |
zoom: 8, | |
maxSearchResults: 100 | |
}); | |
/* Other initialization parameters |
This file contains hidden or 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
if (navigator && navigator.userAgent && navigator.userAgent.indexOf('Chrome') != -1) { | |
var isInstalled = window.chrome && window.chrome.app && window.chrome.app.isInstalled; | |
var isCancelled = document.cookie.indexOf(cookie + "=true") >= 0; | |
(...) | |
} |
This file contains hidden or 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() { | |
// Configuration Parameters | |
var message_html = "<App> is now available in the Chrome Web Store" | |
// Webstore install page URL | |
var app_install_url = "https://chrome.google.com/webstore/detail/lnempicjilmahngopecohbcbldlijkib"; | |
// 24x24 App icon | |
var app_icon = ""; | |
var cookie = "_webstore_preference"; | |
// URL for stylesheet | |
var stylesheet_url = "chrome-notification.css"; |