Skip to content

Instantly share code, notes, and snippets.

@iyoda
iyoda / casesafe.sh
Created January 26, 2018 07:54 — forked from scottsb/casesafe.sh
Create and manage a case-sensitive disk-image on macOS (OS X).
#!/bin/bash
# ---------------------------------------------------------
# Customizable Settings
# ---------------------------------------------------------
MOUNT_POINT="${CASE_SAFE_MOUNT_POINT:-${HOME}/casesafe}"
VOLUME_PATH="${CASE_SAFE_VOLUME_PATH:-${HOME}/.casesafe.dmg.sparseimage}"
VOLUME_NAME="${CASE_SAFE_VOLUME_NAME:-casesafe}"
VOLUME_SIZE="${CASE_SAFE_VOLUME_SIZE:-60g}"
@iyoda
iyoda / gist:50e8cdcd46e20522bdacf3a90cf3953b
Created January 26, 2018 06:18
Android 6.0.1 (Build M4B30Z) Root for Nexus 5
# Download latest Android image, "hammerhead" for Nexus 5 (GSM/LTE)
https://developers.google.com/android/nexus/images#hammerhead
# Download latest TWRP
https://dl.twrp.me/hammerhead/
# Download latest SuperSu
https://download.chainfire.eu/supersu
Enable USB debugging.
@iyoda
iyoda / emu.user.js
Created December 25, 2012 05:49 — forked from kageroh/emu.user.js
// ==UserScript==
// @name emu.js
// @namespace http://twitter.com/amasawa
// @include http://sp.pf.mbga.jp/*
// @run-at document-start
// ==/UserScript==
(function () {
var script = document.createElement('script');
script.textContent = '\
// ==UserScript==
// @name shingeki.js
// @namespace http://twitter.com/amasawa
// @include http://sp.pf.mbga.jp/12007160*
// @include http://sp.pf.mbga.jp/12008054*
// @include http://sp.pf.mbga.jp/12009496*
// @include http://sp.pf.mbga.jp/12008982*
// @run-at document-start
// ==/UserScript==