Skip to content

Instantly share code, notes, and snippets.

View EwanFox's full-sized avatar
:octocat:
Getting rusty

Ewan Fox EwanFox

:octocat:
Getting rusty
View GitHub Profile
BITS == 32
MINHEAP 4096
MINSTACK 1024
MOV R1 SP
CAL ._Hx4maini8
MOV SP R1
HLT
BITS == 32
MINHEAP 4096
MINSTACK 1024
MOV R1 SP
CAL ._Hx4maini8
MOV SP R1
HLT
BITS == 32
MINHEAP 4096
MINSTACK 1024
MOV R1 SP
CAL ._Hx4maini8
MOV SP R1
HLT
@EwanFox
EwanFox / character.json
Created November 1, 2022 23:55
Ewan bot sample file
{
"name": "Sample Character Name",
"series": "Sample Series Name",
"image": "https://sampleimageurl.com/e.png"
}

Keybase proof

I hereby claim:

  • I am ewanfox on github.
  • I am copa (https://keybase.io/copa) on keybase.
  • I have a public key ASC_gj7-Ndes3g0-slJE6HJKDoXJS8DCeTVu1_DpiRLhSgo

To claim this, I am signing this object:

@EwanFox
EwanFox / main.rs
Created September 3, 2023 15:51
cursed ass cele thing only on windows becuase yeah
use std::time::Duration;
use winapi::shared::windef::POINT;
use winapi::um::winuser::INPUT;
fn main() {
println!("Hello, world!");
unsafe {
loop {
let heights: (i32, i32) = get_screen_size();
let pos: (i32,i32) = get_mouse_pos();
let chunk = calculate_chunk(heights.0, heights.1, pos.0, pos.1);