Skip to content

Instantly share code, notes, and snippets.

I would like at this time to introduce you to my first smarmy motivational quote. I have tried to live my life to this ideal since I first read it at age 12: However seriously systems and measures may be discussed, they cannot be put into practice unless there is the right man to do it. There is no deed without a doer. To have the right man is the greatest blessing! One must aim at being that man. - Saigo Takamori (1827-1877)

Emergencies to Prepare for

  • Fire
  • Earthquake
  • Flood

Notes of all steps from the HYST Workbook

HYST = Have Your Shit Together, LGO bag = Life Goes On (data wealth) bag, BOB = Bug Out Bag (grab 'n go), BOL = Bug Out Location

  • Binder of all the worksheets from the HYST Workbook
@milieu
milieu / brew config output
Created April 15, 2016 02:27
brew config output
$ brew config
HOMEBREW_VERSION: 0.9.8
ORIGIN: (none)
HEAD: (none)
Last commit: never
Core tap: N/A
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
@milieu
milieu / gist:9774177
Created March 26, 2014 00:03
Temp trait question
// The snippet in question
def auditTypesQuery: List[DetailTable] = {
for {
detail <- detailsComponent.DetailTables
} yield detail
}.list
// Simplified trait I'm making:
@milieu
milieu / gist:6656192
Last active December 23, 2015 15:29
A modified version of [this DRY Slick trait](http://logician.eu/2013/07/08/crud-trait-for-slick-models-in-the-play-framework/) that incorporates autoincrementing ids and Guice injection for abstracting out database drivers
package models
//import scala.slick.driver.PostgresDriver.simple._
import com.google.inject.Inject
import controllers.DatabaseComponent
import play.api.Play.current
import play.api.db.DB