Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ryan Lindsey ryanlindsey

🏠
Working from home
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am pixelsonly on github.
  • I am pixelsonly (https://keybase.io/pixelsonly) on keybase.
  • I have a public key ASC8GT7i_CgGt9AKk3yVyPwiJrLukjC8p4ZyX67IIkvdDQo

To claim this, I am signing this object:

@ryanlindsey
ryanlindsey / zip_example.sh
Created Apr 11, 2019
Archiving a folder in macOS on the command line
View zip_example.sh
$ zip -X -r my_archive.zip my_folder/
@ryanlindsey
ryanlindsey / git_plugin.md
Created Oct 14, 2015
Git plugin shortcuts for Oh My ZSH
View git_plugin.md
Alias Command
g git
ga git add
gaa git add --all
gapa git add --patch
gb git branch
@ryanlindsey
ryanlindsey / os_x_el_capitan_installer.md
Last active Sep 29, 2015
OS X El Capitan USB Installer Instructions
View os_x_el_capitan_installer.md
$ sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
View path_exists.sh
if [ -d 0.0.1 ]; then echo 'PATH EXISTS'; else echo 'PATH DOES NOT EXIST'; fi
@ryanlindsey
ryanlindsey / nokogiri_mavericks.md
Last active Aug 29, 2015
Installing Nokogiri 1.6.1+ on Mavericks
View nokogiri_mavericks.md

If you're running Xcode 5.1, the command line tools don't work for nokogiri 1.6.1. You'll need to download the Late october 2013 tools from Apple. Once you do that run

$ sudo xcode-select -s /Library/Developer/CommandLineTools/

to set up your machine to use the Xcode 5.0.X command line tools, then run

$ gem install nokogiri

If you want to reset your command line tools to the Xcode.app version afterward run

View MakeOpenVPN.sh
#!/bin/bash
# Default Variable Declarations
DEFAULT="default.txt"
FILEEXT=".ovpn"
CRT=".crt"
KEY=".3des.key"
CA="ca.crt"
TA="ta.key"
View gist:8310892
###
# Required Gems
###
###
# Settings
###
set :site_title, "Site name"