This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copyright (C) by Bjørnar Ness <[email protected]> | |
local ffi = require "ffi" | |
local cast = ffi.cast | |
local bxor = bit.bxor | |
local bnot = bit.bnot | |
local band = bit.band | |
local rshift = bit.rshift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local t = { | |
{ name = "abc", sort={ def="after"}}, | |
{ name = "def", sort={ abc="before", foo="before" } }, | |
{ name = "ghi", sort={ def="before", abc="after", def="before" } }, | |
{ name = "123", sort={ def="before", abc="before" } }, | |
{ name = "xyz" }, | |
{ name = "foo", sort={ bar="after"}}, | |
{ name = "baz", sort={ ghi="before"}}, | |
{ name = "bar", sort={ foo ="before", baz="before" }}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build/ngx_lua-0.10.13/src/ngx_http_lua_common.h b/build/ngx_lua-0.10.13/src/ngx_http_lua_common.h | |
index 01ef2be..048e1bf 100644 | |
--- a/build/ngx_lua-0.10.13/src/ngx_http_lua_common.h | |
+++ b/build/ngx_lua-0.10.13/src/ngx_http_lua_common.h | |
@@ -227,6 +227,8 @@ struct ngx_http_lua_main_conf_s { | |
ngx_int_t busy_buf_ptr_count; | |
#endif | |
+ ngx_int_t ctx_idx; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure $(sed 's/^#[ ]*--enable/--disable/g' << EOF | awk '{print $1}' | |
--prefix=/opt/collectd | |
--enable-aggregation Aggregation plugin | |
# --enable-amqp AMQP output plugin | |
# --enable-apache Apache httpd statistics | |
# --enable-apcups Statistics of UPSes by APC | |
# --enable-apple_sensors Apple's hardware sensors | |
# --enable-aquaero Aquaero's hardware sensors | |
# --enable-ascent AscentEmu player statistics | |
# --enable-barometer Barometer sensor on I2C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------+ | |
| | | |
| alerta | | |
| | | |
+----^-----+ | |
| | |
ALERT | (ALERT) | |
^ | ^ | |
+-------------------+ | |
| | |