Install Cygwin with make, gcc & g++. Download Redis tar.gz package, unpack it.
Edit deps/hiredis/net.c and add the following lines just after the include directives:
// | |
// Simple example of using net.Socket but here we capture the | |
// right events and attempt to re-establish the connection when | |
// is is closed either because of an error establishing a | |
// connection or when the server closes the connection. | |
// | |
// Requires | |
var net = require('net'); |
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"os" | |
) |
package dragon; | |
import java.awt.Color; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.GraphicsConfiguration; | |
import java.awt.GraphicsDevice; | |
import java.awt.GraphicsEnvironment; | |
import java.awt.image.BufferedImage; | |
import java.io.File; |