I am retrieving the date from the database in the following format:
vardate = ’01/20/2017 09:20 :35′-mm/dd/yyyy hh:mm:ss I want to convert it to the format dd-mm-yyyy hh:mm:ss
I can get
I am retrieving the date from the database in the following format:
vardate = ’01/20/2017 09:20 :35′-mm/dd/yyyy hh:mm:ss I want to convert it to the format dd-mm-yyyy hh:mm:ss
I can get
I used Lua to split the following strings into tables:
(The data are aligned with each other. I did not find how to write the formatted data on this website)
IP: 192.168.128.12
MAC: AF:3G:9
The following content is reproduced from http://www.runoob.com/lua/lua-debug.html
Lua provides a debug library to provide the function of creating our custom debugger. Lua itself does not hav
I installed the luarocks package on Linux Mint, and then installed a few rocks such as sudo luarocks to install the telescope, but when running the script through lua script.lua, the module is requ
I am trying to use How can I create a secure Lua sandbox? to build my own vulnerability sandbox.
I am trying to create a Lua sandbox Box, some of the Lua functions can access some other Lua f
Suppose I want to assign two values to two variables when a certain condition is true, and two different values if the condition is false. I will assume it will be like this Do:
a, b = 4>
In Lua, except that table is passed by reference, the rest are basically passed by value. So when you print a table directly, what you see is a pointer type data. On the one hand, you cannot copy
I am trying to implement a neural network example in torch7. My data is stored in a text file in this form [19 cols x 10000 rows]:
11 38 20 44 11 38 21 44 29 42 30 44 34 38 6 34 45 42 1
11 38
I tried to get some data from the game chat, but I can’t figure out this pattern.
This is an AddOn for the World of Warcraft Vanilla (Private server).
gsub function:
http://wowpro
We are developing some codes on Freescale PPC microprocessors (currently 5517 and 5668), I want to know if we can put Lua on them. These devices need to be easily programmed/reconfigured in the fi