Skip to content

Instantly share code, notes, and snippets.

Eric Scheurer sbgraphic

Block or report user

Report or block sbgraphic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
davidofwatkins /
Created Oct 6, 2016
Keep MacOS Fonts Updated with Google Fonts

Google Fonts suggests syncing fonts to your computer with a tool called SkyFonts. However, if you're running MacOS and want to keep your machine updated with all Google Fonts without any extra software, you can do this with Git, thanks to the Google Fonts Repo.

To do this, run the following in your terminal:

cd ~/Library/Fonts/
git clone google-fonts

Done! In the future, you can download new fonts by running:

rachelmccollin / Activate Font Awesome
Last active Feb 1, 2018
WPMUDEV Creating Menu Icons
View Activate Font Awesome
function wmpudev_enqueue_icon_stylesheet() {
wp_register_style( 'fontawesome', 'http:////' );
wp_enqueue_style( 'fontawesome');
add_action( 'wp_enqueue_scripts', 'wmpudev_enqueue_icon_stylesheet' );
robneu / add-html5-video-shortcode-simple
Last active Oct 5, 2015
WordPress video embed shortcode examples
View add-html5-video-shortcode-simple
[video src=""]
TomByrne / MultiExporter.jsx
Last active May 8, 2020
An Illustrator script for exporting layers and/or artboards into separate files (PNG8 / PNG24 / EPS / PDF / SVG / JPG / FXG).See
View MultiExporter.jsx
// MultiExporter.jsx
// Version 0.1
// Version 0.2 Adds PNG and EPS exports
// Version 0.3 Adds support for exporting at different resolutions
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize
// Version 0.5 Fixed cropping issues
// Version 0.6 Added inner padding mode to prevent circular bounds clipping
// Copyright 2013 Tom Byrne
// Comments or suggestions to
ccstone / BBEdit-TextWrangler_RegEx_Cheat_Sheet.txt
Last active Apr 24, 2020
BBEdit-TextWrangler Regular Expression Cheat-Sheet
View BBEdit-TextWrangler_RegEx_Cheat_Sheet.txt
BBEdit / BBEdit-Lite / TextWrangler Regular Expression Guide Modified: 2018/08/10 01:19
The PCRE engine (Perl Compatible Regular Expressions) is what BBEdit and TextWrangler use.
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete.
ScottPhillips / .htaccess
Created Feb 2, 2012
Common .htaccess Redirects
View .htaccess
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php
#Redirect an entire site:
Redirect 301 /
#Redirect an entire site to a sub folder
Redirect 301 /
You can’t perform that action at this time.