Skip to content

Instantly share code, notes, and snippets.

View joncostello's full-sized avatar

Jon Costello joncostello

  • Fort Collins CO
View GitHub Profile
@ryanj
ryanj / gist:4446113
Last active June 12, 2016 09:41
How to keep secrets out of your public source by using OpenShift ENV variables

Keep secrets out of your source when working with OpenShift

These steps assume that you already have a working app on OpenShift. If you need help, you can get started here!

1. Find your app's ssh address

rhc app show YOUR_APP_NAME

2. ssh into your gear to set your environment variables:

ssh YOUR_APP_SSH_URL

@bstruthers
bstruthers / html5boilerplate.jade
Created September 5, 2011 18:53
Fixed Google CDN and updated w/ newer Boilerplate code
!!! 5
//[if lt IE 7 ]> <html class="no-js ie6 oldie" lang="en"> <![endif]
//[if IE 7 ]> <html class="no-js ie7 oldie" lang="en"> <![endif]
//[if IE 8 ]> <html class="no-js ie8 oldie" lang="en"> <![endif]
//[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]
head
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
title some Title
@xtian
xtian / html5boilerplate.jade
Last active December 23, 2023 15:05
HTML5 Boilerplate in jade
!!! 5
html(class='no-js')
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
title
meta(name='description', content='')
meta(name='viewport', content='width=device-width, initial-scale=1')
@ghostm
ghostm / MongoProtoUser.scala
Created November 11, 2010 05:53
MetaMegaProtoUser that uses Mongo
/*
Copyright 2012 Matthew Henderson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software