I hereby claim:
- I am starius on github.
- I am starius (https://keybase.io/starius) on keybase.
- I have a public key whose fingerprint is 3379 E9BB 0F1C D321 F307 804C F01C DC55 A6C2 B6CE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Install Lua, libreadline in Cygwin | |
gcc luap.c prompt.c -o luap.exe -DHAVE_ASPRINTF -DHAVE_LIBREADLINE \ | |
-DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY \ | |
-DHAVE_READLINE_HISTORY_H -D_GNU_SOURCE -DCOMPLETE_KEYWORDS \ | |
-DCOMPLETE_MODULES -DCOMPLETE_TABLE_KEYS -DCOMPLETE_FILE_NAMES \ | |
-lreadline -lhistory -llua |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>MXE (M cross environment)</title> | |
<link rel="stylesheet" href="assets/common.css"> |
/* Just a simple example program that creates a terminal in a frame | |
* and lets the user interact with it. | |
* | |
* To compile: | |
* gcc -o boxshell boxshell.c $(rote-config --cflags --libs) | |
*/ | |
#include <ncurses.h> | |
#include <stdio.h> | |
#include <rote/rote.h> |
function processEvent(e) | |
eventId = getEventType(e) | |
if eventId == 3 then | |
return 3 | |
else | |
return 0 | |
end | |
end | |
describe("processEvent", function() |
cmake_minimum_required(VERSION 2.6) | |
project(lua-npge) | |
set(INST_LUADIR "/usr/local/share/lua/5.1/" | |
CACHE STRING "Where to put the lua files") | |
set(CMAKE_BUILD_TYPE RelWithDebInfo) | |
if (NOT LUA_INCLUDE_DIR) | |
message("Using system lua...") |
package = "mediator_lua" | |
version = "1.1.1-0" | |
source = { | |
url = "git://github.com/starius/mediator_lua.git", | |
} | |
description = { | |
summary = "Event handling through channels", | |
detailed = [[ | |
mediator_lua allows you to subscribe and publish to a central object so | |
you can decouple function calls in your application. It's as simple as |
package = "LuaCov-coveralls" | |
version = "scm-0" | |
source = { | |
url = "git://github.com/starius/luacov-coveralls", | |
tag = "master" | |
} | |
description = { | |
summary = "LuaCov reporter for coveralls.io service", | |
detailed = [[ | |
]], |
package = "LuaCrypto" | |
version = "0.3.2-2" | |
description = { | |
summary = "A Lua frontend to OpenSSL", | |
detailed = [[LuaCrypto is a Lua frontend to the OpenSSL cryptographic library. The OpenSSL features that are currently exposed are: | |
digests (MD5, SHA-1, HMAC, and more), encryption, decryption and crypto-grade random number generators.]], | |
homepage = "http://mkottman.github.com/luacrypto/", | |
license = "MIT", | |
} | |
dependencies = { |
local brainfuckToC_map = { | |
['>'] = '++ptr;', | |
['<'] = '--ptr;', | |
['+'] = '++*ptr;', | |
['-'] = '--*ptr;', | |
['.'] = 'putchar(*ptr);', | |
[','] = '*ptr=getchar();', | |
['['] = 'while (*ptr) {', | |
[']'] = '}', | |
} |