Skip to content

Instantly share code, notes, and snippets.

View TheGreatRambler's full-sized avatar
🎯
Focusing

TheGreatRambler TheGreatRambler

🎯
Focusing
View GitHub Profile
@OrionReed
OrionReed / dom3d.js
Last active May 15, 2025 11:15
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯

17.0.0 Save File Management

Hello! It's been a while since I've done any write-ups, but I thought I'd do one to (hopefully) bring a little clarity to a situation that's been causing a lot of confusion and misinformation.

I'm thinking I'll go through what the problem is and why it happens. So, I guess, let's dive in:

What's happening?

Some people are finding that upon updating to 17.0.0, their consoles are getting a blackscreen and refusing to boot further.

@tiran
tiran / cpython_wasm_info.md
Last active July 10, 2022 23:13
CPython on WASM: macros and constants

CPython WASM

CPython

>>> import sys, os, platform
>>> sys.platform
'emscripten'
>>> os.name
'posix'
@HimDek
HimDek / Install Windows Subsystem for Android on any Edition of Windows 11 non Insider.md
Last active May 15, 2025 02:51
This Guide will show you how to Install Windows Subsystem for Android or WSA on any Edition of Windows 11 non Insider release.

Install Windows Subsystem for Android on Windows 11 non Insider

WSA or Windows Subsystem for Android is a Tool that allows Windows to run Android Apps directly without using any emulator. The problem is Windows Subsystem for Android is currently only available through preview via the Beta Channel of the Windows Insider Program. But if you follow this guide, you don't have to be in Windows Insider Program to try it out. The only thing you need is Windows 11 installed and some patience.

Prerequisites:

  • A Device with any version and Edition of Windows 11 installed.
  • Internet Connection.
  • Hyper-V enabled.

Enable Hyper-V:

@chipbuster
chipbuster / benchmark_build.py
Last active March 4, 2024 21:19
Rust Compilation Benchmarks
# A script to automate the timings of Rust compilation benchmarks used at
# https://www.reddit.com/r/rust/comments/qgi421/doing_m1_macbook_pro_m1_max_64gb_compile/
import sys,os
import subprocess
import tempfile
import time
import json
# You need to have the wasm32-unknown-unknown target installed, use
# `rustup target install wasm32-unknown-unknown` to get it.
@Ancientwood
Ancientwood / chelaile.php
Last active January 13, 2025 08:42
chelaile
<?php
class chelaile
{
// 城市信息接口
private $citylist_url = 'https://web.chelaile.net.cn/cdatasource/citylist';
// 附近站点线路及信息
private $homePageInfo = 'https://api.chelaile.net.cn/bus/stop!homePageInfo.action';
//实时接口
private $lineDetail = 'http://api.chelaile.net.cn/bus/line!lineDetail.action';
//公交车细节

This guide has been moved to my blog

Old post (not updated!)Most Switch communications are over TLS - this includes NEX and Eagle communications (for Nintendo Switch Online)* as well as other servers such as BAAS (friends/status) and NPNS (notifications)

*NPLN, the new Switch online servers that Monster Hunter Rise demo used, cannot be dumped with Charles currently as it doesn't support gRPC - use grpc-dump to dump these communications - the gPRC section will explain this better.

@nil0x42
nil0x42 / Get_Early_Stargazers.graphql
Created September 21, 2020 11:31
[OSINT] Get early stargazers of a GitHub repository for org/user info gathering
# Get_Early_Stargazers #OSINT #recon trick, by @nil0x42
# Get list of first people to star a GitHub repository.
# Those are more likely to be closely connected to target org/user
# Run this query with wanted owner/name in GitHub GraphQL explorer:
# - https://developer.github.com/v4/explorer/
query Get_Early_Stargazers {
repository(owner: "sherlock-project", name: "sherlock") {
@muff-in
muff-in / resources.md
Last active May 14, 2025 15:29
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@rossmacarthur
rossmacarthur / usb_hid.h
Created July 7, 2020 16:49
Nintendo Pro Controller USB descriptor as C header
// Result of running https://gist.github.com/ToadKing/b883a8ccfa26adcc6ba9905e75aeb4f2
// through https://github.com/abend0c1/hidrdd
//
//--------------------------------------------------------------------------------
// Decoded Application Collection
//--------------------------------------------------------------------------------
/*
05 01 (GLOBAL) USAGE_PAGE 0x0001 Generic Desktop Page
15 00 (GLOBAL) LOGICAL_MINIMUM 0x00 (0) <-- Info: Consider replacing 15 00 with 14