Skip to content

Instantly share code, notes, and snippets.

View vecano's full-sized avatar

Vicente Cano vecano

View GitHub Profile
@vecano
vecano / list.md
Created October 5, 2023 03:42 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@vecano
vecano / list.md
Created October 5, 2023 03:42 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@vecano
vecano / quick-postgresql-reference.md
Last active January 3, 2016 19:59
Quick PostgreSQL Reference

Quick PostgreSQL Reference

Shell Commands

Create

createuser <username>

createdb

@vecano
vecano / quick-git-reference.md
Last active January 30, 2024 13:07
Quick Git Reference

Quick Git Reference

Configuring

git config --global user.name "<First Last>"
git config --global user.email <johndoe@example.com>
git config --global core.editor <vim>

git config --global color.ui true

@vecano
vecano / live-commit-graph.sh
Created January 15, 2014 04:56
Display a git repository's commit graph with live updates
#!/usr/bin/env sh
# Display a git repository's commit graph with live updates.
#
# I learned about Ben Hoskings' https://github.com/benhoskings/omglog
# (`gem install omglog`) project while watching PeepCode's "Advanced Git"
# course (now at
# http://pluralsight.com/training/Courses/TableOfContents/advanced-git).
# `omglog` shows the commit graph with live updating as commits are made,
# merged, and branched. It is particularly helpful when run on a secondary