Skip to content

Instantly share code, notes, and snippets.

View brookemahoney's full-sized avatar

Brooke Mahoney brookemahoney

View GitHub Profile
@brookemahoney
brookemahoney / darkify_slack.sh
Last active February 14, 2019 20:14 — forked from ryanpcmcquen/darkify_slack.sh
Darkify your Slack.
#!/bin/sh
# Darkify Slack on Mac OS or Linux.
# curl https://gist.github.com/jeffymahoney/044f62a3da5a32ce77f1274c2630240c/raw/darkify_slack.sh | sh
if [ "`uname -s`" = "Darwin" ]; then
SLACK_INTEROP_JS="/Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js"
else
SLACK_INTEROP_JS="/usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js"
fi
@brookemahoney
brookemahoney / pre-commit
Last active August 29, 2015 14:06
Git pre-commit hook for Drupal development
#!/usr/bin/php
<?php
/**
* @file
* If this file has an exit status other than 0, the commit will fail.
*/
// For each check, set to 1 to enable or 0 to disable.
$check_unwanted_strings = 1;
$check_grunt = 1;