Skip to content

Instantly share code, notes, and snippets.

View JoeyPinilla's full-sized avatar

Joey Pinilla JoeyPinilla

  • Independent
  • United States
View GitHub Profile
#!/usr/bin/env ruby
#
# Usage:
# security dump-keychain -d login.keychain > keychain_logins.txt
# # Lots of clicking 'Always Allow', or just 'Allow', until it's done...
@JoeyPinilla
JoeyPinilla / Ruby Notepad Bookmarklet
Created January 21, 2016 09:37 — forked from jakeonrails/Ruby Notepad Bookmarklet
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
@JoeyPinilla
JoeyPinilla / 1linenotepad.txt
Created January 21, 2016 09:38 — forked from richardtape/1linenotepad.txt
A 1line notepad for in-browser copy and pasteyness
data:text/html;charset=utf-8, <title>TextEditor</title> <link rel="shortcut icon" href="http://g.etfv.co/https://docs.google.com"/> <style> html{height: 100%;} body{background: -webkit-linear-gradient(#f0f0f0, #fff); padding: 3%; height: 94%;} .paper { font: normal 12px/1.5 "Lucida Grande", arial, sans-serif; width: 50%; height: 80%; margin: 0 auto; padding: 6px 5px 4px 42px; position: relative; color: #444; line-height: 20px; border: 1px solid #d2d2d2; background: #fff; background: -webkit-gradient(linear, 0 0, 0 100%, from(#d9eaf3), color-stop(4%, #fff)) 0 4px; background: -webkit-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: -moz-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: -ms-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: -o-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; -webkit-background-size: 100% 20px; -moz-background-size: 100% 20px; -ms-background-size: 100% 20px; -o-background-size: 100% 20p
@JoeyPinilla
JoeyPinilla / app-store-pkgs.sh
Created August 28, 2016 12:08 — forked from jacobsalmela/app-store-pkgs.sh
Save App Store downloads as .pkgs
#!/bin/bash
appStoreFolder=$(sudo find /private/var/folders -type f -name "*.pkg")
i=0
for package in $appStoreFolder
do
sudo ln $package ~/Downloads/_MAS_$i.pkg
i=$(($i+1))
done

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

@JoeyPinilla
JoeyPinilla / keybase.md
Created October 2, 2016 22:53 — forked from kevinelliott/keybase.md
keybase.md

Keybase proof

I hereby claim:

  • I am kevinelliott on github.
  • I am kevinelliott (https://keybase.io/kevinelliott) on keybase.
  • I have a public key whose fingerprint is F82D BBB7 B582 2B54 D451 B7D5 FE1B A54C 7269 D619

To claim this, I am signing this object:

@JoeyPinilla
JoeyPinilla / setup-ubuntu-15.10-dev.sh
Created October 2, 2016 22:54 — forked from kevinelliott/setup-ubuntu-15.10-dev.sh
Setup standard development environment on Ubuntu 15.10
#!/bin/bash
#
# setup-ubuntu-15.10-dev.sh - Setup standard development environment on Ubuntu 15.10
#
# Kevin Elliott <[email protected]>
#
echo "=== Installing OpenConnect and the Network Manager support ==="
sudo apt-get install openconnect network-manager-openconnect-gnome
echo

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google

Themes

  • Soda
  • RailsCasts Colour Scheme

Fonts

  • Source Code Pro, size 12

Plugins

@JoeyPinilla
JoeyPinilla / gist:e7e51c27c7a5fe58f92a97535a114ceb
Created October 2, 2016 22:54 — forked from nbibler/gist:5307941
A .powrc file which works with RVM's .rvmrc or .ruby-version (+ .ruby-gemset) configuration files.
if [ -f "$rvm_path/scripts/rvm" ]; then
source "$rvm_path/scripts/rvm"
if [ -f ".rvmrc" ]; then
source ".rvmrc"
fi
if [ -f ".ruby-version" ]; then
rvm use `cat .ruby-version`
fi