Skip to content

Instantly share code, notes, and snippets.

@adamjparrott
adamjparrott / asdf-ruby187-mac.sh
Created January 4, 2019 21:23 — forked from marcjeanson/asdf-ruby187-mac.sh
Install ruby 1.8.7 with asdf on macOS Mojave (10.14)
#!/bin/sh
# inspired by https://gist.github.com/yatsu/b62f07ef9ff3ae1e0e2bf9a00b8742b6
# Assumes you already have homebrew and asdf installed!
# brew install openssl gcc@4.9
# If your macOS is Mojave (10.14), install Xcode 10 and
# /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
# (See https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes)
@adamjparrott
adamjparrott / ConsoleWork.sh
Created July 31, 2018 19:29
Pulling Sqlite Db from non debuggable Android App
# make a backup
adb backup -noapk com.package.name -f backup.ab
# strip out the bits
dd if=backup.ab bs=1 skip=24 of=backup.bak
# use convertToTar.py (see other file in gist)
python convertToTar.py
# untar