Skip to content

Instantly share code, notes, and snippets.

View andrewjamesford's full-sized avatar

Andrew Ford andrewjamesford

View GitHub Profile
@andrewjamesford
andrewjamesford / Brewfile
Last active September 20, 2021 02:50
A Brewfile for work
cask_args appdir: "/Applications"
brew "mas"
mas "Amphetamine", id: 937984704
mas "The Unarchiver", id: 425424353
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
cask_args appdir: "/Applications"
brew "mas"
mas "1Blocker", id: 1107421413
mas "Amphetamine", id: 937984704
mas "Bumpr", id: 1166066070
mas "Calendar 366 II", id: 1265895169
mas "Gladys", id: 1382386877
mas "Hidden Bar", id: 1452453066
@andrewjamesford
andrewjamesford / lire.opml
Created May 26, 2019 08:14
Feed Curator OPML
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Feed Curator -->
<opml version="1.1">
<head>
<title>Subscriptions in lire</title>
</head>
<body>
<outline text="500ish Words - Medium" title="500ish Words - Medium" description="" type="rss" version="RSS" htmlUrl="" xmlUrl="https://500ish.com/feed"/>
<outline text="512 Pixels" title="512 Pixels" description="" type="rss" version="RSS" htmlUrl="" xmlUrl="https://512pixels.net/feed/"/>
<outline text="A List Apart: The Full Feed" title="A List Apart: The Full Feed" description="" type="rss" version="RSS" htmlUrl="" xmlUrl="https://alistapart.com/main/feed"/>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Feed Curator -->
<opml version="1.1">
<head>
<title>MySubscriptions.opml</title>
</head>
<body>
<outline text="The Shape of Everything" title="The Shape of Everything" description="" type="rss" version="RSS" htmlUrl="http://shapeof.com/" xmlUrl="http://shapeof.com/feed.json"/>
<outline text="Blog on Netlify: All-in-one platform for automating modern web projects" title="Blog on Netlify: All-in-one platform for automating modern web projects" description="" type="rss" version="RSS" htmlUrl="https://www.netlify.com/blog/" xmlUrl="https://www.netlify.com/blog/index.xml"/>
<outline text="Blog Index – Drift" title="Blog Index – Drift" description="" type="rss" version="RSS" htmlUrl="https://www.drift.com/" xmlUrl="https://www.drift.com/blog/feed/"/>
@andrewjamesford
andrewjamesford / blockerList.json
Created September 25, 2015 11:33
Simple gist that blocks third party image, fonts and scripts except for the decknetwork ads.
[
{"action": {"type": "block"}, "trigger": {"url-filter": ".*", "resource-type": ["script"], "load-type": ["third-party"] } },
{"action": {"type": "block"}, "trigger": {"url-filter": ".*", "resource-type": ["font"], "load-type": ["third-party"] } },
{"action": {"type": "block"}, "trigger": {"url-filter": ".*", "resource-type": ["image"], "load-type": ["third-party"] } },
{"action": {"type": "ignore-previous-rules"}, "trigger": {"url-filter": ".*", "if-domain": ["*decknetwork.net"] } }
]
@andrewjamesford
andrewjamesford / gruntfile.js
Created June 26, 2014 03:37
Boilerplate for Grunt
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
// cssmin will minify later
@andrewjamesford
andrewjamesford / comment_heading.sublime-snippet
Last active August 29, 2015 14:02
Block Comment for headings in SCSS
<snippet>
<content><![CDATA[
/*------------------------------------*\
${1:Comment}
\*------------------------------------*/
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>/*</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
<snippet>
<content><![CDATA[
//----------- ${1:Comment}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>///</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>
@andrewjamesford
andrewjamesford / terabyte.csscomb.json
Created June 18, 2014 04:05
CSS Comb settings for Terabyte css guidelines.
{
"exclude": [
".git/**",
"node_modules/**"
],
"always-semicolon": true,
"color-case": "lower",
"color-shorthand": true,
"quotes": "double",
"strip-spaces": true,
@andrewjamesford
andrewjamesford / tb_em.sublime-snippet
Created June 17, 2014 21:40
A sublime text snippet to insert the terabyte em mixin
<snippet>
<content><![CDATA[tb_em(${1:30}px)]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>em</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.scss</scope>
</snippet>