Skip to content

Instantly share code, notes, and snippets.

View yanokwa's full-sized avatar

Yaw Anokwa yanokwa

View GitHub Profile
@yanokwa
yanokwa / kindlegen.rb
Last active August 29, 2015 13:57 — forked from dch/kindlegen.rb
require 'formula'
class Kindlegen < Formula
url 'http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip'
homepage 'http://www.amazon.com/gp/feature.html?docId=1000765211'
md5 '0e21737cbe1ec74e33d5cf722767e18c'
version '2.9'
skip_clean 'bin'
@yanokwa
yanokwa / mac-osx-el-captain-commands.sh
Created September 28, 2016 21:30 — forked from rahul286/mac-osx-el-captain-commands.sh
Updating to Mac elCapitan using downloaded pkg file
## based on https://github.com/lioonline/OS-X-El-Capitan
## pkg file link - http://osxapps.itunes.apple.com/apple-assets-us-std-000001/Purple3/v4/74/d2/82/74d28291-9db9-7ae2-305d-9b8b3f5fd463/ftk3252456602304584541.pkg
# Run this from folder where you have downloaded or copied ftk3252456602304584541.pkg file
#create a tmp folder
mkdir elCapitanRoot && cd elCapitanRoot
#create a folder structure to match apple server
sudo mkdir -p ./apple-assets-us-std-000001/Purple3/v4/74/d2/82/74d28291-9db9-7ae2-305d-9b8b3f5fd463/