Skip to content

Instantly share code, notes, and snippets.

View scrypt-kitty's full-sized avatar
🐒

scrypt-kitty

🐒
View GitHub Profile
@scrypt-kitty
scrypt-kitty / cursor-manager.sh
Created March 1, 2026 16:10 — forked from hatemjaber/cursor-manager.sh
A script used to install, uninstall, and cleanup traces of cursor from an Ubuntu based system.
#!/bin/bash
# Configuration
INSTALL_DIR="$HOME/.local/opt/cursor"
APPIMAGE_NAME="cursor.appimage"
APPIMAGE_PATH="$INSTALL_DIR/$APPIMAGE_NAME"
WRAPPER_PATH="$HOME/.local/bin/cursor"
ICON_PATH="$HOME/.local/share/icons/cursor.png"
DESKTOP_ENTRY_PATH="$HOME/.local/share/applications/cursor.desktop"
@scrypt-kitty
scrypt-kitty / tutorial.md
Created February 27, 2026 02:01 — forked from ahmouse15/tutorial.md
How to install VS Code extensions manually (e.g. for VSCodium)

Background

The FOSS variants of VSCode, such as VScodium or Code-OSS, are not allowed to access the extension marketplace directly within the program (thanks Microsoft). Since Microsoft blocks that, the next best thing was to just go to the extension's page on VS Marketplace, and hit the nice big "Download" button. Recently, however, Microsoft realized they were being far too kind to us open source users, so they decide to remove the download button and leave us to figure out ourselves (thanks again, Microsoft).

There are a number of guides like this scattered online, but most of them are outdated, and none of them provide a convenient, automated way to do it. While I wrote this script myself, I originally intended to host it on a website, but

# this file contains keys needed for decryption of 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)
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
b5d8ab06ed7f6cfc529f2ce1b4ea32fd # Starbuck Ancast
9a164ee15ac7ceb64d3cc130094095f6 # 007 Legends [EUR, NUS]
@scrypt-kitty
scrypt-kitty / SelfManageCredentialsAndRequireMFA.json
Created January 19, 2024 15:13 — forked from phaseOne/SelfManageCredentialsAndRequireMFA.json
AWS IAM Policy to self-manage Credentials and require MFA, but allow the user to change their password on first login
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowViewAccountInfo",
"Effect": "Allow",
"Action": [
"iam:GetAccountPasswordPolicy"
],
"Resource": "*"
@scrypt-kitty
scrypt-kitty / win11-mouse-scroll-reverse.md
Created October 1, 2023 03:30 — forked from gagarine/win11-mouse-scroll-reverse.md
Reverse Mouse Wheel scroll in Windows 11 (Natural Mode like MacOS)

Reverse Mouse Wheel scroll in Windows 11

Chose between natural mode like MacOS or Windows default mode.

Step 1: Open Windows PowerShell in Administrator Mode.

You can do this by going to Start Menu, type PowerShell, and click Run as Administrator.

Step 2: Copy the following code and paste it in the command line of Windows PowerShell:

$mode = Read-host "How do you like your mouse scroll (0 or 1)?"; Get-PnpDevice -Class Mouse -PresentOnly -Status OK | ForEach-Object { "$($_.Name): $($_.DeviceID)"; Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters" -Name FlipFlopWheel -Value $mode; "+--- Value of FlipFlopWheel is set to " + (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters").FlipFlopWheel + "`n" }
@scrypt-kitty
scrypt-kitty / ssh-key-generation.md
Created September 14, 2022 17:44 — forked from cybersamx/ssh-key-generation.md
Generate a new SSH key pair

Mac and Linux

  • Open Terminal

  • Check if you already have a SSH keypair generated. Do the following:

    $ ls -la ~/.ssh/id_rsa*
    

If the files exist, you already have SSH installed. IMPORTANT: But if you wish to regenerate the SSH key pair, at least back up your old SSH keys.

@scrypt-kitty
scrypt-kitty / gist:4d405496b89836e388e72021e321fe77
Created July 13, 2022 20:21 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@scrypt-kitty
scrypt-kitty / restful_app.py
Created April 2, 2017 01:00 — forked from w0rm/restful_app.py
RESTful controller with web.py
import web
import json
from restful_controller import RESTfulController
urls = (
r'/resources(?:/(?P<resource_id>[0-9]+))?',
'ResourceController',
)