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> | |
<html> | |
<body> | |
<form> | |
<input type="date" /><br /> | |
<input type="number" min="5" max="15" step="3" required/><br /> | |
<input type="month" /><br /> | |
<input type="email" autofocus /><br /> |
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
/Library/Ruby/Site/1.8/rubygems/dependency.rb:52:in `initialize': Valid types are [:development, :runtime], not nil (ArgumentError) | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:352:in `new' | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:352:in `search' | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:346:in `gems_size' | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:179:in `resolve' | |
from /Library/Ruby/Site/1.8/rubygems/source_index.rb:95:in `sort_by' | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in `each' | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in `sort_by' | |
from /Users/dougavery/.rvm/gems/ruby-1.9.2-p290@opower/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in `resolve' | |
from /Us |
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
project_type = :rails | |
preferred_syntax = :scss | |
output_style = :expanded | |
http_path = "/" | |
relative_assets = true | |
line_comments = false | |
if Rails.env.development? | |
require 'ruby-growl' |
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
guard 'process', :name => 'shrink-images', :command => 'ruby resize-mobile-images.rb' do | |
watch /^images\/mobileretina\/.+.png/ | |
end |
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
guard 'compass' do | |
watch /^.+(\.s[ac]ss)/ | |
end | |
guard 'process', :name => 'minify-screen-js', :command => 'juicer merge js/all.js -o js/all.min.js --force -s' do | |
watch /^js\/brianregan\/screen.js/ | |
end | |
guard 'process', :name => 'minify-mobile-js', :command => 'juicer merge js/mobile.js -o js/mobile.min.js --force -s' do | |
watch /^js\/brianregan\/mobile.js/ |
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
@mixin mobile-sprite($selector, $image){ | |
#{$selector} { | |
background-image: image-url('mobilenormal/' + $image); | |
} | |
@media only screen and (-webkit-min-device-pixel-ratio: 2){ | |
#{$selector} { | |
$image_path: 'mobilenormal/' + $image; | |
background-image: image-url('mobileretina/' + $image); | |
background-size: image-width($image_path) image-height($image_path); | |
} |
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! ToggleMinimap() | |
if exists("s:isMini") && s:isMini == 0 | |
let s:isMini = 1 | |
else | |
let s:isMini = 0 | |
end | |
if (s:isMini == 0) |
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 'growl_notify' | |
GrowlNotify.config do |config| | |
config.notifications = ["Compass Application"] | |
config.default_notifications = ["Compass Application"] | |
config.application_name = "My Application" | |
end | |
http_path = '/' | |
css_dir = 'public/assets/stylesheets' |
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> | |
<html> | |
<head> | |
<title>Tracking Window Size</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; |
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
// tracking page title and url | |
'a' : ['_trackEvent', 'foo', document.title, window.location.url] | |
// tracking a concatenated string | |
'a' : ['_trackEvent', 'foo', document.title + ' page', 'bar'] | |
// tracking a non-interaction event - set the sixth value to true | |
'a' : ['_trackEvent', 'foo', 'bar', 'foobar', undefined, true] | |
// tracking a click on a JS interaction |
OlderNewer