Skip to content

Instantly share code, notes, and snippets.

; (x) Z0MBiE 2010
; 3.3.2 Run lua Protected shit
; Same Use as luafoo
; create a macro using:
; ex: /run Do("MoveForwardStart(0)")
; ex: /run Do( "CastSpellByName(\"Flash Heal\");" )
;
#include <Asm.au3>
#include <Misc.au3>
#include <Array.au3>
/* main file for hw3
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef WITH_GBA
#include <gba_input.h>
#include <gba_timers.h>
@robertabcd
robertabcd / patch.c
Created March 10, 2013 03:53
Patch League of Legends.exe to use custom public key.
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
const char *lolpub =
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1mV8+Ez6EEdQtCYPewmO"
"dhG4ElhApH3AQe1TReKZNHP/uYTQSNE9vAly7W/sXFAJPTUtwXqOeFwMqumzuk3T"
"iXJhQul/zywcBKRawVxgN7qMAdPv7t5AijWh1brDrevdOlwzPwUp24ar96YKDefS"
"73EFnY1xoEqSs1DnkrwKN0Nb8Sjwgs5XrZiLV03U1SlqJD2nHhhLpAAgnKeY6vJN"
@robertabcd
robertabcd / nginx.conf
Created October 25, 2017 05:39
ws.ptt.cc dev proxy
location /ptt {
proxy_pass https://ws.ptt.cc/bbs;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Origin "app://pcman";
}
set -g default-terminal "screen-256color"
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green,bold]#H#[fg=black,bold]###[fg=default]#S'
set -g status-left-length 15
set -g status-right ' #[fg=cyan,bold]%H:%M '
setw -g window-status-current-bg blue
set -g bell-action any