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
| // Any colors for output | |
| var colors = require('colors'); | |
| // For json sockets | |
| var jot = require('json-over-tcp'); | |
| // Setup socket.io | |
| var app = require('http').createServer(); | |
| var io = require('socket.io').listen(app); |
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
| package main | |
| // NOTE: This implements the following protocol: | |
| // https://github.com/turn/json-over-tcp | |
| // This was done for chunking reasons | |
| // Darn you TCP! | |
| import ( | |
| "encoding/binary" | |
| "encoding/json" |
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
| # Contributor: Austin ( doorknob60 [at] gmail [dot] com ) | |
| # Maintainer: Gaetan Bisson <bisson@archlinux.org> | |
| pkgname=broadcom-wl | |
| pkgver=5.100.82.112 | |
| pkgrel=3 | |
| pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver' | |
| url='http://www.broadcom.com/support/802.11/linux_sta.php' | |
| arch=('i686' 'x86_64') | |
| license=('custom') |
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
| @Override | |
| public void draw() { | |
| this.sprite.getTexture().bind(); | |
| //double w = this.width/32; | |
| //double h = this.height/32; // we should do the same for height. | |
| double row = this.sprite.getsY(); | |
| double col = this.sprite.getsX(); | |
NewerOlder