Skip to content

Instantly share code, notes, and snippets.

View ferrybig's full-sized avatar

Fernando van Loenhout ferrybig

View GitHub Profile
package minecrafthacker;
import java.io.FilterInputStream;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
@ferrybig
ferrybig / maven.md
Created March 18, 2016 12:26
Maven dependency go-offline not working

C:\Users\Fernando\Documents\NetBeansProjects\minigame>mvn dependency:go-offline -Dmaven.repo.local=../repo-test

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building minigame 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-dependency-plugin:2.8:go-offline (default-cli) > :resolve-plugins @ minigame >>>

[INFO]

@ferrybig
ferrybig / maven.txt
Created March 18, 2016 13:00
maven.txt
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-6/wagon-ssh-external-1.0-beta-6.pom
3/3 KB
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-6/wagon-ssh-external-1.0-beta-6.pom (3 KB at 0.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-beta-6/wagon-providers-1.0-beta-6.pom
3/3 KB
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-beta-6/wagon-providers-1.0-beta-6.pom (3 KB at 21.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-6/wagon-1.0-beta-6.pom

C:\Users\Fernando\Documents\NetBeansProjects\minigame>mvn -o verify -Dmaven.repo.local=../repo-test

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building minigame 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ minigame ---
@ferrybig
ferrybig / review queues.md
Created March 25, 2016 15:40
Allow us again to see if a question is currently on the close review queues

For the past few months, there was a feature in the timeline of a post that showed if the post was concurrently in any review queue. Because this was present, it allowed users to cordinate their votes better in term of the following flags:

  • Low Quality queue

    This feature enabled us to see if the post was already in the queue's, if it was, we didn't need to use a new flag, and could save the flags for worser posts

  • Close votes queue

If we saw that a post has been edited, we could use this method to visit the post in the queue, and mark it as Leave open, reducing the amount of posts in the queue

@ferrybig
ferrybig / Usernames.java
Created April 5, 2016 17:23
Creates a list of usernames and uuid based on replay mod files
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package test;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
@ferrybig
ferrybig / Our policy on posts with hidden link spam to the authors website.md
Last active April 11, 2016 11:05
Our policy on posts with hidden link spam to the authors website
// ==UserScript==
// @name Spam Reporter
// @namespace http://github.com/Tiny-Giant
// @version 1.0.0.0
// @description Adds a link to the post menu for most posts.
// @author @TinyGiant
// @include /^https?:\/\/\w*.?(stackexchange.com|stackoverflow.com|serverfault.com|superuser.com|askubuntu.com|stackapps.com|mathoverflow.net)\/q(uestions)?\/\d+/
// @grant GM_xmlhttpRequest
// ==/UserScript==
/* jshint -W097 */
@ferrybig
ferrybig / spamtracker.user.js
Last active December 5, 2016 09:09
Spam Tracker
// ==UserScript==
// @name Spamtracker
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Alerts you when new smokedetector messages show up
// @author NormalHuman
// @author Ferrybig
// @match *://chat.meta.stackexchange.com/*
// @match *://chat.stackexchange.com/*
// @match *://chat.stackoverflow.com/*
@ferrybig
ferrybig / keybase.md
Created December 11, 2016 20:06
keybase.md

Keybase proof

I hereby claim:

  • I am ferrybig on github.
  • I am ferrybig (https://keybase.io/ferrybig) on keybase.
  • I have a public key whose fingerprint is 7B28 BE91 9775 3912 96BE F85C 57DD 301D BFAF 06F4

To claim this, I am signing this object: