Skip to content

Instantly share code, notes, and snippets.

View lhridley's full-sized avatar

Lisa Ridley lhridley

  • Chattanooga, Tennessee
View GitHub Profile
lhridley /
Created April 30, 2019 03:22 — forked from keeferrourke/
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
# Written by: Keefer Rourke <>
# Based on AUR package <>
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git
sudo apt-get install fonts-cantarell, ttf-ubuntu-font-family, git
View .gitattributes
# Drupal git normalization
# @see
# @see
# Normally these settings would be done with macro attributes for improved
# readability and easier maintenance. However macros can only be defined at the
# repository root directory. Drupal avoids making any assumptions about where it
# is installed.
# Define text file attributes.
lhridley / homepage.js
Created April 14, 2015 16:58
PhantomCSS Homepage tests from MidCamp 2015
View homepage.js
Require and initialise PhantomCSS module
Paths are relative to CasperJs directory
var phantomcss = require('./../phantomcss.js');
var url = '';
var viewport = {name : 'tablet-landscape', width: 1024, height: 768}
lhridley /
Created January 7, 2017 02:09 — forked from petemcw/
Setup dnsmasq on Mac OS X
# Install `dnsmasq` and configure for *.dev domains
$ brew install dnsmasq
$ vim /usr/local/etc/dnsmasq.conf
# Reload configuration and clear cache
$ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
$ sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
$ dscacheutil -flushcache
lhridley / Vagrantfile
Created November 23, 2016 14:51 — forked from leifg/Vagrantfile
Add a second disk to system using vagrant
View Vagrantfile
file_to_disk = './tmp/large_disk.vdi' do |config| = 'base'
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
View gist:cb2491b923adcd7653a00fd5e209fd93
<p><!--[if gte mso 9]><xml>
<o:Company>Duke University</o:Company>
View gist:804eb93016845f369535
View gist:8bbf95294aa529d74c74
"value":"\u003Cp\u003EThis is a test too\u003C\/p\u003E\n",
View gist:c22aa909859fca20eb2e
(function() {
'use strict';
angular.module('nodeListing', ['ngResource', 'ngDialog'])
// Factory for the ngResource service.
.factory('Node', function($resource) {
return $resource(Drupal.settings.basePath + 'api/node/:param', {}, {
'search' : {method : 'GET', isArray : true}
lhridley / gist:dd4609d1b43d56cdfef3
Created April 22, 2015 13:33
View gist:dd4609d1b43d56cdfef3
<div ng-app="nodeListing">
<div ng-controller="ListController">
<input type="text" ng-model="nodeFilter">
<ul ng-cloak>
<li ng-repeat="node in nodes | filter:nodeFilter | orderBy:'title' | limitTo:150"><button ng-click="open(node.nid)">Open</button> {{ node.title }}</li>