Skip to content

Instantly share code, notes, and snippets.

@wwgist
wwgist / settings.py
Created February 17, 2013 14:32
DJANGO: settings
# -*- coding: utf-8 -*-
# Django settings for project PROJECT.
import os
# relative project path
rel = lambda *x: os.path.join(os.path.dirname(os.path.abspath(__file__)), *x)
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@wwgist
wwgist / bashrc_section.txt
Created February 12, 2013 10:42
BASHRC: GIT aliases
# GIT aliases
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
@wwgist
wwgist / .bash_profile
Last active October 12, 2015 02:37 — forked from bcardarella/.bash_profile
GIT: Autocompletion (extends .bashrc)
source ~/.git-completion.sh
alias gco='git co'
alias gci='git ci'
alias grb='git rb'
@wwgist
wwgist / gist:3918421
Created October 19, 2012 14:13
HTML: Starting Template
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<script src="https://ajax.google.leapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>