Skip to content

Instantly share code, notes, and snippets.

@websymphony
websymphony / postgresql_recursive.sql
Created June 19, 2019 23:32 — forked from dankrause/postgresql_recursive.sql
An example of creating a recursive postgresql query to generate data about parent-child relationships within a single table.
CREATE TABLE test
(
id INTEGER,
parent INTEGER
);
INSERT INTO test (id, parent) VALUES
(1, NULL),
(2, 1),
@websymphony
websymphony / ubuntu_steps
Created October 7, 2012 18:19 — forked from johnrees/_ubuntu_steps.sh
Standard Rails 3.* setup for Ubuntu 12.04 LTS 32
# As root user
sudo su
# Update the OS
apt-get update -y
apt-get dist-upgrade -y
apt-get upgrade -y
# Setup Hostname & TimeZone
@websymphony
websymphony / sublime_text_shortcuts
Last active October 1, 2015 00:18 — forked from axelav/gist:1839777
Sublime Text 2 - Useful Shortcuts for Mac OS X
Sublime Text 2 - Useful Shortcuts (Mac OS X)
============================================
General
-------
---------- -------------------------------------
**⌘T** go to file
**⌘⌃P** go to project
**⌘R** go to methods