imuzi / lua-labs

lua programming repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lua-labs

lua-labs is a set of sample codes whose main purpose is to experiment and test Lua and OpenResty/Apache

  • OpenResty: A fast and scalable web application platform by extending NGINX with Lua
  • luarocks: Deployment and management system for Lua modules
  • lpeg: LPeg is a new pattern-matching library for Lua
  • lua-cjson: Lua CJSON provides JSON support for Lua
  • lua-iconv: Lua binding to the POSIX 'iconv' library
  • lua-llthreads2: Low-Level threads(pthreads or WIN32 threads) for Lua
  • luacrypto: LuaCrypto is a Lua frontend to the OpenSSL cryptographic library
  • lualogging: LuaLogging provides a simple API to use logging features in Lua
  • luaposix: Lua bindings for POSIX APIs
  • luasec: LuaSec is a binding for OpenSSL library to provide TLS/SSL communication
  • luasql-mysql: LuaSQL is a simple interface from Lua to a DBMS (MySQL)
  • luasql-sqlite3: LuaSQL is a simple interface from Lua to a DBMS (sqlite3)
  • lzmq: Lua binding to ZeroMQ
  • redis-lua: A Lua client library for the redis key value storage system
  • stdlib: General Lua libraries
  • underscore.lua: A utility library for Lua
luarocks --local install lpeg
luarocks --local install lua-cjson
luarocks --local install lua-iconv
luarocks --local install lua-llthreads2
luarocks --local install luacrypto
luarocks --local install lualogging
luarocks --local install luaposix

luarocks --local install luasec OPENSSL_LIBDIR=/usr/lib64/
luarocks --local install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu 
luarocks --local install luasec OPENSSL_LIBDIR=/usr/lib/i386-linux-gnu

luarocks --local install luasql-mysql \
                         MYSQL_INCDIR=/usr/include/mysql \
                         MYSQL_LIBDIR=/usr/lib64/mysql
luarocks --local install luasql-mysql \
                         MYSQL_INCDIR=/usr/include/mysql \
                         MYSQL_LIBDIR=/usr/lib/x86_64-linux-gnu
luarocks --local install luasql-mysql \
                         MYSQL_INCDIR=/usr/include/mysql \
                         MYSQL_LIBDIR=/usr/lib/i386-linux-gnu

luarocks --local install luasql-sqlite3
luarocks --local install lzmq
luarocks --local install redis-lua

luarocks --local install stdlib

luarocks --local install underscore.lua \
                         --from=http://github.com/irr/underscore.lua/raw/master/rocks

luarocks --local install luabitop

Copyright and License

Copyright 2012 Ivan Ribeiro Rocha

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

lua programming repository


Languages

Language:Lua 94.5%Language:Shell 2.1%Language:Nginx 1.4%Language:ApacheConf 0.7%Language:C 0.4%Language:Python 0.3%Language:Perl 0.2%Language:HTML 0.1%Language:Smarty 0.1%Language:PigLatin 0.1%Language:Perl 6 0.0%Language:Makefile 0.0%Language:TeX 0.0%