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 dotkey = {} | |
---------------------------------------------------------- | |
-- Returns the value of a dot encoded key from the table t | |
-- Returns nil if the key is not found. | |
-- Example: local t = { one = { two = 12 } } | |
-- print( dotkey.get( t, "one.two" ) ) -- prints 12 | |
function dotkey.get(t, key) | |
local b, s, p = string.byte, string.sub, 1 | |
for i=1, key:len()+1 do |
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
_CIcosh | |
_CIsinh | |
_CItanh | |
_XcptFilter | |
__CxxFrameHandler | |
__badioinfo | |
__dllonexit | |
__lc_codepage | |
__lc_collate_cp | |
__lc_handle |
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
__non_rtti_object::__non_rtti_object(class __non_rtti_object const &) | |
__non_rtti_object::__non_rtti_object(char const *) | |
bad_cast::bad_cast(char const * const *) | |
bad_cast::bad_cast(char const * const &) | |
bad_cast::bad_cast(class bad_cast const &) | |
bad_cast::bad_cast(char const *) | |
bad_typeid::bad_typeid(class bad_typeid const &) | |
bad_typeid::bad_typeid(char const *) | |
exception::exception(char const * const &) | |
exception::exception(class exception const &) |
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 function out_of_range(i,n) | |
if type(i) == 'number' then | |
if i > 0 and i <= n then return true | |
else error('out of range',3) | |
end | |
else | |
error 'cannot index array by non-number type' | |
end | |
end |
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
(server-start) | |
(require 'package) | |
(package-initialize) | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. |
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
-- Reads a dotted key from t | |
local function read(t, key) | |
local b,s,l = string.byte,string.sub,1 | |
for i=1, key:len()+1 do | |
local c = b(key, i) | |
if c==nil or c==46 then | |
if l==i then | |
error( "Invalid key: [" .. tostring(key) .. "] at character position: " .. tostring(l) ) | |
end | |
t,l = type(t)~="table" and nil or t[s(key, l, i-1)],i+1 |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
+win # MSVC Compilers | |
-host.win ERROR="No cross compiling possible outside Windows (yet there is some WINE stuff..." | |
+host.win | |
+host.win.vs2005 +host.win.vs2008 +host.win.vs2010 +host.win.vs2011 | |
INIT="c:/Prorams Files/.../setvars32.cmd" | |
+host.win.sdk ERROR="Not Finished yet" | |
+host.win.wdk | |
WDK=`wdk-location.cmd` | |
CL=${WDK}/bin/cl.exe |
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
+webos.pre lib | |
+webos.pixi lib | |
+webos.emul lib | |
# ten20 sample +webos.pre | |
# Pre-Build (p4 edit, other) | |
# Build | |
# Post-Build (copy, post build) |
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
+ffi="Enable he FFI extension. Disabling it would reduce the size of the LuaJIT executable. But please consider that the FFI library is compiled-in, but NOT loaded by default. It only allocates any memory, if you actually make use of it" | |
-lua52compat="Enable some upwards-compatible features from Lua 5.2 that are unlikely to break existing code (e.g. __pairs). Note that this does not provide" | |
+jit="Enable the JIT compiler, disabling it would turn LuaJIT into a pure interpreter" | |
+sse2="x86 only: use SSE2 instead of x87 instructions in the interpreter" | |
+cmov="Enable the use of CMOV and FCOMI*/FUCOMI* instructions in the interpreter. Disable it only if you intend to use REALLY ANCIENT CPUs (before Pentium Pro, or on the VIA C3). This generally slows down the interpreter. Don't bother if your OS wouldn't run on them, anyway." | |
+nummode1="Some architectures (e.g. PPC) can use either single-number (+nummode1) or dual-number (+nummode2) mode. Please see LJ_ARCH_NUMMODE in lj_arch.h for details." | |
+nummode2=-nummode1 | |
-s |