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
set nocompatible | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 | |
" Whitespace stuff |
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
export PATH=/usr/local/bin:$PATH | |
export PATH=/usr/local/share/python:$PATH | |
export PYTHONPATH=/usr/local/lib/python:$PYTHONPATH | |
export EDITOR=mvim | |
alias ls="ls -G" | |
export LSCOLORS=dxfxcxdxbxegedabagacad | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
PS1="\w\$(parse_git_branch) $ " |
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
.fb_access_token | |
.fbconsole.py |
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
; START:ns | |
(ns examples.exploring | |
(:use examples.utils clojure.contrib.str-utils) | |
(:import (java.io File))) | |
; END:ns | |
; START:date | |
(defn date [person-1 person-2 & chaperones] | |
(println person-1 "and" person-2 | |
"went out with" (count chaperones) "chaperones.")) |
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
set nocompatible | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 |
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/perl | |
# | |
# Un-MIME regular message from stdin. | |
# Non-text version saved in directory ~/mail/MIME and proper indication is | |
# left in the dumped message. Text is otherwise dumped and deleted from there. | |
# | |
# Intended to be used with mailagent thanks to the following incantation rule: | |
# | |
# Mime-Version: /^\d/ { SAVE +mime; FEED ~/mail/unmime; RESYNC; REJECT }; | |
# |
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
#!/bin/sh | |
# eps2svg: EPS to SVG vector command line image converter | |
# David Griffith <davidgriffith@acm.org> | |
# Created March 30, 2009 and released into the public domain | |
# The programs pstoedit and skencil are required. | |
EXT="svg" | |
USAGE="usage: eps2svg [-v] input.eps [output.svg]\n -v verbose mode" |
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 | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
#!/bin/bash | |
SNAPID="SNAP" | |
BACKUPDBID="TEMPDB" | |
#config groups | |
SECURITYGROUP="Mysecgrup" | |
PARAMSGROUP="Myparamsgrup" | |
#rds verifying commands |
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
<?php | |
// This is a sample PHP script that demonstrates accepting a POST from the | |
// Unbounce form submission webhook, and then sending an email notification. | |
function stripslashes_deep($value) { | |
$value = is_array($value) ? | |
array_map('stripslashes_deep', $value) : | |
stripslashes($value); | |
return $value; | |
} |
OlderNewer