This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local function invhax(usr, chan, msg, args) | |
| host = usr.host | |
| if args[1] then | |
| local user = getUserFromNick(args[1]) | |
| if not user or not gameUsers[user.host] then | |
| return "Invalid User" | |
| end | |
| host = user.host | |
| end | |
| sendmsg = "No Inventory Found" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''Do not waste your time in this world pursuing things that you will inevitably lose when you die. Instead, use the time you have to pursue the one thing that will stay with you through death to the afterlife, love. Love can take many forms and the more of it you have, the happier you will be. -Julian Zhou, 2016'' | |
| {{Infobox user | |
| |minecraftname = JZTech101 | |
| |preferredname = Call me whatever.. lol | |
| |skinexplain = | |
| |gender = Male | |
| |location = East Brunswick, NJ, USA | |
| |nationality = Asian | |
| |birthdayday = 07 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When I first started on MCO, I had my doubts, but the website and it's bold statement of "True Survival without the grief" as well as it's freedom of speech policy attracted me. The first thing I noticed was the intermittent server lag. While it was annoying, I understand that admins have a life and these things are also harder to track down then many realize. The second thing I noticed on MCO after a while, was the less than welcoming experience for new players. Personally, I do not find "Welcome, please read the rules and enjoy", to be all that helpful in getting new players started. So, I decided to found Noelle despite the server lag. However, during my time with Noelle, I noticed several things that ended in a decisive move, to no longer welcome new players on to (and in the process endorsing) MCO. The first of these things were the less than competent staff. Some moderators decided it would be fine to attempt banning players after they accidentally broke a torch. (See https://gist.github.com/jztech101/2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JZ = Julian Zhou (My Name) | |
| Tech = I am very interested in Technology | |
| 101 = I am willing to help people with Technology if need be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [12:02:14] 18<26if-chan18> .. ... .,-“:::::::/:::::|:::::|:::::::|:|::::::::::::::::::\\:::::::::::::|:|:::::\:::\::\ | |
| [12:02:14] 18<26if-chan18> ... ... /::::::::::|::::::|:::::|\::::::\:\::::::::::::::::::||::::::::::::|:/::::::|::::|::\ | |
| [12:02:14] 18<26if-chan18> ... .../::::::::::::\:::::::\::::'\”-,::::\:\,:::::::::::::::|:|::::::::::,//::::::/::::|:::'| | |
| [12:02:14] 18<26if-chan18> ... ../::::::::::::::'\::::::\,:::”,”,::\,”,,:::::::::/: |::::::,“//::::::/:::::/::,,-' | |
| [12:02:14] 18<26if-chan18> ... ./:::::::::::::::::”,,,::\|”~,,\,:”~-\”: :”,::::/: :/:::,“: :/::,“/:::,“:::/ | |
| [12:02:14] 18<26if-chan18> ... /::::::::::::::::::/,__”,\: : ,,-~”,”',,: : :\:/: :/:,“,-~,”,”:/:,,“:,//' | |
| [12:02:14] 18<26if-chan18> ... |:::::::::::::::::/:o:::o: :,,“/. ,“:\.|: : : : “: '”:/./,,”\.'|”/::::::|“ | |
| [12:02:14] 18<26if-chan18> ...|::::::/:::::::::/::/|:::|.\: : \.|'|¯;|..|.|: : : : : : : :|.||;;;|././:|:::|:::| | |
| [12:02:14] 18<26if-chan18> ...|::|:::|::::: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JsonArray versions = GeneralUtils.getJsonArray("http://bot.notenoughmods.com/?json&count"); | |
| MCModVersionSearch: | |
| for (int i = versions.size() - 1; i >= 0; i--) { | |
| int size = versions.get(i).getAsJsonObject().get("count").getAsInt(); | |
| if (size > 10) { | |
| String version = versions.get(i).getAsJsonObject().get("name").getAsString(); | |
| JsonArray mods = GeneralUtils.getJsonArray("http://bot.notenoughmods.com/" + version + ".json"); | |
| JsonArray mods2 = GeneralUtils.getJsonArray("http://modlist.mcf.li/api/v3/" + version + ".json"); | |
| mods2.forEach(mod2 -> { | |
| JsonObject mod = mod2.getAsJsonObject(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void registerCharReplacements(){ | |
| Registry.CharReplacements.add(new CharReplacement("a", "á")); | |
| Registry.CharReplacements.add(new CharReplacement("b", "ḃ")); | |
| Registry.CharReplacements.add(new CharReplacement("c", "ƈ")); | |
| Registry.CharReplacements.add(new CharReplacement("d", "ḋ")); | |
| Registry.CharReplacements.add(new CharReplacement("f", "ḟ")); | |
| Registry.CharReplacements.add(new CharReplacement("g", "ǧ")); | |
| Registry.CharReplacements.add(new CharReplacement("h", "ĥ")); | |
| Registry.CharReplacements.add(new CharReplacement("j", "ĵ")); | |
| Registry.CharReplacements.add(new CharReplacement("k", "ķ")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jztech101@home:~$ git clone https://github.com/TechCavern/WaveSite.git | |
| Cloning into 'WaveSite'... | |
| remote: Counting objects: 65, done. | |
| remote: Compressing objects: 100% (27/27), done. | |
| remote: Total 65 (delta 15), reused 0 (delta 0), pack-reused 38 | |
| Unpacking objects: 100% (65/65), done. | |
| Checking connectivity... done. | |
| jztech101@home:~$ export PATH=$PATH:/home/jztech101/Downloads/node/bin | |
| jztech101@home:~$ cd WaveSite/ | |
| jztech101@home:~/WaveSite$ bower install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Process pinghost = Runtime.getRuntime().exec(command); | |
| BufferedReader buffereader = new BufferedReader(new InputStreamReader(pinghost.getInputStream())); | |
| boolean haslines = false; | |
| String line =""; | |
| while ((line = buffereader.readLine()) != null) { | |
| if (line.contains("time=")) { | |
| haslines = true; | |
| String[] ips = StringUtils.split(line, " "); | |
| IRCUtils.sendMessage(user, network, channel, IP + ": " + ips[ips.length-2].replace("time=", "") + "milliseconds", prefix); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| URL url1 = new URL("https://en.wikipedia.org/w/api.php?action=query&prop=extracts&explaintext&exsectionformat=plain&exchars=697&titles=Samsung&format=json"); | |
| String line; | |
| String result = ""; | |
| BufferedReader buffereader = new BufferedReader(new InputStreamReader(url1.openStream())); | |
| while ((line = buffereader.readLine()) != null) { | |
| result += line.replaceAll("\n", " ") + "\n"; | |
| } | |
| buffereader.close(); | |
| return result; |
NewerOlder