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

418
LINES

< > BotCompany Repo | #1022732 // OS Instances Connector [NIO Socket, Web Bot, backup]

JavaX module

Download Jar.

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_8lngk6rtps3qpa5n8oq66rgloq, 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
{"1000568":"computerID - get (and optionally create) computer's ID","1000619":"get function","1000644":"shorten function","1000658":"print function (=System.out.println + logging in memory)","1000688":"javaTok function - Java + JavaX tokenizer, but parses just about anything","1000999":"asList - always returns a new ArrayList (no wrapping)","1001166":"toUtf8","1001296":"MultiMap - synchronized multi-map data structure (Key => L)","1001496":"class Matches","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001735":"unquote - opposite of quote. also takes single quoted strings","1001876":"jmatch function (match with javaTok, keeps punctuation) - pattern goes first (unlike jfind). See also jmatch2","1001878":"indexOf - fills various gaps in java.util.List API","1002042":"keys function","1002108":"empty - extended synonym of isEmpty","1002348":"nempty - not empty","1002500":"values function","1002559":"cloneMap - safely clone a map; null => HashMap. also: map over cloned list","1002637":"substring - exception-free (safe) version of String.substring","1003363":"struct - short for structure","1004211":"synchroMap - synonym of synchroHashMap. also wraps arbitrary maps","1004683":"doEvery - install a java.util.Timer","1005588":"nu - nuObject with values","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1005690":"synchroLinkedList - you probably want ConcurrentLinkedQueue instead","1006239":"sysNow - access System nano-timer in milliseconds (more precise than now(), but not related to date)","1006319":"class ReliableSingleThread - triggers again reliably when one step is already running","1006453":"aGlobalID - make a new global ID [16 random characters from a-z]","1007129":"sendTo - synonym of sendToLocalBot","1007380":"lock - acquire Lock with message; also lock() is a synonym of fairLock()","1007549":"takeFirst function (take first n elements of a list; or characters of a string)","1007610":"popFirst - remove & return first element(s) of collection","1007729":"programFile - synonym of prepareProgramFile","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008505":"synchroSet - synonym of synchroHashSet","1009319":"joinSubList - join(subList(...)) - TODO: optimize","1010884":"keysList - keys of map as list","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1012997":"LineBuffer - characters in, lines out - not multi-threaded!","1014122":"vfAppendToLineBuffer - voidfunc appending to a LineBuffer","1014874":"subByteArray","1015196":"ManualTailFile","1015197":"unquotingLineBuffer","1016562":"sysTime - synonym of sysNow","1016567":"ConnectedInstances - robustly counts computers currently connected through network","1016568":"possibleComputerID","1016570":"getAndClearMap","1016577":"set_trueIfChanged","1017117":"syncPopFirst - remove & return first element of list - synchronized","1017121":"synchroLinkedHashMap","1019236":"manualTailFile_newOnly","1019238":"assertNoLineBreaks","1024021":"with - synonym of withComputing","1030688":"ByteBuffer"} 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 #1016572

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022732
Snippet name: OS Instances Connector [NIO Socket, Web Bot, backup]
Eternal ID of this version: #1022732/1
Text MD5: e4d0736aa0d77f37beb88f25294fd0cd
Author: stefan
Category: javax / a.i. / web
Type: JavaX module
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-03 16:08:05
Source code size: 11789 bytes / 418 lines
Pitched / IR pitched: No / No
Views / Downloads: 725 / 1172
Referenced in: [show references]