Skip to content

Instantly share code, notes, and snippets.

View SwipeX's full-sized avatar

Tim Dekker SwipeX

  • Serv-I-Quip
  • Maryland
View GitHub Profile
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode;
import pw.tdekk.Application;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.stream.Collectors;
/**
applet.setBounds(0, 0, GAME.width, GAME.height);
applet.setLayout(null);
Imports System.IO
Imports System.Net
Public Class Form1
Dim _dictionary As New Dictionary(Of String, Integer)
Dim _ids As New Dictionary(Of String, Integer)
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim pageContent As String = New System.Net.WebClient().DownloadString("C:\Users\timde\Downloads\names.json")
Dim split As String() = pageContent.Split("}")
psuedo-code for calculating the max-depth of overlayed rectangles.
Members: Tim Dekker, Ryan Serva, Krzysztof Czerwinski
Map<Rectangle, Integer> depth;
public static void main(String[] args) throws FileNotFoundException {
int count = first int
//read in all rectangles and process them
for (int i = 0; i < count; i++) {
String line = next line
/**
* @author Tim Dekker
* @since 5/7/15
*/
public class Rectangle {
int x1;
int y1;
int x2;
int y2;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
/**
* @author Tim Dekker
* @since 5/7/15
@SwipeX
SwipeX / LogHandler
Created July 15, 2012 03:35
LogHandler for use with RSBot
/*
* Copyright (c) 2012. Redex Scripting - Unauthorized use prohibited by author.
*/
import java.awt.*;
import java.util.LinkedList;
/**
* Created by IntelliJ IDEA.
* User: Swipe
@SwipeX
SwipeX / LogEntry
Created July 15, 2012 03:34
LogEntry for use with RSBot
/*
* Copyright (c) 2012. Redex Scripting - Unauthorized use prohibited by author.
*/
import java.awt.*;
/**
* Created by IntelliJ IDEA.
* User: Swipe
* Date: 7/14/12
@SwipeX
SwipeX / ReWalk
Created August 31, 2011 05:35
3.0 Walker
import javax.swing.SwingUtilities;
import org.rsbot.script.Script;
import org.rsbot.script.ScriptManifest;
import org.rsbot.script.methods.Calculations;
import org.rsbot.script.methods.Walking;
import org.rsbot.script.wrappers.Path;
import org.rsbot.script.wrappers.Tile;
@ScriptManifest(authors = { "Swipe" }, keywords = "Walking", name = "ReWalk", version = 1.0, description = "Walker for 3.0")