Skip to content

Instantly share code, notes, and snippets.

Avatar
3️⃣
nothing...

Nomi nomi-san

3️⃣
nothing...
View GitHub Profile
@nomi-san
nomi-san / rw_mem.go
Created Jan 15, 2019
Read/write memory trong Go
View rw_mem.go
package main
/*
#cgo CFLAGS: -Wincompatible-pointer-types
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <windows.h>
void *open_process(int pid) {
@nomi-san
nomi-san / main.go
Created Jan 21, 2019
Calc.vm in Go
View main.go
package main
import (
"fmt"
)
const (
VM_OK = 0
VM_ERROR = 1
STACK_MAX = 50
@nomi-san
nomi-san / gc.c
Last active May 25, 2020
Simple Reference Counting GC for building [static typed] scripting language.
View gc.c
#include <stdio.h>
#include <stdlib.h>
typedef struct _Obj {
char data;
int ref;
struct _Obj *next;
} Obj;
// append obj to previous
@nomi-san
nomi-san / README.md
Last active Aug 18, 2020
Appear offline on League Client
View README.md

Guides

Run offlol.bat as administrator to appear offline, with any arg to appear online.

$ offlol.bat
Please run as administrator.

admin $ offlol.bat
You will appear offline on League Client.
You can’t perform that action at this time.