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
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; | |
/** |
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
applet.setBounds(0, 0, GAME.width, GAME.height); | |
applet.setLayout(null); |
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
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("}") |
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
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 |
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
/** | |
* @author Tim Dekker | |
* @since 5/7/15 | |
*/ | |
public class Rectangle { | |
int x1; | |
int y1; | |
int x2; | |
int y2; |
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
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 |
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
/* | |
* Copyright (c) 2012. Redex Scripting - Unauthorized use prohibited by author. | |
*/ | |
import java.awt.*; | |
import java.util.LinkedList; | |
/** | |
* Created by IntelliJ IDEA. | |
* User: Swipe |
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
/* | |
* Copyright (c) 2012. Redex Scripting - Unauthorized use prohibited by author. | |
*/ | |
import java.awt.*; | |
/** | |
* Created by IntelliJ IDEA. | |
* User: Swipe | |
* Date: 7/14/12 |
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
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") |