Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View DarkKowalski's full-sized avatar
🧐
What the hack?

Kowalski DarkKowalski

🧐
What the hack?
View GitHub Profile
@DarkKowalski
DarkKowalski / CMakeLists.txt
Last active September 14, 2023 10:25
Compile Lua on Windows
# cmake -B build -DCMAKE_INSTALL_PREFIX=out
# cmake --build build --config RelWithDebInfo
# cmake --install build --config RelWithDebInfo
cmake_minimum_required(VERSION 3.24)
project(lua VERSION 5.4.6 LANGUAGES C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(LUA_LIBRARY_SOURCE_FILES
@DarkKowalski
DarkKowalski / download_hoyolab_stickers.rb
Last active April 27, 2022 19:22
下载米游社表情包 Download HoYoLab(CN) Stickers
#!/usr/bin/env ruby
# 2022-04-28 it works
# gem install faraday
require 'faraday'
require 'json'
require 'fileutils'
root_dir = 'download'
res = Faraday.get 'https://api-static.mihoyo.com/takumi/misc/api/emoticon_set'