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
create table `fizzbuzz` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
primary key (`id`) | |
) auto_increment=1; | |
create procedure insertNumbers(max int) | |
begin | |
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
Show hidden characters
{ | |
"check_for_bundler": true, | |
"check_for_rbenv": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"detect_indentation": false, | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*.a", | |
"*.class", |
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
[ | |
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"} | |
] |
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 sh | |
# Usage: ./heroku_dupe_collab.sh source-env target-env | |
for arg in $(heroku sharing -a $1 | grep -v "===" | awk '{print $1}') | |
do | |
heroku sharing:add $arg -a $2 | |
done |
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[lang="en"] | |
head | |
meta[charset="utf-8"] | |
meta[name="viewport" content="width=device-width, initial-scale=1.0"] | |
title = content_for?(:title) ? yield(:title) : "CHANGEME" | |
= stylesheet_link_tag "application" | |
= javascript_include_tag "vendor/modernizr" | |
= csrf_meta_tags | |
body |
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
# USAGE: | |
# gem install rails | |
# gem install attr_encrypted | |
# edit mysql connection parameters | |
# edit attr_encrypted line and update PUT KEY HERE | |
require "rubygems" | |
require "active_record" | |
require "attr_encrypted" |
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
/*! | |
Holder - client side image placeholders | |
Version 2.4.0+bxlim | |
© 2014 Ivan Malopinsky - http://imsky.co | |
Site: http://imsky.github.io/holder | |
Issues: https://github.com/imsky/holder/issues | |
License: http://opensource.org/licenses/MIT |
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
<!-- Main jumbotron for a primary marketing message or call to action --> | |
<div class="jumbotron"> | |
<h1>Hello, world!</h1> | |
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p> | |
<p><a href="#" class="btn btn-primary btn-lg" role="button">Learn more »</a></p> | |
</div> | |
<h1>Buttons</h1> | |
<p> |
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[lang="en"] | |
head | |
meta[charset="utf-8"] | |
meta[name="viewport" content="width=device-width, initial-scale=1.0"] | |
title = content_for?(:title) ? yield(:title) : "changeme" | |
= stylesheet_link_tag "application" | |
= csrf_meta_tags | |
body | |
.container |
OlderNewer