Skip to content

Instantly share code, notes, and snippets.

View Inve1951's full-sized avatar
💾

square Inve1951

💾
View GitHub Profile
@T-Maxxx
T-Maxxx / gist:50cfdfa5a6eeefbd6ca7e434d1c80b71
Last active April 23, 2023 04:18
IW3 engine UI script "operands" complete list
NOOP
)
*
/
%
+
-
!
<
<=
const std = @import("std");
const net = std.net;
const fs = std.fs;
const os = std.os;
pub const io_mode = .evented;
pub fn main() anyerror!void {
var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){};
const allocator = &general_purpose_allocator.allocator;
@noodlebox
noodlebox / README.md
Last active October 13, 2022 00:40
Self-installer for BetterDiscord plugins

SelfInstaller.js

This snippet can be added to your BetterDiscord plugins to provide a simple, unintrusive self-installer.

Why do I need this?

A user downloads your plugin for BetterDiscord. Having only skimmed the #faq, he immediately double-clicks it (as he is wont to do with executable files from the internet). Then, a mysterious entity known as the Windows Script Host either spits out a non-sensical error message, or worse, provides no feedback at all. Soon afterwards, he suffers the harsh mocking of the more knowledgeable users of #support.

You can save him this embarassment.

You can save the valuable time of everyone in #support.

@loklaan
loklaan / README.md
Last active January 12, 2019 13:58
Knockout + React

Knockout & React, in harmony

Bless

@jed
jed / LICENSE.txt
Created May 20, 2011 13:27 — forked from 140bytes/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE