This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function convert { | |
filename=$(echo "$1" | cut -f 1 -d '.') | |
newFilename=${filename}_HD.mkv | |
if [ -f "$newFilename" ]; then | |
echo \* $newFilename already exists! | |
else | |
COLORS=$(ffprobe -show_streams -v error "$1" |egrep "^color_transfer|^color_space=|^color_primaries=" |head -3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(TabBarDemo()); | |
} | |
class TabBarDemo extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "AnimatedImage.h" | |
void UAnimatedImage::SetCurrentFrame(int32 Frame) | |
{ | |
CurrentFrame = Frame; | |
if (CurrentFrame < 0) CurrentFrame = 0; | |
if (CurrentFrame > TotalFrames - 1) CurrentFrame = TotalFrames - 1; | |
SynchronizeProperties(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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({ |
NewerOlder