Uses 10819K of libraries. Click here for Pure Java version (15926L/85K).
java.lang.RuntimeException: Unknown token 2: <:
Warning: session_start(): open(/var/lib/php/sessions/sess_3fur7mgufeae8md5kq6pffrotb, 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
{"1000619":"get function","1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1001038":"last function (get last element of list or last character in string)","1001049":"loadTextFile (function)","1001166":"toUtf8","1001913":"unnull","1001927":"diff - get elements of one collection that are not in another collection (works on any collection type)","1001954":"getString - getOpt with cast to string","1002108":"empty - extended synonym of isEmpty","1002500":"values function","1003008":"or2 function - return string or default value if string is empty (=null or \"\")","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003524":"filter","1003638":"litorderedmap - create LinkedHashMap with items","1004219":"Pair - value pair; sorted by a, then b","1004220":"pair - make value pair","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1004677":"prepareCacheProgramFile","1005404":"getLong - getOpt with cast to long (or 0)","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006744":"deleteFile","1007362":"fileExists - also true for a directory","1007439":"lines - short for fromLines \/ toLines","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008055":"mapGet","1008543":"mapToLines - different meanings","1009173":"Either - union type","1009659":"eitherA - synonym of either1 - create Either object with first variant","1009660":"eitherB - synonym of either2 - create Either object with second variant","1010254":"pairA - synonym of firstOfPair","1010842":"trueOrNull - convert true to TRUE, false to null","1012861":"dateWithSecondsGMT","1013434":"yesNo - synonym of yesno","1015193":"appendToFileName - synonym of fileAppendToName","1020608":"eitherGetA - synonym of eitherAOpt","1021169":"trimAllLines","1024021":"with - synonym of withComputing","1024417":"discordAt","1026299":"jsonEncode_breakAtNLevels - jsonEncode with line breaks in first n levels","1026301":"JsonDiff","1026304":"decodeJson - synonym of jsonDecode","1026307":"nicelyFormatJsonDiff","1026311":"changeKey - change key in map, in place","1026314":"isB - synonym of eitherIsB"} 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)
Began life as a copy of #1026297
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1026316 |
| Snippet name: | Discord Cloner v1 [saves and restores roles and members] |
| Eternal ID of this version: | #1026316/4 |
| Text MD5: | 15cdf74fd3e9ae9918a76a8d9f59f556 |
| Transpilation MD5: | 1a3cda2d3f338e3a8d3aea1c4933f7b5 |
| Author: | stefan |
| Category: | javax / discord |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-12-15 22:59:57 |
| Source code size: | 8042 bytes / 232 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 649 / 808 |
| Version history: | 3 change(s) |
| Referenced in: | #1026415 - Tomii Boi Discord Bot [now works everywhere, dev.] |