Skip to content

Instantly share code, notes, and snippets.

View Jire's full-sized avatar
🇧🇷
of the jungle

Jire Jire

🇧🇷
of the jungle
View GitHub Profile
<domain type="kvm">
<name>Windows</name>
<uuid>2be0ee16-4447-4db7-a19f-49d579a22a4e</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit="KiB">12521472</memory>
<currentMemory unit="KiB">12521472</currentMemory>
import java.io.FileOutputStream
import java.nio.file.Paths
class Agent(var id1: String, val id2: String, val id: String, val email: String, val urls: MutableSet<String> = mutableSetOf())
fun main() {
val fileOne = Paths.get("original.txt").toFile().readLines()
val fileTwo = Paths.get("scraped.txt").toFile().readLines()
val agents = mutableListOf<Agent>()
20 points for post: 40 characters
20 points for post: 277 characters
20 points for post: 67 characters
20 points for post: 35 characters
20 points for post: 48 characters
20 points for post: 33 characters
45 points for post: 456 characters (bonus points 25)
20 points for post: 6 characters
20 points for post: 40 characters
20 points for post: 9 characters
ps.eden.client.jagex.RuntimeException_Sub1
at ps.eden.client.jagex.Class44.generateException(Class44.java:41)
at ps.eden.client.jagex.RSByteBuffer.method757(RSByteBuffer.java:288)
at ps.eden.client.jagex.HDModelRenderer.method1912(HDModelRenderer.java:1427)
at ps.eden.client.jagex.HDModelRenderer.method1930(HDModelRenderer.java:2932)
at ps.eden.client.jagex.HDModelRenderer.animate(HDModelRenderer.java:307)
at ps.eden.client.jagex.Player.animate(Player.java:346)
at ps.eden.client.jagex.Class145.method2073(Class145.java:596)
at ps.eden.client.jagex.Class146.method2083(Class146.java:212)
at ps.eden.client.jagex.Class3_Sub22.method398(Class3_Sub22.java:144)
@Jire
Jire / BadWords.java
Last active December 12, 2023 23:18
Based off PimDeWitte's, this improves performance by over a magnitude and eliminates all garbage (allocations).
import it.unimi.dsi.fastutil.longs.Long2ObjectMap;
import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;
import net.openhft.hashing.LongHashFunction;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
/**
@Jire
Jire / ChatFilter.kt
Created January 8, 2019 11:45
Incredibly fast zero-allocation chat filter written in Kotlin
package ps.eden.server
import it.unimi.dsi.fastutil.objects.ObjectArrayList
import it.unimi.dsi.fastutil.objects.ObjectList
import java.util.concurrent.ForkJoinPool
/**
* Incredibly fast zero-allocation chat filter supporting:
* - ABSOLUTELY NO ALLOCATIONS AFTER INITIAL LOAD! (i.e., no garbage)
* - Configurable white (allowed) and black (blocked) lists.
/**
* A class which represents a list of nodes.
* @author Graham Edgecombe
* @author Emperor
* @param <E> The type of Node.
*/
public class NodeList<E extends Node> implements Collection<E>, Iterable<E> {
/**
* Internal nodes array.

Keybase proof

I hereby claim:

  • I am jire on github.
  • I am jire (https://keybase.io/jire) on keybase.
  • I have a public key ASBoP6lCmHo6Yfc92WaQDK7oBgXbpB0nP8MCiAQQ_fcsqwo

To claim this, I am signing this object:

@Jire
Jire / Eden Changelog
Created July 11, 2018 07:38
Eden Changelog from 7/11/18 3:35AM Eastern Time
fix: vorkath and bryophyta rune pouches will no longer clear on death unless you have the pouches (by Jire, 4 minutes ago)
feat: faster melee combat following response for NPCs (by Jire, 8 minutes ago)
fix: emote tags now ignore emotes which aren't unlocked (by Jire, 38 minutes ago)
feat: blank public chats will no longer send (by Jire, 43 minutes ago)
feat: really cool, in public chat can tag any emote to play it. example :dance: :bk: :jump: (by Jire, 44 minutes ago)
feat: made max hit dummies even nicer :) (by Jire, 72 minutes ago)
feat: made home prayer altar nicer with dialogues (by Jire, 72 minutes ago)
fix: spell autocasting now uses the correct animation (by Jire, 73 minutes ago)
feat: combat dummies at home, also made you attack them like real players! (by Jire, 2 hours ago)
feat: gilded altar and max hit dummy bags at home (by Jire, 2 hours ago)
feat: start of pk tourney (by Jire, 68 minutes ago)
Started tournament supplie shop (by jaxidor, 2 hours ago)
fix: new OSRS wilderness spawns (by Jire, 4 hours ago)
feat: edgeville take a seat GE, and fixed setDefaultAnimations (by Jire, 5 hours ago)
chore: mystery box improvements (by Jire, 5 hours ago)
fix: don't close tabs on trade open? (by leanbow, 5 hours ago)
fix: lag when closing single tab thing (by leanbow, 6 hours ago)
chore: only530 in SQL (by Jire, 7 hours ago)
chore: transformNoLP can now specify whether or not to configure (override) NPC configs (by Jire, 7 hours ago)
feat: added lil'zik pet (by Jire, 8 hours ago)