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
#Requires AutoHotkey v2.0 | |
::?!::‽ | |
::!?::‽ |
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
use std::num::NonZeroU64; | |
fn main() { | |
triangle(40); | |
cube(40); | |
} | |
fn cube(size: u64) { | |
match NonZeroU64::new(size) { | |
Some(_) => {}, |
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
Wooting Lekker 60 | |
Wooting Lekker 45 | |
Geon Rapter HE | |
Gateron Magnetic Jade | |
Gateron KS-20 Magnetic (White or Orange) | |
Gateron KS37B | |
Milktooth Everglide's Sticky Rice | |
Milktooth Wuque Studio's WS Dash |
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
// Code written by Mr.Ender for educational purposes only, version 2 | |
use std::{process::Command, io}; | |
fn main() { | |
let host_name = Command::new("sh") | |
.arg("-c") | |
.arg("hostname") | |
.output() | |
.expect("failed to get host name"); |
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
import pygame | |
import random | |
pygame.init() | |
width, height = 800, 600 | |
screen = pygame.display.set_mode((width, height)) | |
pygame.display.set_caption("Agar.io Clone") | |
clock = pygame.time.Clock() | |
class Player: |
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
---@diagnostic disable: undefined-global | |
-- Retro Gadgets | |
local spriteFont = gdt.ROM.System.SpriteSheets["StandardFont"] | |
local sine : AudioSample = gdt.ROM.User.AudioSamples["sine.wav"] | |
local death : AudioSample = gdt.ROM.User.AudioSamples["death.wav"] | |
local win : AudioSample = gdt.ROM.User.AudioSamples["win.wav"] | |
local ticksPerSpawn = 45 | |
local ticks = 0 |
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
import docopt | |
const doc = """ | |
Usage: | |
Program (about | a) | |
Program (reply | r) <prase> [options] | |
Options: | |
--forever Loops forever | |
""" |