Skip to content

Instantly share code, notes, and snippets.

View TayIorRobinson's full-sized avatar
🦊
they/them

Taylor TayIorRobinson

🦊
they/them
View GitHub Profile
@TayIorRobinson
TayIorRobinson / chromiumUpdater.js
Last active September 11, 2024 11:30
macOS Chromium Marmaduke build updater
// To use this simply install NodeJS (https://nodejs.org/)
// Then run node chromiumUpdater.js.
// You might want to put it in your crontab.
// Set to true for ASi builds
// Set to false for Intel builds
const APPLE_SILLICON = false
// Ignore No-Sync builds?
const SYNC_ONLY = true
// Show notifications
@TayIorRobinson
TayIorRobinson / tays-roblox-theme.user.css
Created April 5, 2021 01:42
Taylor's Roblox Theme!
/* ==UserStyle==
@name Taylor's Roblox Theme
@description It's a Roblox theme & it's made by Taylor: It's Taylor's Roblox Theme!
@namespace robins.one
@author Taylor Robinson
@version 2.0.0
@preprocessor stylus
@var color tays-accent-color "Accent Colour" #FF2A2A
@var checkbox tays-font "Use old font" 1
@var checkbox tays-animations "Animations" 1
/* ==UserStyle==
@name Old Robux Logo
@description Returns the old Robux logo
@namespace robins.one
@author Taylor Robinson
@version 1.0.0
@preprocessor stylus
==/UserStyle== */
@-moz-document domain("roblox.com") {
@TayIorRobinson
TayIorRobinson / tuyaha_demo.py
Created January 23, 2022 03:59
Control Tuya light bulb with Python using Tuyaha library
import time
import tuyaha
tuya = tuyaha.TuyaApi()
devices = tuya.init("[email protected]", "hunter2", "44", "smart_life", "eu")
lights = list(filter(lambda dev: dev.dev_type == "light", devices))
light = lights[0]
print("Hello, " + light.name() + "!")
print("current brightness: " + str(light.brightness()))
@TayIorRobinson
TayIorRobinson / Program.cs
Last active March 15, 2022 21:15
fuck you, transes your computer
#define THROW_ON_ERROR
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Blitter {
class Program {
[DllImport("user32.dll", EntryPoint = "GetDC")]
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://marcan.st/transf/wiisettings/US2/iplsetting.ash/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=marcan.st
// @grant none
// ==/UserScript==
@TayIorRobinson
TayIorRobinson / mprls.py
Created October 22, 2023 00:53
MicroPython MPRLS library
# MicroPython library for the Adafruit MPRLS/Honeywell MPR LS module.
# 22/10/2023 - Taylor Robinson (https://robins.one)
# Example:
"""
from machine import I2C, Pin
from mprls import MPRLS
i2c = I2C(id=1,sda=Pin(26),scl=Pin(27))
mprls = MPRLS(i2c)
@TayIorRobinson
TayIorRobinson / vappypasta.swift
Created November 27, 2023 22:01
i should not be allowed to use Xccode
import Foundation
import CoreGraphics
import ApplicationServices
func GetCGEventCharacter(evt: CGEvent) -> Character {
var char = UniChar()
var length = 0
evt.keyboardGetUnicodeString(maxStringLength: 1, actualStringLength: &length, unicodeString: &char)
return Character(UnicodeScalar(char)!)
}
@TayIorRobinson
TayIorRobinson / amazon-archive.user.js
Last active June 26, 2025 13:00
UserScript to return the 'Archive order' button back to the Amazon order history page.
// ==UserScript==
// @name Return Amazon Archive Button
// @namespace http://robins.one/
// @version 2025-06-26
// @description Adds the 'Archive order' button back to the Amazon order history page.
// @author Taylor
// @match *://*.amazon.com.au/gp/*/order-history*
// @match *://*.amazon.com.au/your-orders/*
// @match *://*.amazon.com.be/gp/*/order-history*
// @match *://*.amazon.com.be/your-orders/*
@TayIorRobinson
TayIorRobinson / copy-shapekey-values.py
Created August 25, 2025 16:16
Copy shape key values to another mesh in Blender
srcMesh = bpy.data.meshes['Mesh.017']
tgtMesh = bpy.data.meshes['Mesh.002']
# Usage:
# Copy script to Notepad (or similar) so you can edit the names above
# The mesh names are what appear at the top of the Properties window when you have the green mesh data tab selected (ie the page where you can see shape keys)
# At the top select 'Scripting' tab (from the row that has 'Layout', 'Modelling', 'UV Editing', 'Shading', etc)
# In the Python console window (the window that has green text 'PYTHON INTERACTIVE CONSOLE') paste the entire code in with your edited names
def keysToDict(keys):