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
sleep(1000) -- This is *not* allowed | |
function onInit() | |
sleep(1000) -- This is ok | |
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
<?php | |
$appId = ''; | |
$appSecret = ''; | |
// Do not change below this line | |
session_start(); | |
require_once __DIR__ . '/Facebook/autoload.php'; |
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
from lupa import LuaRuntime | |
script = """ | |
function callDone(response) | |
end | |
function run(arg) | |
http:get(callDone) | |
end | |
""" |