Skip to content

Instantly share code, notes, and snippets.

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
Loowy test example
View Test.lua
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
You can’t perform that action at this time.