Skip to content

Instantly share code, notes, and snippets.

View hanxi's full-sized avatar
:octocat:
Happy Coding!!!

涵曦 hanxi

:octocat:
Happy Coding!!!
View GitHub Profile
@hanxi
hanxi / hanzi.html
Last active March 8, 2022 05:52
汉字打印
<head>
<script src="https://cdn.jsdelivr.net/npm/hanzi-writer@3.0/dist/hanzi-writer.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<style>
.box {
border: 1px solid rgb(235, 235, 235);
width: 60px;
margin-right: 5px;
margin-top: 15px;
display: inline-flex;
@hanxi
hanxi / buffertest.c
Created February 16, 2023 23:55
lua buffer test
#define LUA_LIB
#include <lua.h>
#include <lauxlib.h>
#include <string.h>
static void
dump_stack(lua_State *L, const char * name) {
int top = lua_gettop(L);
for (int i=1; i<=top; i++) {