Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

178
LINES

< > BotCompany Repo | #1029494 // Eleu 3 [backup without WebSockets]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 2568K of libraries. Click here for Pure Java version (16468L/91K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_r81ro36o5kckqtcq8jpeems0uc, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"764":"domain - short for domainName","1000658":"print function (=System.out.println + logging in memory)","1000736":"sleep function","1000801":"now function","1000998":"md5 - MD5 checksum as hex string","1001049":"loadTextFile (function)","1001116":"sleepSeconds","1001462":"userDir - userHome as File","1001496":"class Matches","1001520":"eqic (short for equalsIgnoreCase)","1001651":"class NanoHTTPD (LIVE)","1001852":"serve404","1001913":"unnull","1002108":"empty - extended synonym of isEmpty","1002348":"nempty - not empty","1002692":"mc method - get main class of program","1002835":"swic - synonym of startsWithIgnoreCase","1003197":"serveFile - serve a file within serveHttp","1003340":"startsWith - now also for lists","1004219":"Pair - value pair; sorted by a, then b","1004436":"serveRedirect","1005292":"uniq - synonym of uniqueConcept","1005588":"nu - nuObject with values","1005990":"printVars - print a bunch of vars","1006459":"printWithTime","1007362":"fileExists - also true for a directory","1007545":"serveByteArray - serve a byte array with a specific content type within serveHttp","1007563":"serveFile_maxCache - serve a file within serveHttp with maximum caching","1007586":"serveByteArray_maxCache - serve a byte array with maximum cache","1008055":"mapGet","1008571":"lower - synonym of toLower","1008999":"clientIP - synonym of getClientIP - for web bots, may return two addresses separated by comma (second one is x-forwarded-for)","1009230":"dbIndexing - start DB, indexing certain concept fields - idempotent","1009257":"cset - set fields in Concept object (with notification of DB)","1010558":"dropPrefixIC - IC = ignore case","1010692":"strOrNull","1011962":"getClientIPFromHeaders (including forwarded-for)","1013807":"serveFileWithName","1013821":"googleVerifyUserToken2","1017632":"dm_findModule - returns module ID or null. takes full module ID (\"#snippetID\/className\") or just snippet ID","1019275":"DynPrintLogAndEnabled","1020139":"dm_call - call function in a module. should also work from a non-module if moduleOrID is a direct reference","1022719":"dm_findModuleWithParams - returns module ID or null","1023277":"uniqCI_sync - make a unique object in a locked way, case-insensitive field checks","1023589":"domainIsUnder (is it the same or a subdomain?)","1023678":"serve500","1024508":"serve403 - forbidden","1025994":"appendSlash - synonym of addSlash","1026103":"ConceptWithGlobalID","1027611":"dm_restartOnFieldChange - synonym of dm_reloadOnFieldChange","1027732":"ServeHttp_CookieHandler","1028045":"serverSocketFactory_botCompanyEtc [LIVE]","1028248":"serveHttp_clientIP","1028418":"decodeJSONMap - synonym of jsonDecodeMap","1028964":"googleClientSecretFileForDomain","1028966":"dm_moduleIsReloading","1028969":"dm_moduleIsStarting","1035555":"WebRequest"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1028671

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029494
Snippet name: Eleu 3 [backup without WebSockets]
Eternal ID of this version: #1029494/1
Text MD5: fab249407ef5544e9dc0094152d49c8b
Transpilation MD5: 5642cdb35ecd183bac069adef8b2bcc7
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-15 14:32:41
Source code size: 5051 bytes / 178 lines
Pitched / IR pitched: No / No
Views / Downloads: 553 / 646
Referenced in: [show references]