Skip to content

Instantly share code, notes, and snippets.

if Rails.env.production?
PAYPAL_ACCOUNT = '[email protected]'
else
PAYPAL_ACCOUNT = '[email protected]'
ActiveMerchant::Billing::Base.mode = :test
end
/**
* 3D Now In Beta Ribbon
*/
/*@font-face {
font-family: Collegiate;
src: url("Collegiate.ttf");
}*/
.ribbon-holder {
@gaboesquivel
gaboesquivel / gist:3501630
Created August 28, 2012 18:16 — forked from anonymous/gist:2523336
Changing author info
#!/bin/sh
git filter-branch --env-filter '
an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"
if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ]
@gaboesquivel
gaboesquivel / placeholder.js
Created April 2, 2012 23:12 — forked from senko/placeholder.js
HTML input field placeholder handling
/* Hide/show placeholder text in an input field while it's empty
* To use, add data-placheholder="placeholder text" to your fields
* Eg: <input type="text" id="email" value="" data-placeholder="Enter your e-mail">
*/
$('input[data-placeholder]').each(function(){
$(this)
.bind('focus', function() {
if ($(this).val() == $(this).data('placeholder'))
$(this).val('');
})