Skip to content

Instantly share code, notes, and snippets.

View pixeljammed's full-sized avatar

milo pixeljammed

  • Google
  • London
View GitHub Profile
@clouedoc
clouedoc / Migrating from Arc to Zen Browser.md
Created September 20, 2024 08:57
Migrating from Arc to Zen Browser

A guide to leaving Arc for Zen Browser

The problem with Arc is that it doesn't allow exporting data (history, bookmarks) to a file natively.

One way to do this is to use a script but that only exports Bookmarks and not the history.

I don't really use the bookmarks feature that much; what I really liked about Arc was that it was really easy to navigate to somewhere I already visited.

So, if you're like me, follow this guide and you'll be able to import your browsing history into Zen browser!

@pixeljammed
pixeljammed / SpeedRamp
Last active May 14, 2025 00:29
Dumb video script for YouTube that made me laugh.
(function() {
let increment = 0.01; // Adjust this value to change the increment
let lowerBound = 0.1; // Adjust this value to change the lower bound
let upperBound = 3; // Adjust this value to change the upper bound
let A = 0; // Adjust this value to change the minimum hold time in milliseconds
let B = 2; // Adjust this value to change the maximum hold time in milliseconds
let targetRate = 0.1; // Initialize targetRate with a default value
let holding = false;
let holdTimer;
@osy
osy / mt7922-rz616-hotspot-settings.md
Created March 3, 2024 20:22
MT7922/RZ616 Windows Hotspot Channel Settings

Windows Hotspot allows you to easily create an AP (Access Point) from your existing Wifi card. Many computers such as the ROG Ally have a variant of the MT7922 chipset which supports Wifi 6E and it can be used to create a high bandwidth P2P connection for game and VR streaming. Unfortunately, Windows does not provide much support for configuration of the AP channel and bandwidth. Fortunately, it is possible to change these from some registry entries. Note that you must reboot for the changes to take place.

The location of the registry key is inside HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318} and depends on the order the network devices are installed on your computer. For example, it is HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}\0001 on the ROG Ally. Look at the data for value DriverDesc to confirm that you are in the right key.

WfdGOOperatingChannel

Sets the preferred channel number. Currently unknown i

@stephancasas
stephancasas / AdvancedToolbarWindow.swift
Last active April 17, 2025 03:56
A SwiftUI-compatible window for macOS with advanced toolbar configurability.
//
// AdvancedToolbarWindow.swift
//
// Created by Stephan Casas on 3/17/23.
//
import SwiftUI;
import AppKit;
class AdvancedToolbarWindow<MainContent: View, ToolbarContent: View, TitleToolbarContent: View>: NSWindow, NSToolbarDelegate {
@iandark
iandark / DisablingCleanMyMacHealthMonitor.txt
Created April 26, 2022 03:23
Disabling CleanMyMac X HealthMonitor process
Go to:
/Applications/CleanMyMacX.app/Contents/Library/LoginItems/CleanMyMac X Menu.app/Contents/Library/LoginItems/CleanMyMac X HealthMonitor.app/Contents/MacOS/CleanMyMac X HealthMonitor
Then add to CleanMyMac X HealthMonitor '.old'
and force quit it again in activity monitor
@P4UL-M
P4UL-M / READ ME.md
Last active June 10, 2025 13:14
Send Discord private message to a friend with Siri

Here is how I did a program to send private message on Discord with Siri,

For that I use the Discord API for python which is normally used to control a bot but which I used to control my Discord account.Thanks to that I could send message on discord with an simple python script. For that you must run the bot with your discord account's token and add Bot=False when you launch the client with yourBot.run("your Tokken", bot = False. To get you discord account's token you just need to find it in the navigator windows on any search browser.

Then I use 3 ios apps to add it to Siri:

  • Shortcuts
  • LibTerm
  • Scriptable

LibTerm is a free app that provides access to a command terminal. With that you can execute any python script on your phone and install and import libraries like Discord.py. Also it give you a block in Shorcuts to run any command.

@d12frosted
d12frosted / MarIO.lua
Created June 15, 2015 08:14
MarI/O by SethBling
-- MarI/O by SethBling
-- Feel free to use this code, but please do not redistribute it.
-- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM.
if gameinfo.getromname() == "Super Mario World (USA)" then
Filename = "DP1.state"
ButtonNames = {
"A",
"B",
"X",