I hereby claim:
- I am cmichi on github.
- I am cmichi (https://keybase.io/cmichi) on keybase.
- I have a public key ASA8usPptGEMn6Gas6s9TUCx8eq2gsu_Fzr93c7fkb7uYQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* returns the pixel color for a XBM (X BitMap) image. | |
* | |
* XBM is a plain text monochrome image format that takes the form of | |
* C source code. images can directly be compiled into an application. | |
* | |
*/ | |
static int is_black(int x, int y, int img_width, int img_height) | |
{ | |
char byte_containing_px; |
/** | |
* Very simple way to check if a file exists on this domain. | |
* Use with the jQuery library. | |
* | |
* Important: Works only on the same domain. | |
* Cross-domain-requests have to be done in another way (see JSONP)! | |
* | |
* Use: console.log( "/data/list.json".fileExists() ); | |
*/ | |
String.prototype.fileExists = function() { |