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

171
LINES

< > BotCompany Repo | #1034361 // Jar Web Bot [backup before zip4j]

JavaX module (desktop) [tags: use-pretranspiled]

Download Jar. Uses 3106K of libraries. Click here for Pure Java version (14240L/87K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_tmqusn4un76v1hgk3majvoobv1, 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
{"1000620":"jsonDecode function (super-simple JSON decoder in JavaX!)","1000658":"print function (=System.out.println + logging in memory)","1000659":"fail functions (improved)","1000679":"gunzipToText - unoptimized","1000998":"md5 - MD5 checksum as hex string","1001333":"sameSnippetID","1001552":"base64decode","1002348":"nempty - not empty","1002990":"contains - like Collection.contains, but allows a null collection and arrays. also for strings","1003008":"or2 function - return string or default value if string is empty (=null or \"\")","1003242":"fsI - synonym of formatSnippetID","1003771":"psI - synonym of parseSnippetID","1003800":"endsWith","1003973":"startsWithOneOf - startsWith, multiple checks","1004219":"Pair - value pair; sorted by a, then b","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1005146":"getServerTranspiled2 - with (safe) caching. first line is libs","1005163":"standardCredentials - make URL parameters with user & pass","1005556":"isSnippetPublic","1006748":"println - synonym of print","1007362":"fileExists - also true for a directory","1007380":"lock - acquire Lock with message; also lock() is a synonym of fairLock()","1007388":"fileLength - synonym of getFileSize - return file size or 0 if not exists","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1009052":"pathToJavaxJar","1009093":"createTempFile","1011502":"copyStreamAndCloseInput","1014663":"subBot_serveFileWithName","1015356":"renderFileInfo","1017716":"zipOutputStream - synonym of newZipOutputStream","1018317":"dropPrefixSlash - synonym of dropLeadingSlash","1019240":"sendToSnippetUpdatesBot","1019801":"lines_rtrim - synonym of rtrim_fromLines","1020726":"loadLibraryOrSrcLib","1022652":"assertFileExists - synonym of assertExists","1030448":"renderColonProperties - synonym of formatColonProperties","1032044":"appendToBaseFileName - synonym of appendToFileNameBeforeExtension","1032124":"SerializeComputations","1032395":"dateWithSecondsUTC","1033412":"extractLibsFromTranspilation","1033488":"text2zip - synonym of zip_addTextFile","1033494":"compilerBotDestDir","1033528":"CompilerBot2 [Java compiler stage 1] [replacement of CompilerBot]","1033735":"Zip2Zip_b - should merge with Zip2Zip","1034043":"zipFileToJSONFingerprint_md5 - list each file name with md5"} 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 #1020140

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

-
Snippet ID: #1034361
Snippet name: Jar Web Bot [backup before zip4j]
Eternal ID of this version: #1034361/1
Text MD5: a3899d06413ccf321ff278ab4810c48f
Transpilation MD5: 83e26c6d190068cd737c0e75aa574091
Author: stefan
Category: javax / web
Type: JavaX module (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-03 07:07:50
Source code size: 5816 bytes / 171 lines
Pitched / IR pitched: No / No
Views / Downloads: 323 / 980
Referenced in: