Skip to content

Instantly share code, notes, and snippets.

View germanny's full-sized avatar

Jen G germanny

View GitHub Profile
@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+
@dannguyen
dannguyen / wget-snapshotpage.md
Last active December 25, 2023 20:57
Use wget to snapshot a page and its necessary visual dependencies

Use wget to mirror a single page and its visible dependencies (images, styles)

Money graphic via State of Florida CFO Vendor Payment Search

Graphic via State of Florida CFO Vendor Payment Search (flair.myfloridacfo.com)

This is a quick command I use to snapshot webpages that have a fun image I want to keep for my own collection of WTFViz. Why not just right-click and save the image? Oftentimes, the webpage in which the image is embedded contains necessary context, such as captions and links to important documentation just incase you forget what exactly that fun graphic was trying to explain.

@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 / Set Custom WP Feeds.php
Last active July 4, 2017 03:53
Add this code to your Theme's functions.php file.
<?php
/* =BEGIN: Remove WP generated junk from head
Source: http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
---------------------------------------------------------------------------------------------------- */
function removeHeadLinks() {
remove_action( 'wp_head', 'rsd_link' );
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'wlwmanifest_link' );
remove_action( 'wp_head', 'feed_links_extra', 3 );
@ericrasch
ericrasch / WP Disable Comments.md
Last active February 13, 2018 17:29
If you need to completely shut off all comments/trackbacks/pingbacks in the WordPress Admin

To shut off all comments/trackbacks/pingbacks in the WordPress Admin, the steps for cleanup are:

@ericrasch
ericrasch / WP Ping Services
Last active July 4, 2017 03:54
A list of ping services to use in the WordPress admin.
http://bing.com/webmaster/ping.aspx
http://blo.gs/ping.php
http://blog.goo.ne.jp/XMLRPC
http://blog.with2.net/ping.php
http://blogpingr.de/ping/rpc2
http://blogsearch.google.com/ping/RPC2
http://ping.bitacoras.com/
http://ping.fc2.com/
https://feedburner.google.com/fb/a/ping
http://ping.wordblog.de/
@jimmynotjim
jimmynotjim / state_array.php
Last active January 3, 2016 09:59
PHP Array of US States
<?php
$state_array = array(
array(
'state_name' => 'Alabama',
'state_abbr' => 'AL'
),
array(
'state_name' => 'Alaska',
'state_abbr' => 'AK'
@ericrasch
ericrasch / TypeKit embed code.php
Last active July 4, 2017 03:54
Different methods for loading TypeKit's embed code.
<?php
/**
* TypeKit's default embed code.
* Source: http://help.typekit.com/customer/portal/articles/649336-embed-code
* Avg. Load Time: 191ms; 198ms; 265ms
*/
?>
<script type="text/javascript" src="//use.typekit.net/xxxxxxx.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
@germanny
germanny / _instructions.md
Last active February 16, 2024 16:25 — forked from jimmynotjim/_instructions.md
Instructions for setting up OSX

Setup OSX with a Clean Install

About once a year, my machine gets pretty sluggish and it's time to start fresh. Here's the process I use to update it with everything I need.

TODO: Add info about dotfiles set up and zsh (possible settings file?)

  • Save all dotfiles to a repo for easy transfer
  • Back up all photos, music, apps, iTunes library, keychains, etc.
@jimmynotjim
jimmynotjim / _instructions.md
Last active April 19, 2024 05:26
Setup macOS 12 Monterey

Leaving this for historical reasons, but with the latest iteration I set up proper dotfiles. Check em out

Setup macOS with a Clean Install

After too many years of tinkering my machine is a bit all over. With Mojave High Sierra Montery I wanted to start fresh

1. Run Software Update

Make sure everything is up to date.