This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)!) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==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") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |