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
find . -name "*.pyc" -exec rm -rf {} \; |
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
g/^\(.*\)\n\1$/d |
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
.embed-container { | |
max-width: 696px; | |
max-height: 450px; | |
margin: 0 auto; | |
} | |
.embed-container > div { | |
position: relative; | |
padding-bottom: 56.25%; /* 16:9 */ | |
padding-top: 25px; |
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
application: redirector | |
version: redirector | |
api_version: 1 | |
runtime: python27 | |
threadsafe: true | |
libraries: | |
- name: webapp2 | |
version: latest |
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
import webapp2 | |
import mimetypes | |
import os | |
import time | |
from datetime import datetime | |
import base64 | |
_here = os.path.dirname(__file__) | |
USERNAME = 'foo' |
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 els = document.querySelectorAll('.name'); | |
[].forEach.call(els, function(el) { | |
// Do stuff. | |
}); |
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
{ | |
"name": "Project", | |
"private": true, | |
"dependencies": { | |
"angular": "1.3.7", | |
"closure-compiler": "http://dl.google.com/closure-compiler/compiler-latest.zip", | |
"closure-compiler-src": "git://github.com/google/closure-compiler.git", | |
"closure-library": "git://github.com/google/closure-library.git" | |
} | |
} |
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
nosetests --nologcapture --rednose --with-gae --without-sandbox -x -s path.to.test |
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
git config --global push.default current |
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
#!/bin/bash | |
# Note: Run as sudo. | |
locale-gen --no-purge af_ZA.UTF-8 | |
locale-gen --no-purge am_ET.UTF-8 | |
locale-gen --no-purge be_BY.UTF-8 | |
locale-gen --no-purge bg_BG.UTF-8 | |
locale-gen --no-purge ca_ES.UTF-8 | |
locale-gen --no-purge cs_CZ.UTF-8 | |
locale-gen --no-purge da_DK.UTF-8 |