Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Ubuntu Docker PostgreSQL How-To

How to use [zaiste/postgresql][1] Docker container.

Docker >= 0.5.0 required.

sudo docker pull zaiste/postgresql
@bencevans
bencevans / 0_reuse_code.js
Created September 27, 2013 02:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/**
* L.TileLayer is used for standard xyz-numbered tile layers.
*/
L.Google = L.Class.extend({
includes: L.Mixin.Events,
options: {
minZoom: 0,
maxZoom: 18,
@bencevans
bencevans / gist:3513313
Created August 29, 2012 14:23 — forked from mebcomputers/gist:2550712
php: create visitor log file
<?php
class log {
public $filename;
public $timestamp;
public $ip;
public $u_agent;
public $u_refer;
public $ub;
@bencevans
bencevans / license
Created July 19, 2012 00:22 — forked from zzot/license
MIT License Generator
#!/bin/sh -e
# Usage: license
# Prints an MIT license appropriate for totin' around.
#
# $ license > COPYING
#!/bin/sh
echo "Copyright (c) `date +%Y` Ben Evans
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the