Skip to content

Instantly share code, notes, and snippets.

View dja's full-sized avatar

Daniel Jacob Archer dja

View GitHub Profile
# PostgreSQL. Versions 9.1 and up are supported.
#
# Install the pg driver:
# gem install pg
# On OS X with Homebrew:
# gem install pg -- --with-pg-config=/usr/local/bin/pg_config
# On OS X with MacPorts:
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install pg
@dja
dja / Dockerfile.ci
Last active August 7, 2023 19:25
Codeship Rails on Jet
# Article for Dockerfile at ADD_URL_FOR_THIS
# We're using the Ruby 2.3.1 base container and extend it
FROM ruby:2.3.1
# We install certain OS packages necessary for running our build
# Node.js needs to be installed for compiling assets
# libpq-dev is necessary for installing the pg gem
# libmysqlclient-dev is necessary for installing the mysql2 gem
RUN apt-get update && \
apt-get install -yq \
@dja
dja / userstyles.css
Created June 30, 2015 01:51
Noon Pacific Mac App - Fluid Userstyles
/**
* Userstyles for Noon Pacific Fluid app
* dja.io
* Updated: 6/30/15
*/
/* Custom scroll bar */
html {
overflow: auto;
}
@dja
dja / backtoschool2014.html
Created July 1, 2014 17:28
First Apple Responsive Email
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<style type="text/css">
a,a.aapl-link,a.aapl-link:link { text-decoration:none; }
a.aapl-link:hover { text-decoration:underline; }
body { width:100% !important; }