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
[profile foo] | |
region=us-east-1 | |
output=json | |
[profile bar] | |
region=us-east-1 | |
output=json | |
; use if no profile specified | |
[default] |
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
[diff] | |
tool = Kaleidoscope | |
[difftool] | |
prompt = false | |
[difftool "Kaleidoscope"] | |
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\" | |
[merge] | |
tool = Kaleidoscope | |
keepBackup = false | |
[mergetool] |
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 gulp = require('gulp'), | |
through = require('through2'), | |
util = require('gulp-util'); | |
gulp.src('client/js/**/*.js') | |
.pipe(through.obj(function(file,enc,cb) { | |
util.log('cwd : '+file.cwd); | |
util.log('base: '+file.base); | |
util.log('path: '+file.path); | |
util.log('\n'); |
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
<!doctype html> | |
<html lang="en-US"> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.5.3/webfont.js"></script> | |
<script> | |
WebFont.load({ | |
custom: { | |
families: ['My Font'] |
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
# colorize the prompt | |
PS1="\u@\h:\[\e[1;34m\]\w\[\e[0m\]\\$ " | |
# colorize `ls` | |
if ls --color > /dev/null 2>&1; then | |
# GNU | |
alias ls='ls --color=auto' | |
else | |
# BSD | |
alias ls='ls -G' |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth |
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/sh | |
hist=$(history | tail -1 | awk '{ print $1 }'); history -d $hist; history -d $(expr $hist - 1); unset hist |
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
#!/usr/bin/env python | |
# Adapted from http://joseph.is/1HPHiOE | |
import sys | |
import inspect | |
from datetime import datetime | |
from syslog import syslog, LOG_ERR | |
from area53 import route53 | |
from boto.route53.exception import DNSServerError |