Skip to content

Instantly share code, notes, and snippets.

View kosuke14's full-sized avatar

sukru kosuke14

View GitHub Profile
@kosuke14
kosuke14 / sans.json
Created February 16, 2025 09:23
json'd midi stuff
{"header":{"keySignatures":[{"key":"C","scale":"major","ticks":0}],"meta":[],"name":"","ppq":96,"tempos":[{"bpm":128,"ticks":0}],"timeSignatures":[{"ticks":0,"timeSignature":[4,4],"measures":0}]},"tracks":[{"channel":0,"controlChanges":{"0":[{"number":0,"ticks":0,"time":0,"value":0}],"32":[{"number":32,"ticks":0,"time":0,"value":0}]},"pitchBends":[],"instrument":{"family":"piano","number":0,"name":"acoustic grand piano"},"name":"Clav -400cents","notes":[],"endOfTrackTicks":9216},{"channel":0,"controlChanges":{"7":[{"number":7,"ticks":0,"time":0,"value":1},{"number":7,"ticks":0,"time":0,"value":0.7874015748031497},{"number":7,"ticks":0,"time":0,"value":0.7874015748031497},{"number":7,"ticks":0,"time":0,"value":0.7874015748031497},{"number":7,"ticks":0,"time":0,"value":0.7874015748031497},{"number":7,"ticks":9216,"time":45,"value":0.7874015748031497}],"10":[{"number":10,"ticks":0,"time":0,"value":0.5039370078740157},{"number":10,"ticks":0,"time":0,"value":0.5039370078740157},{"number":10,"ticks":0,"time":0,"val
@kosuke14
kosuke14 / skid.lua
Created February 11, 2025 17:16
skidded audio player
-- Simple Sound Player {Enjoy your music (It's Client-Sided, and It works for any games.)}
-- Instances:
local Soundply = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local MainSound = Instance.new("Sound")
local IDBox = Instance.new("TextBox")
local UITextSizeConstraint = Instance.new("UITextSizeConstraint")
local Plypause = Instance.new("TextButton")
@kosuke14
kosuke14 / teapot.lua
Last active February 11, 2025 16:52
teapot for Lua Sandbox not mine
local Tool=Instance.new("Tool")
Tool.Parent=owner.Backpack
NS([==[
local vPlayer=owner
local ls = NLS([[
local rem = script:WaitForChild("RF")
local mouse = game:service("Players").LocalPlayer:GetMouse()
rem.OnClientInvoke = function()
return mouse.Hit.p
end
@kosuke14
kosuke14 / omaha_update_test.sh
Last active January 6, 2025 13:29
a suggestion for murkmod's future ChromeOS updater
#!/bin/bash
lsbval() {
local key="$1"
local lsbfile="${2:-/etc/lsb-release}"
if ! echo "${key}" | grep -Eq '^[a-zA-Z0-9_]+$'; then
return 1
fi
@kosuke14
kosuke14 / alert.js
Created November 8, 2023 09:28
just a boring alert.js without parameters
alert()