Skip to content

Instantly share code, notes, and snippets.

View sgmccli's full-sized avatar

Simon McClive sgmccli

View GitHub Profile
@sgmccli
sgmccli / tmux.nfo
Last active December 31, 2017 18:45
Tmux instructions
# Install tmux
brew install tmux
# Launch tmux
tmux
# Setup tmux conf
vi ~/.tmux.conf
# Rebind prefix key from ctrl+b to ctrl+a

Keybase proof

I hereby claim:

  • I am sgmccli on github.
  • I am simonmcclive (https://keybase.io/simonmcclive) on keybase.
  • I have a public key ASD7XBC5cQ_arpos7cDeftl8iXuVXQtkQNcr-F4dv1LpRwo

To claim this, I am signing this object:

@sgmccli
sgmccli / gist:33c9e513985e5f0042eed0d35ae76589
Last active July 21, 2022 04:50
pgtap-0.97.0.sql compiled on Mac OSX
-- This file defines pgTAP, a collection of functions for TAP-based unit
-- testing. It is distributed under the revised FreeBSD license.
--
-- The home page for the pgTAP project is:
--
-- http://pgtap.org/
CREATE OR REPLACE FUNCTION pg_version()
RETURNS text AS 'SELECT current_setting(''server_version'')'
LANGUAGE SQL IMMUTABLE;