Skip to content

Instantly share code, notes, and snippets.

View alexleone's full-sized avatar

Alex Leone alexleone

View GitHub Profile
@alexleone
alexleone / pg-drop-all-tables.sql
Last active January 31, 2020 21:43
Drop all tables from postgres 9.3+
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
/* Replace 'postgres' with the database name you are working in */
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO public;
@alexleone
alexleone / keybase.md
Created August 28, 2017 14:44
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

(function (window) {
function CookieHelper() {
}
// utility function to retrieve an expiration date in proper
// format; pass three integer parameters for the number of days, hours,
// and minutes from now you want the cookie to expire (or negative
// values for a past date); all three parameters are required,
// so use zeros where appropriate
(function (window) {
function CookieHelper() {
}
// utility function to retrieve an expiration date in proper
// format; pass three integer parameters for the number of days, hours,
// and minutes from now you want the cookie to expire (or negative
// values for a past date); all three parameters are required,
// so use zeros where appropriate