Skip to content

Instantly share code, notes, and snippets.

View robotman3000's full-sized avatar

Eric Nims robotman3000

View GitHub Profile
@robotman3000
robotman3000 / index.html
Created March 20, 2024 15:33
Tic Tac Toe Challenge - Answer
<html>
<body>
<div id="wrapper">
<div id="tictactoe">
<table>
<tbody>
<tr>
<td></td>
<td></td>
@robotman3000
robotman3000 / SynchronizedProcessingQueue.java
Created March 1, 2017 04:37
A Synchronized Processing Queue
import java.util.ArrayDeque;
import java.util.Deque;
public abstract class SynchronizedProcessingQueue<T> {
private final ArrayDeque<T> queue;
private final Thread thread;
private boolean running = true;
public SynchronizedProcessingQueue(final String threadName) {