Skip to content

Instantly share code, notes, and snippets.

View sklise's full-sized avatar
💭
Tweeting

Steve Klise sklise

💭
Tweeting
View GitHub Profile

Running sql commands on your Heroku Postgres database, on a mac

  1. Download and install the Postgres.app program. (Skip to step 3 if you already know you have Postgres installed on your Mac)
  2. Add the Postgres.app psql to your $PATH: export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin docs
  3. In Terminal, cd to the folder of your Heroku project, and run heroku pg:psql
  4. You should now be in an interactive PSQL session, by default Heroku will connect to the promoted database set as the config var DATABASE_URL.
@sklise
sklise / description.md
Last active October 28, 2019 16:10
World Clock for Dashing

World Clock

Requirements

This widget requires a library for the timezone manipulation, moment.js and moment-timezone.js and then also build the necessary data at moment-timezone-data

Then in assets/javascripts/application.coffee add the following three lines above #= require_directory .

#= require moment

Music 2011-2013

Separated by year because that’s how I’ve got it sorted.

2011

  • Atlas Sound Parallax
  • Austra Feel It Break
  • Bill Callahan Apocalypse
  • Com Truise Galactic Melt