Skip to content

Instantly share code, notes, and snippets.

View codycraven's full-sized avatar

Cody Craven codycraven

View GitHub Profile
@codycraven
codycraven / docker-sync--osx-native--repair.sh
Last active May 31, 2017 22:50
docker-sync osx_native unison repair
#!/bin/bash
SYNC_CONTAINER="$1"
getLogfile () {
echo "/tmp/$( docker exec "$SYNC_CONTAINER" ls /tmp/ | grep ^unison-stdout-- )"
}
if [ $# -lt 1 ]; then
>&2 echo "Error: an argument with the docker-sync container name must be passed"
@codycraven
codycraven / tampermonkey-tugboat-console-width.js
Created May 31, 2017 17:41
Tampermonkey: Widen the console in Tugboat.qa to be more usable
// ==UserScript==
// @name Tugboat console width
// @namespace http://cravencode.com/
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.18.2/babel.js
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.16.0/polyfill.js
// @include https://dashboard.tugboat.qa/*
// ==/UserScript==
/* jshint ignore:start */
var inline_src = (<><![CDATA[
@codycraven
codycraven / postman.desktop
Created February 15, 2017 23:42
Dash pin-able Postman in Ubuntu Gnome, place in ~/.local/share/applications/ after installation to /opt/ from https://www.getpostman.com/
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Postman
Exec=/opt/Postman/Postman
Icon=/opt/Postman/resources/app/assets/icon.png
@codycraven
codycraven / slack-sidebar-theme-vscode
Created January 11, 2017 23:31
VSCode inspired Slack Sidebar Theme
#252526,#2a2d2e,#1e4771,#FFFFFF,#2a2d2e,#FFFFFF,#519aba,#cbcb41
@codycraven
codycraven / settings.json
Created November 21, 2016 18:34
VSCode Drupal 7 settings.json
{
"files.associations": {
"*.module": "php",
"*.install": "php",
"*.inc": "php",
"*.info": "ini"
}
}