Skip to content

Instantly share code, notes, and snippets.

View kero3009destiny's full-sized avatar
🍦
yep

Yallreadyknowwhoitis kero3009destiny

🍦
yep
  • İstanbul
View GitHub Profile
@rlaphoenix
rlaphoenix / _restream_cenc.md
Last active January 8, 2025 21:14
Ways to re-stream and decrypt MPEG-CENC live streams. (or just play on desktop)

Disclaimer

  1. All content keys were redacted, they should be 128-bit hex strings.
  2. These methods involve the use of ffmpeg and -cenc_decryption_key which is not part of stable releases as of July 2022. Use nightlies from gyan.dev or some other autobuild in the meantime. Hopefully it gets added in the next stable release.
  3. On my end none of these were particularly reliable. This may change in the future as FFmpeg evolves. The direct method of playing with ffplay is currently the most reliable out of the listed methods.

xTeVe (for Emby/Plex)

@KenoLeon
KenoLeon / metaMaskSign.html
Created March 13, 2022 01:41
Standalone MetaMask Signer for Medium Article tutorial
<!doctype html>
<html lang="en">
<!-- Standalone MetaMask Signer for A Medium Article: Signing messages in Ethereum medium.com/@k3no-->
<!-- Not to be used in production, just for educational purposes. -->
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
@n1sh1th
n1sh1th / cordova-enable-webview-debug.js
Created October 16, 2021 05:16
Cordova - Enable Webview Debugging
// Usage : frida -U -f bundle_id -l cordova-enable-webview-debug.js --no-pause
Java.perform(function() {
var Webview = Java.use("android.webkit.WebView")
Webview.loadUrl.overload("java.lang.String").implementation = function(url) {
console.log("[+]Loading URL from", url);
this.setWebContentsDebuggingEnabled(true);
this.loadUrl.overload("java.lang.String").call(this, url);
}
});
@lethalbit
lethalbit / pride.py
Last active August 11, 2023 20:57
New and improved 24-bit ANSI pride flags for your terminal
#!/usr/bin/env python3
# SPDX-License-Identifier: BSD-3-Clause
flags = {
'trans': [
('091', '206', '250'),
('254', '169', '184'),
('255', '255', '255'),
('254', '169', '184'),
('091', '206', '250'),
@donn
donn / iPhone Region Codes.md
Last active March 12, 2025 18:58
iPhone Region/Country Codes

iPhone Country Codes

Why I made this

The model regions on Apple wikis are missing some entries- and the entries are lacking some information that I would be critical for international buyers: there are some extreme differences between features in some regions: FaceTime support, Dual SIM support, etc.

What's worse is some regions have multiple codes, and sometimes even imported devices from other regions.

Unfortunately, Apple does not seem to acknowledge these region numbers exist at all and resort to nebulous claims about the feature differences, and it doesn't help that there are some conflicting reports on the internet.

So I'm going to try my best to maintain an up-to-date list. Any and all confirmations, additions and denials here would be extremely helpful. Please just leave a comment.