Skip to content

Instantly share code, notes, and snippets.

View leetking's full-sized avatar
🍀
On vacation

αlpha 0x00 leetking

🍀
On vacation
View GitHub Profile
@leetking
leetking / Makefile
Last active November 16, 2019 06:09
the template file for C/C++
APP := <App Name>
VER := <Version>
# 不立即展开 $(APP) 和 $(VER)
PKG = $(APP)-$(VER)
DEBUG := True
CC := gcc
RM := rm -rf
CP := cp -r
@leetking
leetking / hello-spring.md
Created March 5, 2017 05:17
Spring学习

学习Spring

@leetking
leetking / lua-module-by-C.md
Last active December 29, 2018 10:13
用C编写lua模块

用C写lua模块

lua与c交互都是用过lua_State*类型的变量,并且是基于的。

Hello-Lua

文件: hello.c

#include <lua.h>
#include <lxlib.h>