Skip to content

Instantly share code, notes, and snippets.

Avatar

Philip Ingram pjammer

View GitHub Profile
@dpneumo
dpneumo / Docker_User_NameSpaces_setup.md
Last active Sep 11, 2019
Setup User Namespaces for docker on RHEL/Centos 7.3
View Docker_User_NameSpaces_setup.md

On CentOS 7.3 with Kernel Version: 3.10.0


1. Allow filesystem support for namespaces: xfs partition: format with ``` mkfs.xfs -m crc=1 -n ftype=1 ``` The current CentOS 7 does this by default.



@johanneswuerbach
johanneswuerbach / README.markdown
Created May 16, 2012 — forked from gudbergur/README.markdown
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things
View README.markdown

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
      # this function receives the typeahead object and the query string
@shapeshed
shapeshed / unicorn
Created Sep 16, 2011
Unicorn / Monit setup
View unicorn
#!/bin/sh
set -e
# Example init script, this can be used with nginx, too,
# since nginx and unicorn accept the same signals
# Feel free to change any of the following variables for your app:
TIMEOUT=${TIMEOUT-60}
APP_ROOT=/path/to/your/app/current
PID=$APP_ROOT/tmp/pids/unicorn.pid
ENVIRONMENT=production
You can’t perform that action at this time.