Button Button

Add new Lua Snippet

# Title Author Added
154 Benchmark table vs, string Anonymous user 02 Aug 2014
153 argcheck neffi 11 Apr 2014
152 Save Matched Captures in Global Variables jppowers 06 Apr 2014
151 Dynamic web page <%= Lua code %> jppowers 05 Apr 2014
150 Efficient tostringall() Anonymous user 29 Mar 2014
149 cli-spec-conf Anonymous user 27 Mar 2014
148 Check function parameter Anonymous user 18 Dec 2013
147 Random number generator for calculations grayface 24 Nov 2013
146 shuffle array Anonymous user 28 Aug 2013
145 Shuffle array mkottman 25 Dec 2012
144 IEEE float conversion mniip 13 Nov 2012
143 Natural strings comparison/sort grayface 14 Oct 2012
142 parseIni Anonymous user 22 Sep 2012
141 Rank order centroid agrw 22 Aug 2012
140 Percentile agrw 19 Aug 2012
139 Covariance agrw 19 Aug 2012
137 is_callable Anonymous user 23 May 2012
136 print ASCII table akavel 13 Mar 2012
135 TableContains Anonymous user 14 Jan 2012
134 LuaJava, calling a function raw Anonymous user 12 Nov 2011
133 LuaJava on Android Toast example Anonymous user 29 Oct 2011
132 Strict Tables steved 15 Sep 2011
131 Version sort Peter Odding 11 Sep 2011
130 String splitting Peter Odding 11 Sep 2011
129 Yet another unit test framework timmenzies 13 May 2011
127 lines_scheme.lua akavel 06 Apr 2011
126 collect iterator to table akavel 24 Feb 2011
125 spliterator akavel 24 Feb 2011
124 Testing for NaN steved 23 Feb 2011
123 Write a string to a file. agrw 08 Feb 2011
122 Functor lobato 06 Feb 2011
121 unrequire dptr1988 04 Feb 2011
120 Filter a table in-place 2 romuloab 14 Jan 2011
119 Filter a table in-place Anonymous user 14 Jan 2011
118 Lua Preprocessor steved 13 Jan 2011
117 Hello World for LuaInterface steved 13 Jan 2011
116 Table Slice steved 13 Jan 2011
115 Linear Least Squares Fit steved 13 Jan 2011
114 Mean and Standard Deviation steved 13 Jan 2011
113 String Tokenizer Anonymous user 12 Jan 2011
112 Simple web browser with lgob.webkit lucashn 11 Jan 2011
111 Using lgob.gtk - Button lucashn 11 Jan 2011
110 String Interpolation steved 11 Jan 2011
109 String Reader Anonymous user 11 Jan 2011
108 String Writer steved 11 Jan 2011
107 Binary Reader steved 09 Jan 2011
106 Object Proxy steved 09 Jan 2011
105 Table Proxy steved 09 Jan 2011
104 Weighted random choice Peter Odding 08 Jan 2011
103 Finding the right date format Peter Odding 08 Jan 2011
102 Quick Subclassing Trick steved 07 Jan 2011
101 String Accessor steved 07 Jan 2011
100 Safe Array steved 07 Jan 2011
99 Using LuaSQL steved 05 Jan 2011
98 Check whether a number is an integer steved 05 Jan 2011
97 stack akavel 04 Jan 2011
91 locale conversion with iconv daurnimator 07 Dec 2010
90 string.explode daurnimator 07 Dec 2010
89 string.urlescape daurnimator 07 Dec 2010
88 debug.debug with access to locals Anonymous user 01 Dec 2010
87 title Anonymous user 20 Mar 2010
86 Drawing an Analog Clock using GD steved 10 Jan 2010
85 Generating an HTML Calendar steved 10 Jan 2010
84 Accessing Sqlite3 Databases steved 08 Jan 2010
82 Sieve of Eratosthenes using bit operations steved 08 Jan 2010
81 Enumerate over top-level Windows (Win32) steved 08 Jan 2010
80 Accessing ADO databases with COM steved 08 Jan 2010
79 Accessing Windows Registry using COM steved 08 Jan 2010
78 A echo server using Copas steved 08 Jan 2010
77 array of keys in table David Manura 02 Jan 2010
76 trim whitespace from string David Manura 01 Jan 2010
75 Test for NaN David Manura 01 Jan 2010
74 Check string ends with other string David Manura 25 Dec 2009
73 Number to String of byte values. agrw 25 Nov 2009
72 String's byte values to number agrw 25 Nov 2009
71 Number to Integer Value Anonymous user 25 Nov 2009
69 Currying a Function steved 25 Nov 2009
68 String to Hex String agrw 24 Nov 2009
67 Multiline commenting trick agrw 24 Nov 2009
66 debugprint Anonymous user 24 Nov 2009
65 memoize - simple/efficient David Manura 21 Nov 2009
64 simplistic C-like fprintf David Manura 20 Nov 2009
63 simplistic C-like printf steved 18 Nov 2009
62 Iterator over Permutations of a Table steved 18 Nov 2009
38 Example of Simple Lua Classes sdonovan 28 Oct 2009
37 Simple Lua Classes sdonovan 28 Oct 2009
25 Insert Values from one table into another sdonovan 12 Oct 2009
24 Count Item Occurances in Table sdonovan 12 Oct 2009
23 Remove Duplicates from Table sdonovan 12 Oct 2009
22 Hex Dump of a String sdonovan 12 Oct 2009
21 Range Iterator sdonovan 12 Oct 2009
20 Python-like string formating sdonovan 12 Oct 2009
19 Length of File sdonovan 12 Oct 2009
18 Directory Tree Iterator sdonovan 12 Oct 2009
17 Round a Number to given number of decimal places sdonovan 12 Oct 2009
16 Binary Search of a Sorted Table sdonovan 12 Oct 2009
15 Assignments in Expressions sdonovan 12 Oct 2009
14 Postfix if/unless in MetaLua sdonovan 12 Oct 2009
13 Extract C Comments from a String sdonovan 12 Oct 2009
12 Iterating over a tree Admin 09 Oct 2009
11 Handling a Variable Number of Arguments Admin 09 Oct 2009
10 Reading a File, Line by Line sdonovan 21 Sep 2009
9 Parsing Command-line arguments sdonovan 21 Sep 2009
8 Load and Run Lua Code sdonovan 21 Sep 2009
7 Simple Table Dump sdonovan 21 Sep 2009
6 Iterating over the hash part of a table sdonovan 21 Sep 2009
5 Split a string into a list sdonovan 21 Sep 2009
4 Escape 'magic' characters in a string Anonymous user 21 Sep 2009
3 Deep Comparison of Two Values Anonymous user 21 Sep 2009
2 Deep copy of a Lua Table Anonymous user 21 Sep 2009