Skip to content

Instantly share code, notes, and snippets.

Daniel Jacob Archer dja

Block or report user

Report or block dja

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View database.yml
# 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 Aug 22, 2016
Codeship Rails on Jet
View Dockerfile.ci
# 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 Jun 30, 2015
Noon Pacific Mac App - Fluid Userstyles
View userstyles.css
/**
* Userstyles for Noon Pacific Fluid app
* dja.io
* Updated: 6/30/15
*/
/* Custom scroll bar */
html {
overflow: auto;
}
@dja
dja / backtoschool2014.html
Created Jul 1, 2014
First Apple Responsive Email
View backtoschool2014.html
<!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; }
You can’t perform that action at this time.