Skip to content

Instantly share code, notes, and snippets.

View kingdonb's full-sized avatar
🚀

Kingdon Barrett kingdonb

🚀
View GitHub Profile
@kingdonb
kingdonb / Gemfile
Created June 10, 2017 10:28 — forked from joemasilotti/Gemfile
How To Test PDFs with Capybara Blog post with details: http://pivotallabs.com/test-pdfs-with-capybara/
group :test do
gem 'rspec-rails'
gem 'capybara'
gem 'pdf-reader'
end
@kingdonb
kingdonb / self-signed-localhost-for-rails.txt
Created September 6, 2016 20:25 — forked from webdevotion/self-signed-localhost-for-rails.txt
SSL self signed localhost for rails start to finish, no red warnings.
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key
@kingdonb
kingdonb / chromebook-setup.diff
Created November 17, 2014 17:25
Chromebook-setup Diff
--- chromebook-setup.sh 2014-10-22 06:17:31.000000000 -0400
+++ ../tried/mali_chromebook-setup_002/chromebook-setup.sh 2014-11-16 21:11:27.229687137 -0500
@@ -11,7 +11,7 @@
VBOOT_URL="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/"
ROOTFS_DIR="$PWD/rootfs"
MALI_DEFAULT="r4p1-00rel0"
-ROOT_DEFAULT="/dev/mmcblk1p2"
+ROOT_DEFAULT="/dev/mmcblk0p2"
print_usage_exit()