Skip to content

Instantly share code, notes, and snippets.

View djibe's full-sized avatar

JB djibe

View GitHub Profile
@djibe
djibe / windows11-24H2-tpm-secureboot.md
Last active June 11, 2025 10:20
Install Windows 11 24H2 without TPM and Secure Boot requirements

Install Windows 11 24H2 without TPM and Secure Boot requirements

  1. Create a Windows 11 ISO with Microsoft's Media Creation Tool
  2. Install Setup Patchium and run it (or try latest Rufus version directly and patch from there)
  3. Home tab: Select ISO, wait during processing
  4. Go to Install > Uncheck Remove upgrade and Check Disable Windows 11 compatibility restrictions, click Apply
  5. Optional: To install without a Microsoft account, go to Install OOBE tab. Click Integrate lumOOBE. This will break sysinstall.
  6. Click on Create ISO button
  7. Use Rufus or Ventoy (prefered) to run installation from a USB drive
@manero6
manero6 / sideload-magisk.md
Created September 21, 2023 13:29
Step-by-step guide on how I install Magisk using adb
@djibe
djibe / wsl-windows11.md
Last active March 12, 2025 20:56
Install WSL2 in Windows 11

WSL 2 (Windows Subsystem for Linux v2) for Windows 11 installation

Install WSL components

Check Windows Update is active.

Open Start menu: search for exploit > click on "Exploit protection" result.

Go to Program settings tab. Search for C:\WINDOWS\System32\vmcompute.exe and vmwp.exe.

@RickCogley
RickCogley / 1. Readme.md
Last active December 1, 2024 13:57
Deploy Hugo to Deno Deploy via Github Actions

Background

Deno Deploy is an excellent, performant and cost-effective service geared toward hosting Deno apps at the edge. It can easily host a folder of static HTML files, if you provide an index.ts to launch something like "oak" to serve them (example index.ts below).

(It's important to note that it's still officially considered beta as of May 2023, and there have been some surprising periods of downtime over the past few months... just be sure to keep that in mind)

Hugo is a phenomenally fast-building and mature SSG, which can produce a folder of static files, but requires a build step like hugo --gc --minify --verbose --baseURL=$HUGOBASEURL --ignoreCache to generate them.

Below is a yaml file you would place in your project's .github/workflows folder. If you link your Deno Deploy project using Github Actions instead of specifying an index file, it will defer to what's in this. In this case, the Hugo files generated into public are being serv

YouTube IFRAME embed for faster page loads in privacy enhanced mode
https://magnushelander.se/youtube-no-cookies-embed-privacy/
@djibe
djibe / css-memo.md
Last active November 4, 2024 17:41
State of CSS 2024 Memo

State of CSS 2024 Memo

Reset CSS

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}
@BlueSwordM
BlueSwordM / Simple SVT-AV1 Beginner Guide Part 1.md
Last active June 12, 2025 15:27
Simple SVT-AV1 Beginner Guide Part 1

Since we're dealing with simpler AV1 encoding, that does mean we'll be eskewing aomenc-av1, since it requires 2-pass encoding to be able to take advantage of it, and I use it externally since I have access to a special build.

Now, let's get on with the simple guide.

You'll first need to be reasonably competent with command line builds or use a recent up to date ffmpeg GUI with support for SVT-AV1.

As such, I would recommend getting a master git ffmpeg build for the operating system of your choice right here:

https://github.com/BtbN/FFmpeg-Builds

@djibe
djibe / windows10-command-tweaks.md
Last active April 1, 2025 17:20
Windows 10 Command Tweaks

Windows 10 and 11 optimizations

Minimal script

:: Check for updates
%windir%\system32\usoclient ScanInstallWait
:: Set Powermode
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61
@elejke
elejke / install-conda.sh
Last active April 12, 2025 07:20 — forked from arose13/install-conda.sh
Install Miniforge (Minimal conda installation) in Ubuntu arm64 / aarch64
# Setup Ubuntu
sudo apt update --yes
sudo apt upgrade --yes
# Get Miniforge and make it the main Python interpreter
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh -O ~/miniforge.sh
bash ~/miniforge.sh -b -p ~/miniforge
rm ~/miniforge.sh
echo "PATH=$PATH:$HOME/miniforge/bin" >> .bashrc
@mrintrepide
mrintrepide / AV1 Encode.md
Last active July 1, 2025 08:13
AV1 quick encode with SVT-AV1

SVT-AV1 is the fastest multithreaded AV1 encoder
You can download up to date BtbN ffmpeg build with latest STV-AV1 code.

Aom-av1 is the official av1 decoder/encoder but it's the slowest and lacks of a real massive multithreading.
Rav1e is a xiph encoder project. It's also very slow but you can use multithreading with tiles.
Dav1d is a veryfast AV1 VLC decoder project.

Svt-av1 is an heavy multithreading intel decoder and encoder. It produce good quality but bigger file size.
It can produce 8 and 10 bit video with CRF (default), CQP, VBR and CBR (test).
Two pass are also available with standalone SvtAv1EncApp but not in ffmpeg.