This file contains hidden or 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
/** | |
* Stop | |
* | |
* A prototype game exploring the idea of a | |
* bullet hell space-shooter in which the | |
* player takes an entirely defensive role | |
* and must protect others in addition to | |
* themselves. | |
* | |
* Known issues/ things to ponder: |
This file contains hidden or 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
\ | |
\ Garbage.fs | |
\ | |
\ A compact, simple implementation of a garbage-collected | |
\ cons-pair heap utilizing Cheney's algorithm. | |
\ Pointers to pairs are identified by a pattern in the | |
\ high-order bits of a value, chosen not to collide | |
\ with the constants "true" or "false". | |
\ |
This file contains hidden or 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.*; | |
import java.net.*; | |
import java.io.*; | |
public class Web { | |
public static void main(String[] args) throws Exception { | |
ServerSocket server = new ServerSocket(10101); | |
while(true) { | |
Socket s = server.accept(); |
This file contains hidden or 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
\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | |
\ LCD Driver | |
\ | |
\ This project uses FlashForth to write text | |
\ to the LCD display on the Microchip PICDEM | |
\ PIC18 Explorer Demo Board, running on a | |
\ PIC18F8722 microcontroller. | |
\ | |
\ John Earnest | |
\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ |
This file contains hidden or 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
USING: | |
kernel | |
sequences | |
sequences.deep | |
math | |
math.functions | |
math.order | |
math.ranges | |
math.primes | |
math.primes.factors |
This file contains hidden or 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
to any :list | |
output item random size :list :list | |
end | |
to idle | |
output any [ | |
[Go on, go on.] | |
[What does that suggest to you?] | |
[How does that make you feel?] | |
] |
This file contains hidden or 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
to command | |
local 'x readlist | |
unless word? first :x | |
[pr [?] output command] | |
output first :x | |
end | |
to select :verb :ops :default | |
if empty? :ops [default :verb stop] | |
if equal? first :ops :verb |
This file contains hidden or 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.awt.*; | |
import java.awt.geom.*; | |
import javax.swing.*; | |
import java.util.*; | |
import java.util.List; | |
import static java.lang.Math.*; | |
public class HexScape extends JPanel { | |
public static void main(String[] args) { |
This file contains hidden or 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.io.*; | |
import java.util.*; | |
import java.awt.image.*; | |
import javax.imageio.*; | |
// a very basic texture unpacker for the Quake WAD3 file format | |
// see http://hlbsp.sourceforge.net/index.php?content=waddef | |
public class WAD3 { | |
static int index = 0; |
This file contains hidden or 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
//////////////////////////////////////////////////////////////////////////// | |
// | |
// Node.js HTTP file server example. | |
// | |
// Serves documents via GET requests with CORS headers and (if enabled) | |
// additionally permits writes via POST requests. | |
// | |
// Before using, PLEASE be aware of the security risks associated with | |
// running a server like this on publicly accessible machines! | |
// |
OlderNewer