Skip to content

Instantly share code, notes, and snippets.

💍
Got Married

Jamie Holding cubehouse

💍
Got Married
Block or report user

Report or block cubehouse

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pinning.js
// start with:
// frida -U -l pinning.js -f [APP_ID] --no-pause
Java.perform(function () {
console.log('')
console.log('===')
console.log('* Injecting hooks into common certificate pinning methods *')
console.log('===')
var X509TrustManager = Java.use('javax.net.ssl.X509TrustManager');
@cubehouse
cubehouse / Dockerfile
Created Aug 12, 2018
Build protobuf files for Dart - Docker image
View Dockerfile
FROM ubuntu
RUN mkdir /proto
WORKDIR /proto
RUN apt update && apt install apt-transport-https gnupg2 curl unzip wget -y
RUN sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
RUN sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
@cubehouse
cubehouse / test.dart
Created Aug 12, 2018
Flutter Tab Crash #11895
View test.dart
import 'package:flutter/material.dart';
void main() {
runApp(TabBarDemo());
}
class TabBarDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@cubehouse
cubehouse / index.js
Created Jul 8, 2018
Efteling New App - July 2018
View index.js
const Moment = require("moment-timezone");
const Park = require("../park");
const GeoLocation = require("../geoLocation.js");
const s_apiVersion = Symbol();
const s_apiKey = Symbol();
const s_searchURL = Symbol();
const s_waitTimesURL = Symbol();
@cubehouse
cubehouse / tokyodisney.patch
Created Jun 3, 2018
Quick fix for Tokyo wait times
View tokyodisney.patch
diff --git a/lib/disneytokyo/index.js b/lib/disneytokyo/index.js
index 6a6e26a..0c95059 100644
--- a/lib/disneytokyo/index.js
+++ b/lib/disneytokyo/index.js
@@ -64,7 +64,7 @@ class DisneyTokyoPark extends Park {
var rideObject = this.GetRideObject({
id: ride.ID,
- name: rideData[ride.ID]
+ name: ride.Name
@cubehouse
cubehouse / DisableASW.bat
Created Apr 18, 2018
Quick bat file to disable Space Warp on Oculus Rift
View DisableASW.bat
echo server:asw.Off > "TEMP.txt"
echo exit >> "TEMP.txt"
call "C:\Program Files\Oculus\Support\oculus-diagnostics\OculusDebugToolCLI.exe" -f "%~dp0\TEMP.txt"
del "TEMP.txt"
View AnimatedImage.cpp
#include "AnimatedImage.h"
void UAnimatedImage::SetCurrentFrame(int32 Frame)
{
CurrentFrame = Frame;
if (CurrentFrame < 0) CurrentFrame = 0;
if (CurrentFrame > TotalFrames - 1) CurrentFrame = TotalFrames - 1;
SynchronizeProperties();
}
@cubehouse
cubehouse / WDWEntertainmentAreas.js
Created Nov 19, 2017
Walt Disney World - Entertainment Area Opening Times Fetching
View WDWEntertainmentAreas.js
// include themeparks library
const themeparks = require("themeparks");
// extend random Disney World park and override few bits we need (WDW Magic Kingdom has most the configuration already that we need)
class DisneysTyphoonLagoon extends themeparks.Parks.WaltDisneyWorldMagicKingdom {
constructor(options = {}) {
options.name = options.name || "Disney's Typhoon Lagoon";
options.latitude = options.latitude || 28.3650;
@cubehouse
cubehouse / FetchCharacterAppearances.js
Created Jan 31, 2017
Fetch Disney character appearances for Disneyland California using themeparks library
View FetchCharacterAppearances.js
var ThemeParks = require("themeparks");
var MagicKingdom = new ThemeParks.Parks.DisneylandResortMagicKingdom();
// https://api.wdpro.disney.go.com/bulk-service/snapshot/DLR-mobile-character-appearances
// for reference: above URL requests these two URLs at the same time (hense the "bulk-service")
// https://api.wdpro.disney.go.com/global-pool-override-B/bulk-service/snapshot/DLR-mobile-dl-character-appearances
// https://api.wdpro.disney.go.com/global-pool-override-B/bulk-service/snapshot/DLR-mobile-ca-character-appearances
MagicKingdom.GetAPIUrl({
@cubehouse
cubehouse / bp_parse.js
Created Dec 24, 2016
Factorio BluePrint String Parser in NodeJS
View bp_parse.js
var input = `H4sIAAAAAAAA/42R0WrDMAxFfyX0OYImg74Uf0vxbK0V2HImOWHD5N/ndKOsacn2FAjn5lzd+NSE5G
xoTqYgZ8qEakphG9HsrCrG10B8hmjdhRih37VD0oolNuXDwEv7afbz3P4kNFrJQKwoGWXFdle29STo
ri8Pt1xIZ9JMDtwFNcNQzTQhDJIm8usP7e+df7dclYzoaYyAodaQ6hxSwPvA0hS6/531cFV/i71Z3R
yjex5bjSH4PtbnsxV+VdxwPagONUYu8fKniT0uyMaW1fFN9ZvUPB8F8yjcnI7I/gvQdo5aWgIAAA==`;
var crypto = require("crypto");
var zlib = require("zlib");
var LuaVMJS = require('lua.vm.js');
You can’t perform that action at this time.