Skip to content

Instantly share code, notes, and snippets.

Avatar
🌲
PINE GANG 😱😱😜🎯🙌📟😰👿😇🛠🤨🧟👹👹

Wesley donnaken15

🌲
PINE GANG 😱😱😜🎯🙌📟😰👿😇🛠🤨🧟👹👹
View GitHub Profile
@donnaken15
donnaken15 / bytebeat.c
Created Feb 17, 2021
bytebeat sounds i might use
View bytebeat.c
// cool sounding alternating notes
((t)/(bpm/60)*(4-(1*(((t)/(bpm))%(bpm)>(bpm/2)))));
bpm=167;
@donnaken15
donnaken15 / ignore.Designer.cs.gitattributes
Created Feb 10, 2021
disable C# from being your main repo language (if it isn't) if you have an interface
View ignore.Designer.cs.gitattributes
*.Designer.cs linguist-detectable=false
@donnaken15
donnaken15 / FILE.ASM
Last active Feb 23, 2021
Flat assembler: reading files, using fopen+fread
View FILE.ASM
format PE GUI 3.1
use16
align 1
entry start
heap 0
stack 0
include 'win32a.inc'
@donnaken15
donnaken15 / CommandLineToArgvA.asm
Created Jan 19, 2021
I HATE COMPUTERS@Q#TVH*&T@$EY(WIOQV%T (NM@#QV%EJTN%CJR(YKN*TEQWTY(N%$R
View CommandLineToArgvA.asm
; STILL NOT FINISHED YET
invoke GetCommandLineA
cmp BYTE PTR eax, '"'
je spacedpath
jne unspacedpath
spacedpath:
inc eax
cmp BYTE PTR EAX, '"'
jne spacedpath
@donnaken15
donnaken15 / !StreamlabLayout
Last active Jan 17, 2021
my code and settings for my streamlabs layout
View !StreamlabLayout
chat box settings:
base theme: clean
badges: all enabled
extra emotes: bTTV, FFZ
back color: #010101
text color: #ffffff
font size: 20px
hide messages after: disabled
chat delay: 0
message animations: no
@donnaken15
donnaken15 / 12thEngineeringMusic
Last active Jan 25, 2021
arduino code from my engineering class. for hardware, refer to this image on how to setup hardware or tinkercad circuit https://i.ibb.co/wdphB27/image.png
View 12thEngineeringMusic
school stuff i can actually get into
wow
@donnaken15
donnaken15 / W32base.cpp
Last active Jan 4, 2021
copy paste for windows dialog applications in c++
View W32base.cpp
#include <Windows.h>
static LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
static HWND hWnd;
@donnaken15
donnaken15 / gm4mdtest.md
Created Nov 11, 2020
gamemaker md test
View gm4mdtest.md
draw_set_font(courier)
draw_set_halign(fa_right)
draw_set_valign(fa_bottom)
draw_set_color(c_black)
if fps<room_speed/2{draw_set_color(make_color_rgb(255,8.5*((fps/room_speed)*60),0))}
if fps>=room_speed/2{draw_set_color(make_color_rgb(255-(8.5*(((fps/room_speed)*60)-30)),255,0))}
draw_text(view_wview[0],12,"FPS:"+string(fps)+"/"+string(room_speed))
draw_set_color(c_black)
draw_text(view_wview[0],view_hview[0],"KEY:"+string_format(keyboard_key,5,0)+"
@donnaken15
donnaken15 / !_rb1_dta.md
Last active Oct 9, 2020
Rock Band 1 DTA patches
View !_rb1_dta.md

ROCK BAND 1 DTA PATCHES

CLICK THIS PAGE FOR MORE

@donnaken15
donnaken15 / GH3+loader+innov.asm
Last active Sep 23, 2020
Exile's GH3+ loader with some additions
View GH3+loader+innov.asm
; this is ran near functions executed with WinMain
mov eax, core
push eax
push space ; mightve forgot to add this, but dont know what its for
call dword ptr ds:LoadLibraryA
; invoke syntax: LoadLibraryA, eax
; maybe since eax is already set just call LL
; though pushing vals/regs is still required in some way