Skip to content

Instantly share code, notes, and snippets.

View dacook's full-sized avatar

David Cook dacook

  • Melbourne, Australia
View GitHub Profile
@dacook
dacook / .gitignore
Last active January 29, 2021 02:51 — forked from Jammizzle/export_multi_repo_issues_to_csv.py
Export Issues from Github repo to CSV (API v3 and ZenHub API)
config.ini
*.csv
##
# Creates an alias called "git hist" that outputs a nicely formatted git log.
# Usage is just like "git log"
# Examples:
# git hist
# git hist -5
# git hist <branch_name>
# git hist <tag_name> -10
##
git config --global alias.hist "log --pretty=format:'%C(yellow)%ad%C(reset) %C(green)%h%C(reset) %C(red)%an%C(reset): %s %C(blue)%d%C(reset)' --graph --date=short"
[
{
"args": {
"setting": "tab_size",
"value": 4
},
"command": "set_setting"
},
{
"args":
@dacook
dacook / database.yml
Last active December 20, 2015 03:59 — forked from hatboysam/database.yml
development:
adapter: postgresql
database: development
username: <%= ENV['PG_USER'] %>
password: <%= ENV['PG_PASS'] %>
host: localhost