Skip to content

Instantly share code, notes, and snippets.

View thewh1teagle's full-sized avatar
💭
coding

thewh1teagle

💭
coding
  • localhost
  • The martian
View GitHub Profile
"""
wget https://huggingface.co/datasets/thewh1teagle/hebright/resolve/main/knesset.txt.zip
unzip knesset.txt.zip
uv run main.py
"""
from pathlib import Path
import time
import requests
@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@scivision
scivision / CMakeLists.txt
Last active March 14, 2025 19:07
OpenMP with CMake
cmake_minimum_required(VERSION 3.19)
project(OpenMPdemo LANGUAGES C)
find_package(OpenMP COMPONENTS C REQUIRED)
add_executable(hello hello_openmp.c)
target_link_libraries(hello PRIVATE OpenMP::OpenMP_C)
// Serial execution of multiple functions
const compose = (...funcs) =>
funcs.reduce(
(a, b) =>
(...args) =>
a(b(...args)),
);
export const createStore = (reducer, enhancer) => {
if (typeof enhancer === 'function') {
@ishad0w
ishad0w / aveyo_edge_removal.bat
Last active May 12, 2025 12:29
AveYo (Microsoft Edge Removal)
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b
#:: just copy-paste into powershell - it's a standalone hybrid script
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @'
$also_remove_webview = 1
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
$also_remove_widgets = 1
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
$also_remove_xsocial = 1
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap
data = [{"Word":"average","Offset":51100000,"Duration":4700000},{"Word":"household","Offset":55900000,"Duration":4500000},{"Word":"income","Offset":60500000,"Duration":3700000},{"Word":"is","Offset":64300000,"Duration":1300000},{"Word":"up","Offset":65700000,"Duration":1900000},{"Word":"ten","Offset":67700000,"Duration":2100000},{"Word":"percent","Offset":69900000,"Duration":4200000},{"Word":"from","Offset":74200000,"Duration":1800000},{"Word":"four","Offset":76100000,"Duration":2500000},{"Word":"years","Offset":78700000,"Duration":2300000},{"Word":"ago","Offset":81100000,"Duration":4100000},{"Word":"and","Offset":87700000,"Duration":2300000},{"Word":"our","Offset":90100000,"Duration":900000},{"Word":"customers","Offset":91100000,"Duration":4700000},{"Word":"are","Offset":95900000,"Duration":700000},{"Word":"spending","Offset":96700000,"Duration":4700000},{"Word":"twenty","Offset":101500000,"Duration":3200000},{"Word":"percent","Offset":104800000,"Duration":4000000},{"Word":"more","Offset":108900000,"Duration
@TameemS
TameemS / debloatMEmu.md
Last active June 1, 2025 15:11
Debloating & Optimizing MEmu

Inspired by this

More of my guides: Debloating LDPlayer - Debloating Nox (Updated)

Edit 22/8/2021: I have updated MEmu and it seems like it reinstalls the apps and re-enables the services. Repeat steps 5, 7, 8, and 9 if you update MEmu.

Debloating MEmu

In my experience, Nox can be quite slow and choppy, and looks like I'm not the only person with this problem. A lot of people say that MEmu performs better than Nox, and I could agree with that. I have no chopping issues with it so far. But like Nox, there are kinda shady stuff going on.

@naryal2580
naryal2580 / .wsl-extension.sh
Created August 26, 2020 11:08
Either source this on .bashrc or copy and paste it to your .bashrc of WSL you are working on, and forget appending .exe on commands like powershell and cmd
trap 'BASH_CMD=$BASH_COMMAND' DEBUG
command_not_found_handle () {
only_cmd=${BASH_CMD%% *}
if type "$only_cmd.exe"
then
only_args=${BASH_CMD#* }
cmd="$only_cmd.exe $only_args"
$cmd
else
@shaybensasson
shaybensasson / gnome-terminal
Last active November 7, 2021 14:45
Opening a new tab in an existing GNOME terminal window
#!/bin/bash
# from here: https://planet.jboss.org/post/opening_a_new_tab_in_an_existing_gnome_terminal_window
# Path: /usr/local/bin/gnome-terminal
if [ "x$*" != "x" ]; then # any args?
/usr/bin/gnome-terminal "$@"
exit 0
fi
# first, inspect the current window
@carstenschwede
carstenschwede / Zoom-HowToRecordMultipleBreakoutRoomsAtOnce.md
Last active March 21, 2025 04:33
How to record multiple breakout rooms at once in Zoom.

How to record multiple breakout rooms in Zoom at the same time:

  • Requirements

    • OS: Windows or Mac (Linux not tested, might work as well)
    • a Zoom account and Desktop installation (duh)
  • General idea

    • Host meeting under main account (main instance)
    • Open as many additional Zoom instances as there are breakout rooms (breakout instances)
    • For each breakout instance, join the meeting via meeting id + password and give each an easily identifiable name (e.g. "Breakout[1]", "Breakout[2]", ... )