Skip to content

Instantly share code, notes, and snippets.

View kmdrn7's full-sized avatar
🌴
On vacation

Andika Ahmad Ramadhan kmdrn7

🌴
On vacation
View GitHub Profile
@tylerneylon
tylerneylon / json.lua
Last active March 26, 2024 09:22
Pure Lua json library.
--[[ json.lua
A compact pure-Lua JSON library.
The main functions are: json.stringify, json.parse.
## json.stringify:
This expects the following to be true of any tables being encoded:
* They only have string or number keys. Number keys must be represented as
strings in json; this is part of the json spec.
@szurcher
szurcher / centos7.json
Last active September 12, 2021 09:56
CentOS 7 Minimal kickstart file and Packer config.json for building a vagrant virtualbox base box with guest additions installed. Based off of https://www.centosblog.com/centos-7-minimal-kickstart-file/
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "RedHat_64",
"iso_url": "[YOUR ISO PATH HERE]",
"iso_checksum": "[YOUR ISO CHECKSUM HERE]",
"iso_checksum_type": "sha256",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "1500s",