Skip to content

Instantly share code, notes, and snippets.

@thirdy
thirdy / AutoCompleteTextField.java
Created October 24, 2015 14:21
Autocomplete TextField for list with lots of entries - based on: https://gist.github.com/floralvikings/10290131
package net.thirdy.blackmarket.samples;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.stream.Collectors;
import org.apache.commons.lang3.StringUtils;
@thirdy
thirdy / 16al_header_sm.jpg
Last active July 20, 2020 04:24
JavaFX titled border example standalone version of https://gist.github.com/jewelsea/2838292
16al_header_sm.jpg
{
"size" : 500,
"query" : {
"filtered" : {
"filter" : {
"and" : {
"filters" : [ {
"or" : {
"filters" : [
@thirdy
thirdy / GetGithubDownloadStatistics.java
Last active November 18, 2015 04:06
Standalone Java console app to view your Github releases download counts or statistics
/*
* Copyright (C) 2015 thirdy, reddit: /u/ProFalseIdol
*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package poe.trade.assist;
import java.util.Arrays;
@thirdy
thirdy / iframe-plain.html
Last active November 19, 2015 16:33
attempt to have a better poe wiki - the poewiki.net
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>List of unique amulets - Path of Exile Wiki</title>
<script src="http://code.jquery.com/jquery-2.1.4.js"></script>
</head>
<body>
@thirdy
thirdy / UniquesListSearchGenerator.java
Created December 12, 2015 13:26
Path of Exile Uniques List Generator with poe.trade and wiki links
/*
* Copyright (C) 2015 thirdy
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
thirdy 18:15
writing a serious drama on reddit
zocke1r 18:16
uh
Moksu 18:16
:O
thirdy 18:35
<head>
<title>a streaming stash tab test</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.6/socket.io.js"></script>
<script src="https://cdn.rawgit.com/broofa/node-uuid/master/uuid.js"></script>
<script>
var pwxid = uuid.v4();
var socket = io.connect('http://rtstashapi.exiletools.com', {query: 'pwxid=' + pwxid});
@thirdy
thirdy / pull.sh
Created June 10, 2016 06:00
Bash script for running multiple git pull on multiple directories
#!/bin/bash
for REPO in */; do (cd "$REPO"; echo "pull ----------------------------------------------------------------------------> " ${REPO}; git pull); done;
@thirdy
thirdy / status.sh
Created June 10, 2016 06:00
Bash script for running multiple git status on multiple directories
#!/bin/bash
for REPO in */; do (cd "$REPO"; echo "status ----------------------------------------------------------------------------> " ${REPO}; git status); done;