Skip to content

Instantly share code, notes, and snippets.

View au5ton's full-sized avatar
😶‍🌫️
Working on closed-source stuff

Austin Jackson au5ton

😶‍🌫️
Working on closed-source stuff
View GitHub Profile
<style>
html {
min-height: 100%;
}
body {
margin: 0px;
padding: 0px;
//**********************************************************************
// function waitfor - Wait until a condition is met
//
// Used from: http://stackoverflow.com/a/14811679
//
// Needed parameters:
// test: function that returns a value
// expectedValue: the value of the test function we are waiting for
// msec: delay between the calls to test
// callback: function to execute when the condition is met
Verifying that +au5ton is my openname (Bitcoin username). https://onename.com/au5ton
import java.util.Arrays;
import java.util.Scanner;
public class Chemistry
{
static Scanner console = new Scanner(System.in);
public static void main(String[] args)
{
for(;;)