This file contains 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
package org.sample.package; | |
import java.io.IOException; | |
import java.util.Properties; | |
import org.apache.log4j.Logger; //remove if you don't have the logger | |
import org.newdawn.slick.AppGameContainer; | |
import org.newdawn.slick.SlickException; | |
public class App { |
This file contains 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
#InstallMouseHook ;This line is needed for the script to get input from the mouse | |
#InstallKeyBDHook ;This line is needed for the script to get keyboard input | |
;These next 2 lines make it so the script is only active within the mechlab and match window | |
#IfWinActive, ahk_class CryENGINE | |
#IfWinActive MechWarrior Online | |
F12::Suspend ;This makes the "F12" key turn the script on and off as needed. | |
IfWinActive MechWarrior Online ;The actual "macro" is below and only works when our MWO window is active |
This file contains 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
package time; | |
import java.util.HashMap; | |
import java.util.Map; | |
public class TimeConverter { | |
private HashMap<String, Integer> timeMappings = new HashMap<>(); | |
public TimeConverter() { |
This file contains 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
function createChartStatsGained(e, a) { | |
$.get("/api/profile/stats-gained/" + a, function(a) { | |
e.highcharts({ | |
chart: { | |
zoomType: "x", | |
events: { | |
load: function() { | |
var zoomLevel = localStorage.getItem("zoom") || 0; | |
this.rangeSelector.clickButton(zoomLevel); | |
addCredits(this); |
This file contains 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
#!/usr/bin/env python | |
from scapy.all import * | |
import datetime | |
import door | |
import logging | |
logging.getLogger('scapy.runtime').setLevel(logging.ERROR) | |
# Enter your amazon dash button MACs here | |
macs = { | |
'xx:xx:xx:xx:xx:xx': 'some label' |
This file contains 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
#!/usr/bin/env python | |
from flask import Flask, request, redirect, render_template, abort | |
import json | |
import random | |
RL_STATS = 'https://rocketleaguestats.com/profile/steam/{}' | |
RL_PROFILE = 'https://signature.rocketleaguestats.com/normal/steam/{}.png' | |
class Mapper: | |
def __init__(self): |
This file contains 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
/* | |
* This script is meant to be copy/pasted in to the Chrome javascript console while logged in to Mint. | |
* It can be used to find all of the transactions that you have checked "This is a duplicate" for. | |
* Once all of these transactions are found, you can then have the script add a 'Duplicate' tag to | |
* each of the transactions. | |
* | |
* This will then allow you to filter out duplicate transactions after exporting them to CSV as tags are included. | |
* | |
* You may need to replace the value of the duplicateTagId variable after this comment. | |
* To find the Duplicate tag id, edit a transaction and view the list of tags. |
This file contains 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.util.Iterator; | |
import java.util.Map; | |
import java.util.TreeMap; | |
import javax.net.ssl.SSLServerSocketFactory; | |
//https://confluence.atlassian.com/stashkb/files/679609085/679772359/1/1414093373406/Ciphers.java | |
public class Ciphers | |
{ | |
public static void main(String[] args) | |
throws Exception |
This file contains 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
#!/usr/bin/env python3 | |
import os | |
import subprocess as sp | |
import multiprocessing as mp | |
from collections import OrderedDict | |
try: | |
import tabulate | |
except: | |
tabulate = None |