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

1094
LINES

< > BotCompany Repo | #1021212 // go-offline

JavaX source code (Dynamic Module) - run with: Stefan's OS

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_oo3ru424ag4nj3o1k732u8llqh, 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
{"1000569":"userHome (TODO: is this ok for Android?)","1000630":"call function(s) for reflective calls to objects\/classes","1000658":"print function (=System.out.println + logging in memory)","1000659":"fail functions (improved)","1000672":"indent function","1000708":"parseSnippetID","1000709":"formatSnippetID functions","1000711":"shortenSnippetID","1000801":"now function","1000827":"mkdirsForFile","1000843":"copyFile - returns dest","1000844":"copyStream","1000864":"isAndroid","1000889":"getStackTrace","1000946":"getJavaX","1000961":"isInstanceX - extended over Class.isInstance() to handle primitive types","1001038":"last function (get last element of list or last character in string)","1001042":"saveTextFile (function)","1001049":"loadTextFile (function)","1001052":"programDir","1001101":"\"getOpt\" function (get field by reflection, return null if not there)","1001112":"getProgramID - now returns formatted ID","1001152":"getMainClass","1001199":"callOpt - now forwards to callOpt_withVarargs","1001246":"parseLong","1001266":"getProgramDir","1001326":"programID","1001333":"sameSnippetID","1001396":"saveProgramTextFile","1001462":"userDir - userHome as File","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001664":"max function","1001730":"currentThread","1001913":"unnull","1001914":"emptyList - returning a new list now cause want mutable lists","1001949":"getProgramFile","1001992":"str function (=String.valueOf + extensions)","1002021":"booleanValue - defaults to false for null or a random value","1002022":"isEmpty - check strings or collections for emptiness","1002048":"dropSuffix - note the (maybe) curious argument order","1002071":"trim function","1002108":"empty - extended synonym of isEmpty","1002209":"getClassName","1002222":"repeat - now also for lists","1002270":"getMainBot - for Eleutheria sub-bots","1002275":"getBot - get reference to another running bot","1002288":"printStackTrace","1002348":"nempty - not empty","1002454":"main - synonym of getMainClass","1002583":"javaxDataDir","1002662":"isTrue - synonym of booleanValue","1002692":"mc method - get main class of program","1002776":"getClass - has 3 functions","1003046":"loadProgramTextFile","1003137":"ping - allow pausing all threads & thread-inserted actions","1003144":"indentx function - handles trailing \\n better","1003231":"classNameToVM - convert . in class name to $","1003313":"callFunction - synonym of callF - call a Runnable or function name","1003483":"callF + safeCallF - call a Runnable, func, voidfunc or function name","1003627":"isAWTThread","1004058":"getType - show type of object for error messages","1004195":"synchroHashMap","1004211":"synchroMap - synonym of synchroHashMap. also wraps arbitrary maps","1004381":"isHeadless - \"headless\" graphics environment (no display)?","1004479":"printIndent - print indented","1004846":"isSubtypeOf - is a class a subtype of another class?","1005134":"endsWithLetter","1005135":"isLetter - synonym of Character.isLetter","1005567":"isFalse - checks if an object is Boolean.FALSE (returns false on default)","1005583":"getOpt_cached (optimized version of getOpt), getOpt_makeCache","1005688":"callJavaX - call JavaX core","1005691":"newFileOutputStream - registered version of new FileOutputStream; also mkdirs()","1005806":"isOfflineMode - check global flag for offline mode","1005807":"goOfflineMode - go into global offline mode","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1007938":"getOpt_findField - TODO: optimize","1016424":"print_append (helper for print function)","1016585":"call_checkArgs","1031744":"DynamicObject (imported from core - see #1004543)"} 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)

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, fzcpzdstiiyc, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021212
Snippet name: go-offline
Eternal ID of this version: #1021212/1
Text MD5: 4fe24e5406f53d617182ab76d4402c19
Author: someone
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-03 07:22:24
Source code size: 30288 bytes / 1094 lines
Pitched / IR pitched: No / No
Views / Downloads: 692 / 699
Referenced in: [show references]