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
# Name iTerm2 tabs | |
function nametab { | |
echo -ne "\033]0;"$*"\007"; | |
} |
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
--- | |
- name: add git user | |
user: name={{ git_user }} home={{ git_dir }} generate_ssh_key=yes state=present | |
- name: install apt pacakges | |
apt: pkg={{ item }} state=latest | |
with_items: | |
- git-core | |
- gitolite3 |
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
--- | |
- name: add git user | |
user: name={{ git_user }} home={{ git_dir }} generate_ssh_key=yes state=present | |
- name: install git | |
apt: pkg=git-core state=latest | |
- name: install gitolite | |
apt: pkg=gitolite3 state=latest |
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
disableMapTouch = (map) -> | |
map.scrollWheelZoom.disable() | |
map.dragging.disable() | |
map.touchZoom.disable() | |
map.doubleClickZoom.disable() | |
map.boxZoom.disable() | |
map.keyboard.disable() | |
if map.tap | |
map.tap.disable() |
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
import bottle | |
from beaker.middleware import SessionMiddleware | |
session_opts = { | |
'session.type': 'memory', | |
'session.cookie_expires': 300, | |
'session.auto': True | |
} | |
app = SessionMiddleware(bottle.app(), session_opts) |
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 'livereload' do | |
watch(%r{.+\.(coffee|styl|jade)$}) | |
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
/* | |
html5doctor.com Reset Stylesheet | |
v1.6.1 | |
Last Updated: 2010-09-17 | |
Author: Richard Clark - http://richclarkdesign.com | |
Twitter: @rich_clark | |
*/ | |
html, body, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
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
{ patterns = ( { include = '#block'; } ); | |
repository = { | |
block = { | |
patterns = ( | |
{ include = '#separator'; }, | |
{ include = '#heading'; }, | |
{ include = '#blockquote'; }, | |
{ include = '#lists'; }, | |
{ include = '#raw_block'; }, | |
{ include = '#link-def'; }, |
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
h1 This is my own custom Marquee page | |
ul | |
li page 1 | |
li page 2 | |
li page 3 |
NewerOlder