Skip to content

Instantly share code, notes, and snippets.

View KSDaemon's full-sized avatar
👨‍💻
Working hard and having fun!

Konstantin Burkalev KSDaemon

👨‍💻
Working hard and having fun!
View GitHub Profile
@KSDaemon
KSDaemon / Test.lua
Created May 19, 2017 14:27
Loowy test example
local config = {}
local wsServer
for line in io.lines('config.ini') do
local key, value = line:match("^(%w+)%s*=%s*(.+)$")
if key and value then
if tonumber(value) then value = tonumber(value) end
if value == "true" then value = true end
if value == "false" then value = false end