Skip to content

Instantly share code, notes, and snippets.

View qbunt's full-sized avatar

Jeremy Bunting qbunt

View GitHub Profile
qbunt / docker-compose.yml
Last active June 14, 2018 03:49 — forked from stevewithington/docker-compose-drupal-postgres.yml
Drupal with Postgres Docker Compose File
version: '2'
# Note: use the database service name `db` in the Host IP Address field ...
# Or, `docker container inspect {postgrescontainerid}` to obtain the IP Address needed for completing the Drupal setup screen.
# Postgres
image: postgres:9.6.5-alpine
restart: always
info Contentful Space Sync:
Let's sync some content across spaces!
info No previous sync token found.
Synchronizing fresh content from z9dlzmwjpezg to twxusrp14qif
info Getting content from source space via the sync api
info Checking if destination space already has any content and retrieving it
info Pushing content to destination space
info Updated Locale U.S. English
info Updated ContentType interior-color
info Updated ContentType model

Keybase proof

I hereby claim:

  • I am qbunt on github.
  • I am qbunt ( on keybase.
  • I have a public key whose fingerprint is 08B9 3BF3 2061 AF25 9C15 E4AD 4E3D 8FDD C3C3 67C4

To claim this, I am signing this object:

qbunt / utils.js
Created May 15, 2013 02:48
* User: jeremy.bunting
* Date: 4/25/13
* Time: 11:45 AM
var utils = (function () {
var queryString = decodeURIComponent(;
var parseQueryString, getQueryParam, environment, truncateWithEllipsis, setCookie, getCookie, deleteCookie, destroyView, loadTemplate;
qbunt / utils.js
Created May 10, 2013 16:43
Helps in killing of zombies.
destroyView = function (view) {
// completely unbind and destroy the view
//Remove view from DOM
qbunt / gist:1477774
Created December 14, 2011 18:13
Firefox 1/2 pixel fix
try {
if ($.browser.mozilla) {
} catch(ex) {}
function addMargin() {
$("#container").css('margin-left', window.outerWidth % 2 ? '0': '0.5px')