Skip to content

Instantly share code, notes, and snippets.

Chris Chapman chrischap

View GitHub Profile
View gist:c04619325fba3a47e8b5
var mc = require('minecraft-protocol');
var client = mc.createClient({
host: "", // optional
port: 25565, // optional
username: "username",
password: "pass",
client.on('connect', function() {
View gist:3e2b1b55d1a06512c43d
throw er; // Unhandled 'error' event
Error: ForbiddenOperationException
at /home/vera/node_modules/minecraft-protocol/lib/yggdrasil.js:73:21
at Request.callback (/home/vera/node_modules/minecraft-protocol/node_modules /superagent/lib/node/index.js:575:3)
at Request.<anonymous> (/home/vera/node_modules/minecraft-protocol/node_modu les/superagent/lib/node/index.js:133:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage.<anonymous> (/home/vera/node_modules/minecraft-protocol/n ode_modules/superagent/lib/node/index.js:703:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
View box-shadow.html
<!DOCTYPE html>
<title>Box Shadow</title>
.box {
height: 150px;
width: 300px;
margin: 20px;
View gist:30a0facae56396e68a2c
<!doctype html>
<title>Site Maintenance</title>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
We couldn’t find that file to show.
You can’t perform that action at this time.