Skip to content

Instantly share code, notes, and snippets.

View ericrasch's full-sized avatar

Eric Rasch ericrasch

View GitHub Profile

Sublime Text Preferences

My personal settings for Sublime Text (Mac). Heavily borrowed from Wes Bos: https://gist.github.com/wesbos/a3b12cfda064a906ac04

To set the key bindings below, goto Sublime Text menu -> Preferences -> Key Bindings - User, paste the settings from below and save that file.

To set the user preferences below, type ⌘, in Sublime Text to bring up the Preferences.sublime-settings file, paste the settings from below and save that file.

Installed Packages

@ericrasch
ericrasch / 00 OS X app list.md
Last active July 4, 2017 03:53
List of useful Mac apps I use daily + profiles for my home directory.

Mac OS X App List

Productivity Tools

  • Alfred Powerpack Powerpack is a set of incredibly powerful features for Alfred
  • Alfred Boosts your efficiency with hotkeys, keywords, text expansion and more
  • AppCleaner Drag-n-drop app uninstall
  • Caffeine keeps your Mac from going to sleep
  • Default Folder X Finder save location helper
  • Fantastical Menubar calendar app w/ natural language
  • GPG Suite secure communication and encrypting files
@ericrasch
ericrasch / WP recommended PHP settings.md
Created April 24, 2015 17:04
Recommended PHP settings for WordPress
@ericrasch
ericrasch / good PR desc.md
Created July 8, 2015 14:06
Helpful GitHub PR descriptions

Please write a short description of what the PR entails for project. Also, please remember to begin your PR as soon as you create a branch and make your first commit. This allows others to see what's actually being worked on and what the latest updates are (especially if a project has a lot of existing branches).

REF:

  • {{insert any Basecamp or other links that are relevant to the project here}}

TODO

Key Features:

  • Integrates with CRM, email marketing and other programs
  • Analyze data from multiple channels in a single interface
  • Visitor-focused data instead of broad stats

Pros

@ericrasch
ericrasch / robots.txt
Last active July 4, 2017 03:52
Robots.txt files for sites with WordPress.
User-agent: *
# Changing the /feed back to include the trailing slash since it otherwise blocks URLs like http://www.thesimpledollar.com/feeding-my-sweet-tooth-without-breaking-my-belly-or-breaking-the-bank/
Disallow: /feed/
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-content/cache
Disallow: /wp-includes
Disallow: /trackback
Disallow: /xmlrpc.php
@ericrasch
ericrasch / pull_request_template.md
Last active January 19, 2017 19:36
GitHub pull_request_template.md

Description

@ericrasch
ericrasch / Vagrant 1.8.5 & Virtual Box 5.1.2 Upgrade Troubleshooting.md
Created August 15, 2016 20:33
Vagrant 1.8.5 & Virtual Box 5.1.2 Upgrade Troubleshooting

Error: ssh-cleanup

(Usually occurs when running Vagrant Up (Evolution ​v1.3.16​) = Vagrant 1.6.5 Virtual Box 4.3)

There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The 'ssh-cleanup' provisioner could not be found.
  • Upgrade to Vagrant 1.8.5+ & Virtual Box 5.1.2+
@ericrasch
ericrasch / functions - deregister contact form 7 css and js.php
Created December 18, 2012 19:59
Only include (WordPress plugin) Contact Form 7's' javascript and CSS when needed. Be sure to change !is_page('contact') to the ID or slug of the pages you want to use the contact form on.
/* =BEGIN: Only include Contact Form 7 javascript and CSS when needed
Source: http://fredrikmalmgren.com/only-include-contact-form-7-javascript-and-css-when-needed/
---------------------------------------------------------------------------------------------------- */
add_action( 'wp_print_scripts', 'deregister_cf7_javascript', 100 );
function deregister_cf7_javascript() {
if ( !is_page('contact') ) {
wp_deregister_script( 'contact-form-7' );
}
}
@ericrasch
ericrasch / hyperterm.js
Created July 27, 2016 21:18
My HyperTerm settings
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks
fontFamily: '"Operator Mono", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(211,0,123,0.75)',