Skip to content

Instantly share code, notes, and snippets.

@claus
claus / _app.js
Created May 14, 2020 05:35
Restore scroll position after navigating via browser back/forward buttons in Next.js
import useScrollRestoration from "utils/hooks/useScrollRestoration";
const App = ({ Component, pageProps, router }) => {
useScrollRestoration(router);
return <Component {...pageProps} />;
};
export default App;
@MuTLY
MuTLY / keys.txt
Last active November 27, 2026 05:34
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild
566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU
082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN
@y-polek
y-polek / doze_mode_adb_commands.sh
Last active November 27, 2026 05:31
adb commands to test Doze mode
#! /bin/zsh
# Buttery powered state
adb shell dumpsys battery | grep powered
# Unplug battery
adb shell dumpsys battery unplug
# Reset battery
adb shell dumpsys battery reset
@ih2502mk
ih2502mk / list.md
Last active November 27, 2026 05:25
Quantopian Lectures Saved
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@laiso
laiso / SKILL.md
Last active November 27, 2026 05:05
agent-teams-rex: reproduce Claude Code Agent teams with the Rex CLI
name agent-teams-rex
description Reproduce Claude Code's Agent teams (a lead plus teammates working through a shared task list and direct messages) with the Rex CLI, using Rex sessions on a machine where Rex Server runs. Use when the user asks to "work as a team", "spawn teammates and split the work", or runs /agent-teams-rex.

Agent teams for Rex

This session is the lead. Teammates are separate Rex sessions started with rex new. The CLI's shared task list, teammate messaging, and plan approval are reproduced with Rex commands and a shared file.

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@dori4n
dori4n / Office 2024 ISO Links at Microsoft.md
Created January 13, 2025 06:30
Office 2024 ISO Download Links at Microsoft
@jgamblin
jgamblin / commonssids.txt
Created November 28, 2016 02:00
5000 most of common SSID names from https://wigle.net/stats#ssidstats
ssid
xfinitywifi
linksys
<no ssid>
BTWiFi-with-FON
NETGEAR
Ziggo
dlink
BTWifi-X
default
#EXTM3U
#EXTINF:0 group-title="General",13 C
#EXTGRP:General
#EXTVLCOPT:network-caching=1000
http://181.78.79.131:8000/play/a0pm
#EXTINF:0 group-title="Entretenimiento",A&E HD
#EXTGRP:Entretenimiento
#EXTVLCOPT:network-caching=1000
http://181.78.79.131:8000/play/a0mt
#EXTINF:0 group-title="Entretenimiento",AE Mundo