Skip to content

Instantly share code, notes, and snippets.

Avatar

Borden Liu bordicon

  • Spire
  • San Francisco
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bordicon on github.
  • I am bordicon (https://keybase.io/bordicon) on keybase.
  • I have a public key ASA4AT4rB6rvUJ5ehwunvpOsjG3h0KKtShiMZNlRdod6dwo

To claim this, I am signing this object:

View gist:141bcbb837e8f2b94099
#!/bin/bash
# It is probably redundant if you set settings mentioned in https://gist.github.com/zekefast/42273658939724ba7c7a .
# But anyway it will not hurt anybody (sure if you are not putting your production database to RAM :)).
#
# Look for more detailed description in follow articles:
# - http://blog.vergiss-blackjack.de/2011/02/run-postgresql-in-a-ram-disk/
#
# ATTENTION:
# DO NOT apply this approach if you store important data in postgresql cluster, because that could cause