Skip to content

Instantly share code, notes, and snippets.

View shrop's full-sized avatar
👋

Mark Shropshire shrop

👋
View GitHub Profile
black = '#282828';
red = '#cc241d'; // red
green = '#98971a'; // green
yellow = '#d79921'; // yellow
blue = '#458588'; // blue
magenta = '#b16286'; // pink
cyan = '#689d6a'; // cyan
white = '#a89984'; // light gray
lightBlack = '#928374'; // medium gray
lightRed = '#fb4934'; // red
@shrop
shrop / gist:2c08bbb015bcbb199f25fded1afe1b1c
Created October 25, 2016 14:31 — forked from bfodeke/Add local .drush folder as a mount to vagrant
Adding local .drush folder as a mount to vagrant drush
// Add a sync folder to sync local drush folder to the vm.
vagrant_synced_folders:
- local_path: ~/.drush
destination: /home/vagrant/.drush
type: nfs
create: true
@shrop
shrop / clamav-mac.md
Created September 28, 2016 20:50 — forked from Uchean/clamav-mac.md
Get ClamAV running on Mac OS X (using Homebrew)

Get ClamAV running on Mac OS X (using Homebrew)

The easiest way to get the ClamAV package is using Homebrew

$ brew install clamav

Before trying to start the clamd process, you'll need a copy of the ClamAV databases.

Create a freshclam.conf file and configure as so

@shrop
shrop / setup.sh
Created August 25, 2016 12:18 — forked from melnikovdv/setup.sh
Mac OS X setup from scratch
#!/bin/sh
##### Preparations #####
#-----------------------
# Description is available at http://mlayer.org/tech/2014/11/25/setup-mac-os-x.html
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install caskroom/cask/brew-cask # makes available to install apps as packages
brew tap caskroom/versions # for beta version available through cask
@shrop
shrop / make-drupal-file-field-private.sh
Last active April 11, 2016 18:49 — forked from thsutton/make-drupal-file-field-private.sh
Hold your hand through the process of converting an existing Drupal 7 file field to use the private file system.Update the $FIELD variable (and, if required, the path and arguments for drush) and do what it tells you to.
#!/bin/sh
#
# This script will hold your hand during the process of converting an existing Drupal 7 file field from public to private.
#
# http://twitter.com/thsutton
# http://www.linkedin.com/pub/thomas-sutton/55/391/350
# http://thomas-sutton.id.au/
set -eu
@shrop
shrop / chimp-meteor.js
Created December 19, 2015 18:18
Starts Meteor or Meteor + Mirror then starts Chimp
#!/usr/bin/env node
var path = require('path'),
fs = require('fs'),
extend = require('util')._extend,
exec = require('child_process').exec;
var appOptions = {
settings: 'settings.json',
port: 3000,
env: {
@shrop
shrop / Template
Last active August 29, 2015 14:16 — forked from patrickml/Template
<template name="journal">
<div class="nav-block"></div>
<nav class="journal-nav">
<ul>
<li>
<a href="#" data-type="Design">Design</a>
</li>
<li>
<a href="#" data-type="Development">Development</a>
</li>
<!-- THEME DEBUG -->
<!-- CALL: theme('html') -->
<!-- FILE NAME SUGGESTIONS:
* html--front.tpl.php
* html--node.tpl.php
x html.tpl.php
-->
@shrop
shrop / httpd.conf
Last active August 29, 2015 14:08 — forked from tlattimore/httpd.conf
<Directory />
AllowOverride none
Require all granted
</Directory>
@shrop
shrop / .gitignore
Last active August 29, 2015 14:08 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #