This file contains hidden or 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
| function luaCaller(module, func, params) | |
| if(params=="") then | |
| tableParams ={} | |
| else | |
| tableParams = json.decode(params) | |
| end | |
| luaFunc =loadstring("return " .. module .. "." .. func .. "(tableParams)"); | |
| result = luaFunc() | |
| return json.encode(result) | |
| end |
This file contains hidden or 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
| function luaErrHandler(err) | |
| print("lua error", err) | |
| print(debug.traceback()) | |
| os.exit() -- force exit | |
| end | |
| function luaCaller(module, func, params) | |
| if(params=="") then | |
| tableParams ={} | |
| else |
This file contains hidden or 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
| lua error [string "module/battle.lua"]:51: attempt to call global 'xxx' (a nil value) | |
| stack traceback: | |
| [string "main.lua"]:22: in function 'xxx' | |
| [string "module/battle.lua"]:51: in function 'doSth' | |
| [string "module/battle.lua"]:55: in function <[string "module/battle.lua"]:54> | |
| (tail call): ? | |
| [C]: in function 'xpcall' | |
| [string "main.lua"]:34: in function <[string "main.lua"]:26> |
This file contains hidden or 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
| lua error [string "module/battle.lua"]:51: attempt to call global 'xxx' (a nil value) | |
| stack traceback: | |
| [string "main.lua"]:22: in function 'xxx' | |
| [string "module/battle.lua"]:51: in function 'doSth' | |
| [string "module/battle.lua"]:55: in function <[string "module/battle.lua"]:54> | |
| (tail call): ? | |
| [C]: in function 'xpcall' | |
| [string "main.lua"]:34: in function <[string "main.lua"]:26> |
This file contains hidden or 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
| import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read()) |
This file contains hidden or 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
| 4 Elements (Premium).app | |
| 4Video MP4 Converter.app | |
| Adium.app | |
| AirServer.app | |
| Alfred 2.app | |
| AliWangwang.app | |
| Any Screen Record Pro.app | |
| App Store.app | |
| App2Dmg.app | |
| AppCleaner.app |
This file contains hidden or 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 x() | |
| local a = 1 | |
| local function y() | |
| print(a) | |
| end | |
| if 1 > 0 then | |
| local function z() | |
| end | |
| end |
This file contains hidden or 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
| ldr r1, [sp, #88] | |
| ldr r0, [sp, #60] | |
| vldr s0, [r1] | |
| ldr.w r0, [r10, r0] | |
| vmul.f32 d16, d14, d0 | |
| ldr r1, [sp, #68] | |
| vadd.f32 d16, d15, d16 | |
| vadd.f32 d16, d11, d16 | |
| vcvt.u32.f32 d0, d16 | |
| vmov r2, s0 |
