Skip to content

Instantly share code, notes, and snippets.

@mitchellmebane
mitchellmebane / 01600736374_0100000000000023.log
Last active September 22, 2020 02:20
Atmosphere 0.14.4/HOS 4.0.1 hbmenu launch crash (latest hbmenu)
Atmosphère Crash Report (v1.5):
Result: 0xCA8 (2168-0006)
Process Info:
Process Name: am
Program ID: 0100000000000023
Process ID: 000000000000005a
Process Flags: 00000037
Exception Info:
Type: User Break
@mitchellmebane
mitchellmebane / 01600735950_0100000000000023.log
Last active September 22, 2020 02:16
Atmosphere 0.14.4/HOS 4.0.1 hbmenu launch crash
Atmosphère Crash Report (v1.5):
Result: 0xCA8 (2168-0006)
Process Info:
Process Name: am
Program ID: 0100000000000023
Process ID: 000000000000005a
Process Flags: 00000037
Exception Info:
Type: User Break
@mitchellmebane
mitchellmebane / modify-ipogo.sh
Created November 19, 2019 02:12
Clone/rename iPoGo IPA (Blue)
#!/usr/bin/env zsh
set -euo pipefail
readonly IPA_PATH="$1"
if [[ ! -f "${IPA_PATH}" ]]; then
printf -- 'File does not exist: "%s"\n' "${IPA_PATH}" >&2
exit 1
fi
@mitchellmebane
mitchellmebane / windows-build-tools_manual.md
Last active March 1, 2021 08:12
NPM windows-build-tools manual install

Visual Studio 2015 Build Tools (1.73 GB)

Downloading

  1. Get VS2015 url from https://github.com/felixrieseberg/windows-build-tools/blob/master/src/constants.ts
  2. Save file into C:\vs_build_tools\windows-build-tools_vs2015\
    • C:\vs_build_tools\windows-build-tools_vs2015\visualcppbuildtools_full.exe
  3. Open cmd prompt and run installer in offline-installer-builder mode (as per https://msdn.microsoft.com/en-us/library/mt706497.aspx)
    • cd /d C:\vs_build_tools\windows-build-tools_vs2015\
@mitchellmebane
mitchellmebane / zsh.md
Last active October 21, 2024 20:19
List of macOS/Mac OS X preinstalled/bundled zsh versions

List of zsh versions which come built-in to macOS at /bin/zsh. This is mostly compiled from various internet sources.

OS Version OS Codename ZSH Version ZSH Version String
10.5 Leopard 4.3.4 zsh 4.3.4 (i386-apple-darwin9.0)
10.6 Snow Leopard 4.3.9 zsh 4.3.9 (i386-apple-darwin10.0)
10.7 Lion 4.3.11 zsh 4.3.11 (i386-apple-darwin11.0)
10.8 Mountain Lion 4.3.11 zsh 4.3.11 (i386-apple-darwin12.0)
10.9 Mavericks 5.0.2 zsh 5.0.2 (x86_64-apple-darwin13.0)
10.10 Yosemite 5.0.5 zsh 5.0.5 (x86_64-apple-darwin14.0)
/etc/default/hostapd:
DAEMON_CONF="/etc/hostapd/hostapd.conf"
/etc/hostapd/hostapd.conf:
interface=wlan0
channel=3
ssid=browserhax
<?php
function browserhaxcfg_handle_urlparams()
{
global $ropchainparam, $ropchainselect, $arm11code_loadfromsd;
$ropchainselect = 2;
$arm11code_loadfromsd = 2; // download webkithax_tmp.bin over http
//From here one can initialize $ropchainselect and $arm11code_loadfromsd by optionally checking the value of $ropchainparam which comes from URL param "rop".
}
//! asap-browser-v2.0.3.js
//! kriskowal/asap v2.0.3, for non-RequireJS environments
var global = window;
//! https://github.com/kriskowal/asap/blob/v2.0.3/browser-raw.js
window.rawAsap = (function() {
"use strict";
var module = {};
@mitchellmebane
mitchellmebane / Juqster.js
Created April 18, 2015 18:04
Juqster add any YouTube video
> 42["addSongToPlaylist",{"hubId":"planodomination","song":{"id":"0HR4hp_-kSI","value":"Numa Numa Original Music Video","thumbnail":"https://i.ytimg.com/vi/0HR4hp_-kSI/mqdefault.jpg","duration":"3:35","durationInSeconds":215,"provider":1,"permalink":"https://www.youtube.com/watch?v=0HR4hp_-kSI","label":"Numa Numa Original Music Video"}}]
< 42["songAddedToPlaylist",{"addedSong":{"identifier":"0HR4hp_-kSI","label":"Numa Numa Original Music Video","duration":"3:35","durationInSeconds":215,"thumbnail":"https://i.ytimg.com/vi/0HR4hp_-kSI/mqdefault.jpg","likes":["MitchBot"],"dislikes":[],"addedAt":"2015-04-18T01:46:34.346Z","addedBy":"MitchBot","provider":1,"permalink":"https://www.youtube.com/watch?v=0HR4hp_-kSI","wasRecycled":false},"wasRecycled":false}]
> 42["removeSong",{"hubId":"planodomination","songIdentifier":"0HR4hp_-kSI"}]
< 42["removedSong",{"songIdentifier":"0HR4hp_-kSI"}]
< 42["songRemovedFromPlaylistNotification",{"songLabel":"Numa Numa Original Music Video"}]
@mitchellmebane
mitchellmebane / ServiceModeApp.smali
Created March 28, 2015 23:13
Weird getClass() calls
.line 757
iget-object v0, p0, Lcom/sec/android/RilServiceModeApp/ServiceModeApp;->mOem:Lcom/sec/android/RilServiceModeApp/ServiceModeApp$OemCommands;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v1, 0x1
iget-object v0, p0, Lcom/sec/android/RilServiceModeApp/ServiceModeApp;->mOem:Lcom/sec/android/RilServiceModeApp/ServiceModeApp$OemCommands;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;