Skip to content

Instantly share code, notes, and snippets.

@kmafeni04
kmafeni04 / reset.css
Created June 5, 2024 17:54
css reset
:root {
--font-color-light: black;
--font-color-dark: white;
}
@media (prefers-color-scheme: light) {
:root {
--font-color: var(--font-color-light);
}
}
@kmafeni04
kmafeni04 / lapis-new.sh
Last active June 8, 2024 20:09
Lapis project initialisation script
#!/bin/bash
echo "What would you like to name the project?:"
read -r project_name
mkdir "$project_name"
cd "$project_name" || return
luarocks install lapis --lua-version=5.1
luarocks install etlua --lua-version=5.1
lapis new --git --rockspec