Skip to content

Instantly share code, notes, and snippets.

View ksarantakos's full-sized avatar
💭
Probably in a meeting...

Kyri Sarantakos ksarantakos

💭
Probably in a meeting...
View GitHub Profile
@ksarantakos
ksarantakos / appify
Created March 13, 2017 14:04 — forked from mathiasbynens/appify
appify — create the simplest possible Mac app from a shell script
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh
@ksarantakos
ksarantakos / gist:c0bb4f67fee4bca0e5d4a2d1d25d9b2d
Created November 10, 2016 22:01
This is how to output CSV from psql
\f ','
\a
\t
\o /tmp/foobar.csv
\SELECT * FROM stuff;
\o
\q

Keybase proof

I hereby claim:

  • I am ksarantakos on github.
  • I am kyri (https://keybase.io/kyri) on keybase.
  • I have a public key whose fingerprint is 3878 C95E CE6F AEB7 4EA1 8CD2 CF15 1980 7A4C 7DE6

To claim this, I am signing this object: