Noob Codes
How to use ?
Login
Register
Home
lua
Lua table as redis argument
Lua table as redis argument
snippet in lua
Lua table as redis argument
user6738
redis.call('MSETNX', unpack(KEYS))
stackoverflow.com
Login to continue
×
Submit answers directly from your webpage,
Login
Register
×
Login to continue
Submit answers directly from your webpage,
Login
Register
⇦
Previous
Add answer
⇨
Next
Other quiries
Cloud-to-device Azure IoT REST API
Determine whether Lua compiler runs 32 or 64 bit
Setting a file path as text to clipboard in LUA
Read specific line using lua
Trying to learn what some code does (Lua)
How to save whole response data to nginx error.log?
Lua | Whitelist of table arguments only
lua -> how to modify these arguments to be const, or what should I do?
Conflict resolution in Tarantool (how to fix replication in master-master mode in case of conflicts)
Printing a static variable inside a C++ function called from lua
Condition evaluating incorrectly (Lua 4)
Why can we do str:split(“,”) but not tab:insert(val)?
Lua goto statement to simulate continue raised error
Retrieving Application Data folder from Lua
quasiquote/quote in lua?
Merge function in Lua
Using unique dynamic variable names (not variable values!)
Can you compare the “types” of tables or metatables in Lua?
POST data in Lua
Linking Error with Lua?
LuaSocket socket/core.dll required location?
Lua: Escaping literal % inside string.gsub and the capture %2
Make vim close syntactic construction for code block automatically
Lua: Updating parts of a file hex-editor-style
Lua: %UserProfile% access
Redis chaining commands
Lua patterns query
SIGSEGV error in some lua/c++ code
Sort nested table with lua
Creating new folders and files with Lua
Redis Server Side Script - ZREM multiple values at once
Horizontal ScrollView in Corona SDK
os.execute() with command line options
How can I detect when the Lua scripts access a global variable?
different screen sizes with corona sdk
Lua How to replace 1 specific character inside table without whole string?
What's wrong with this lua script
How do I add values to an array
stdin:1: '=' expected near '<'
awesome-wm: Possible to to map Alt+Shift?
Lua 5.0 - iterations over tables ignore duplicate keys even though values are different
Having conditionals for a Lua DSL?
How to isolate numbers separated by stars in Lua?
Use table key inside same (anonymous) table
Uppercase function but for non alphabetic characters in LUA?
How to check what shared libraries are linked when I run a interpreted language binary and its script?
Splash API/lua error: attempt to index local element (a nil value)
Print table in Lua
How can I define this variable before arrays?
How to get string (multi word) between characters
call function in lua from different lua class
Lua string.match() problem
attempt to index field ? (nil value)
SWIG:Lua - Passing a c++ instance as a lua function parameter
Corona SDK: fill up a bar from left to right
randoming a table Corona SDK / Lua
Lua - Removing words that are not in a list
How do I set, via the lua C API, the environment table for a chunk of lua code prior to running it?
How do I sort a table while keeping a record of the original positions?
lua: testscript.lua:37: '}' expected near '='
vimrc test for if_lua during vundle BundleInstall
Trouble adding elements to a table (array in Lua)
return parameter in lua
Nginx: Grant access by comparing a header value with the contents of a file; possible?
How to iterate from last index to first in table
How do i convert binary to decimal (LUA)
Lua iterate over letter-number pairs from string?
Can you convert a table into a vararg without unpack?
Find word in a string using a regex pattern lua
c++ classes & lua
Scite Lua: string comparison raises “attempt to call a string value”?
how to do continous action on corona in tap function
Analog of 'arguments.callee' in Lua
addEventListener() in Lua
Lua- Iterating nested table
detecting single nil argument in lua
Replace a table value for a key in lua
How to find and replace words containing particular characters in Lua?
time coutdown in corona sdk
Lua 5.2 Can't access function in C library
How to avoid Redis calls in Lua script limitations?
Access iterator variable in Lua
Thread locals in Lua
How to loop through the table and keep the order?
How to call a function within a function in Lua?
Why are there only 4 fields in this Lua table? Shouldn't there be 7?
String concatenation in Lua
Finding the first string that matches a pattern in Lua (XML pattern matching)
Lua return from function problem
wrong lua table size when using string key index
Love2d Rotating an image
Lua throwaway result
String manipulation in Lua: Swap characters in a string
How to filter out user defined globals in Lua from C++?
Function definition in Lua
Limit requests frequency of each IP using NGINX & Lua
Lua add two tables
Load a Lua script into a table named after filename
Lua return directory path from path
How to check if a file is executable in Lua?
Lua, Altered Program Flow When Rquired File isn't there
Split string in equal chunks in Lua
Lua 5.1.4 math.random not actually random
Can we do pipeline in lua script of redis
Accessing Lua Functions On Other Files
Lua - Insert table values
Pushing an executable function pointer?
Reading a binary file into an array
Lua - Attempt to call global (a nil value)
How to check if a value is greater than one number and less than another number in Lua?
Return a percentage sign in Lua string.format
Getting touch events when objects have an alpha of 0 In Corona SDK
Auto-change the physics of an object after a change of his size
Lua gsub second instance
Lua: How to check if a string contains only numbers and letters?
Choosing Scripting lang
lua not modifying function arguments
Regarding colon operator in Lua
how to escape a variable in Lua
Only one tcp server allowed ESP8266 with Lua
Can I run Lua interpreter in evaluator mode?
why do i get “attempt to call global 'require' (a nil value)”?
checking for boolean true / false result in postgresql query
Cannot link with Lua library on Linux
Subtracting hours from os.date()
LuaLanes Unable to pass global variables between functions (in a single lane)
jump object on collision
What's the proper way to use coroutines for event handling?
Table insert gives a nil error
How to bind a std::map to Lua with LuaBind
Using Lua tables as 2-dimensional arrays
Trigger build when non-source files change
Lua HTTP download and save to file
Compare string if there's at most one wrong character in Lua
Correct pattern doesn't work in Lua gmatch
the following lua code does not make sense
A calculator using Lua string matching
How do I compare the contents of a capture with another string in lua
Reading a file on Lua
Controlling Variable Scope In Lua; It's changing both Vars
What is the scope of a Lua variable?
How to nest modules into namespaces when registering functions from C in Lua?
Creating a Namespace In Lua Across Files
Comparing integer variables in LUA
How do I create a save game feature in love2d?
Passing an array name to a function, then populating it
Parse parameters out of URL in Lua
Rbx.Lua - Why can't I store a .txt file as a table?
Passing a table as argument to function in Lua
How to manage large strings
image.display window in lua/torch
Lua loadstring Function fail
Parsing key value pair with Lua
Key repeats are delayed in my Hammerspoon script
String match URI with Lua patterns
Lua os.date() - What's the difference between *t and !*t
Match whole, exact text line with Lua
How can I access values from multidimen array in lua?
Two instances of a Lua “Class” are the same “object”
Reassigning strings to a set list of values in an array
Lua table diff key function
How do I insert a string into another string in Lua?
Error with self invoking anonymous functions in Lua
Dynamically assigned table variables?
Regular Expressions for Japanese in Lua
Defining Lua methods as initialization
Lua C API: Handling and storing additional arguments
Building and Installing Lua 5.2.0 on Mac os x Lion
how to get caller of function within a function in lua?
Lua: Finding a token in a delimited string
Displaying Lua tables to console by concatenating to string
Corona table.sort()
Control problems
Lua string inside variable reference
Lua - simple iterator assignment?
Lua: store unspecified number of items in return value
is there a way to define auto-escaped string in lua (raw)?
Premake4 utility and application entry point
return several parameter from lua C function
How to set a “require” to return a table/module from Lua C API?
Sum of primes in a number - Lua
Lua How to create custom function that can be used on variables follow up
Lua elseif not working properly
access to global variables in lua
Scrapy + splash: can't select element
cairo_text_extents_t is not recognized by lua
Why print(print()) not work like print(type(2)) in Lua?
Lua - rewriting coroutine recursion to tail-call recursion
Spring Data Redis: Redis Pipeline returning always null
NewLine(\n) alternative in Lua?
LuaJIT and C++ - call to Table.Method() does not work in loadstring/pcall
C++ Preprocessor metaprogramming: obtaining an unique value?
destructors on gc-ed lua objects
Error loading module (Lua)
Is there an Equivalent scanf function in Lua?
How to to add “th” or “rd” to the date
How to find which version of Lua do I use?
How does this C code (from lua library, Torch) even compile/work?
Lua - string.find(x, “a - b c”) gives nil value
Why is lua so slow in redis? Any workarounds?
In Lua, how does a = Account:new{balance = 0} work or is it a typo?
Want to remove spaces between strings in parantheses in Lua
Using lpeg to only capture on word boundaries
How to call a function in shared library using Lua
String pattern, match the first, outermost pair of brackets?
Determine compiler version of compiled Lua
How do I get lua string match to parse an environment variable string?
A way to use dynamic variable names?
Lua's string.find won't find pattern
How do I save directory information from os.execute(“dir”) into a string?
Number of returned values
Lua pattern replace uppercase letters
tonumber and regex
Convert mathematica functions to lua
Matching strings with multiple words between two words
How to remove all 'nil' values from an array?
Split a string into individual characters and place the characters into a table
Higher order “methods” in lua
How can a access a variable name using a string and concatination
After parsing table to string -> invert (parse string to table)
Get parameters from URL, get substrings in a query string and store them in a table
Is there a simpler/ more concise way to initialize this array in Lua?
Conditionally execute code coming in from parameters
How do I clean everything in lua stack from C++?
Extracting filename only with pattern matching
Create a list of tasks to do in Lua
Easiest way to download a file in Lua
Lua get Max number
Corona SDK: Restart an app only when user press “home”
How do I walk recursively windows registry in lua?
Lua Problems with Arguments
Lua tables and iterating
Lua--parse text from .txt file and store the values
How Lua deal with the stack?
How to enforce Lua scripts runtime limit?
Getting command line parameters in Lua interpreter
Lua table removing duplicates
Swig + Lua : call m(int argv, char **argc)
Is there a way to make a template match all pointer types?
How do I detect a TouchOut event in Corona SDK?
lua - table maintenance (particle system related)
Swig and Lua: how to map Lua file to FILE*
Passing 2d array to function in Lua
What makes Lua tables key order be undeterministic?
Changing Variable by using variable+string? LUA
Trying to build a table of unique values in LUA
Use variables inside a string in lua
parsing failed because a } isnt put in?
How can I iterate over list items in Pandoc's lua-filter function?
How do i elegantly reference return values in multiple-return-value-functions in Lua?
lua io.popen run program with space in path
How do I invoke a class method using pcall in lua?
Lua-Pattern - Evaluate conditional expression
Lua matching a 16 long hex with a prefix
Iterate through table using selected keys
Lua spread operator on an array
extract data from string in lua - SubStrings and Numbers
Lua: table.remove does not work with 2D array
LUA getting values from table by using a string
Install resty.http with already installed openresty
Cannot connect to wi-fi network from NodeMCU board
How to extract numbers from a string in Lua?
IF ELSE IF END gives Unclosed Function error
lua cjson encode nil field
Finding two numbers in a string lua
How to sort a table on multiple values in lua?
Lua: Unexpected Iteration Result with Table
Removing First Value in Checkbox Table
How to catch errors in elua (namely NodeMCU)
How to call a Lua method on startup in NGINX?
Capture full response in Lua Socket call
Lua function to convert windows paths to unix paths
How to get PPU memory from FCEUX in Lua?
Iterate Chinese string in Lua / Torch
How to check if two values in Lua are primitively equal?
remove item from a list by specific index
Converting LuaJIT FFI structs to tables
V-REP's Lua `tonumber` returns nil on Linux
Lua: Calling functions in own module
Redis lua script not working
lua userdata pass by value
Lua: color fading function
Using trigonometry to calculate angle of movement using mouse position
attaching metatables within tabes
Lua - Socket receive with timer for other event
Nginx disable or decode url encoding when writing to access log
Unable to figure out lua table inheritence
Awesome WM does not maximize windows anymore
How can i call lua function that takes self as a parameter from C?
Getting function used to create coroutine/thread in Lua
Lua: Splitting a string and getting the two numbers as separate variables
Lua: is a function closure a local function?
Strange bug involving string comparison in Lua
How to take out only 1 word from a string in Lua
Getting table values once the for-do loop is over
Math.random specific values corona sdk
Lua - round to double
How to make an auto text suggestion system?
Lua error -Bad argument #1 to remove
How to reveal string one letter at a time?
How can I get a wireshark Lua dissector protocol preferences to save and persist when I close wireshark?
How to create a Protofield sub array for Lua Wireshark Dissector
luasocket.c:20:17: error: lua.h: No such file or directory
Lua multiple parameter into table depth
Lua splitting a string without separators
Add commas to a string
Concatenate a Function Name in Lua
Lua with the Freebase API
Acces function from constructor in Lua
Avoid writing code twice while maintaining proper way to code?
How to increment a variable name by 1 in Lua, and then set that as the variable name?
User input after print
Catching a call to non existing function in Lua
HTTP GET Chinese character using luasocket
Lua Accessing a table's Keys and Values
String Replace in Lua
Split string and replace dot char in Lua
Call Lua function by reference
Rectangle in a grid - I need help on the edge cases
How can I convert time in ms to yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format?
Lua metatable variable declaring
passing arguments to my lua dll function
use cases for light userdata in lua?
finding the closest web safe color if I have a palette
Handling Lua errors in a clean and effective manner
lua : passing parameter to other function problem
How to suspend/resume processing of a Lua command
LuaInterface - Compiling under .Net 3.5 / .Net 4.0 FileLoadException
How do I do pattern matching in strings?
Sleep Lua script without halting entire program?
Struct containing std::string being passed to lua
Storing values in a userdata object from lua
Why doesn't luazip extract files when called from c++ application?
Extracting information in a string
How do I use Loki's Small Object Allocator in Lua successfully?
Random Code appearing in My Script, Is it a Virus?
Lua: How do I place something between two or more repeating characters in a string?
Assign the Lua function to Nginx variable
Round time to 5min interval in Lua
Lua: delete specific characters in a string
Question about when to use lua colon syntax
Roblox ContextAction trigers twice
Why isn't my LUA interpreter able to handle string key values?
Reference equality check (on tables) even when __eq was defined in metatable
Need to declare local functions or variables inside a local table?
Lua c lib Windows: The specified procedure could not be found
Remove the first word of a string in lua
How to send a POST request with OAUTH in Lua
Issue using “require()” in Lua, need help understanding why it won't work
Unusual LUA function syntax
Lua variable variables
Placing blocks client-side with filtering enabled in ROBLOX Studio
Accessing global table in Lua 3.2(.1)?
compiling a c and lua program into a single executable
What is the "*all* format in lua file:read() means?
Extracting number from string using lua
How to make os.time() compatibility on a 32bit machine in Lua 5.1?
How can I get a specific item from an object in lua?
Lua shared upvalue example in C
How does one do Algebra in Lua?
Lua String Manipulation (Find Words Before & After)
AddEventListener: Listener cannot be nil
How to rename file object methods
Lua attempt to call method a nil value
Corona: Error Loading Module Error
Lua table/list string cast/concat
Torch write text to file
Searching through tables, I'm a bit stuck
How could I let lua take ownership of return value when using tolua++?
cjson.decode() of a multi layer JSON
table.remove ends in position out of bounds
NodeMCU/Lua performance issues
How to limit the amount of characters in a Lua string
In Lua, do each “object” HAVE to have their own copy of their methods?
One loop for iterating through multiple Lua tables
Lua: string.gsub pattern(s) to permit multiple pattern replacement
Modifying Lua Functions
Join set with multiple keys
Check if string contains 2 numbers
Torch / Lua, how to correctly implement minibatch training in a siamese neural network?
static struct array prints garbage after loading lua file
Torch Lua: Why is my gradient descent not optimizing the error?
How to set a custom icon of any client for the tasklist in awesomeWM v3.5.6?
Lua word search
Get value at index in table
Lua string space, letters and digits
Lua need to read the file, which I just wrote in same program
Force a (enter) in os.execute() in Lua
Lua boolean can't be compared like a numbers?
How do I return multiple values in a function return in lua
Lua attempt to index ? (a nil value)
Concatenate json file with a variable
Loading .dll in Lua using require(..) or dofile(..)
Socket library, connect to site and print its contents
A pattern to match until “::” not working with string.gsub
How do I procedurally iterate through similar variables in Lua?
Dialoge action not working
incorrect number of table entries using LuaXml
Vim ctags behaves strangely
Remove new lines and tabs in luajson output