- libui cross platform simple ui library that generate native looking ui
note: there's binding for the lib for node here: https://www.npmjs.com/package/libui-node
This file contains hidden or 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
#include <Windows.h> | |
#include <iostream> | |
LONG WINAPI RedirectedSetUnhandledExceptionFilter(EXCEPTION_POINTERS *ExceptionInfo);; | |
int main() | |
{ | |
SetUnhandledExceptionFilter(RedirectedSetUnhandledExceptionFilter); | |
} |
This file contains hidden or 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
#if defined _M_IX86 | |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") | |
#elif defined _M_IA64 | |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") | |
#elif defined _M_X64 |
This file contains hidden or 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
local thread = {} | |
thread.__index = {} | |
function thread.new(callback, timeout) | |
local self = setmetatable({}, thread) | |
self.running = false | |
self.callback = callback | |
self.timeout = timeout |
This file contains hidden or 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
--[[ | |
Script name: Rev autofarm | |
Description: Autofarm for rev. it's really buggy. | |
Game link: https://www.roblox.com/games/2337586413/REV-PUBLIC-BETA?refPageId=03605843-0d33-492a-a127-29a4581d703d | |
--]] | |
local localPlayer = game.Players.localPlayer | |
local function findPlayerCar() | |
for _, v in next, game:GetService("Workspace").Cars:GetChildren() do |
This file contains hidden or 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
function revealAnswer() { | |
for (const elem of document.querySelectorAll(".interactive")) { | |
if (elem.length < 1) | |
continue; | |
if (elem?.children[1]?.style?.visibility) { | |
if (elem.children[1]?.style?.visibility == "hidden") { | |
elem.children[1].style.visibility = "" | |
} | |
} |
This file contains hidden or 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
mkdir output | |
foreach ($file in ls) { | |
$fixedName = (".\output\" + $file.Name.Replace($file.Extension, "") + ".mp3") | |
ffmpeg -i "$file" $fixedName | |
} |
This file contains hidden or 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 NPM Quality of life changes | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Add some quality of life improvenet to npm | |
// @author You | |
// @match http**://www.npmjs.com/** | |
// @grant none | |
// ==/UserScript== | |
function showNotif(notifText) { |