This file contains 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
.////////. ://////++. | |
.oo+/::/+os. so+/::/+oo | |
:s+/:--:/+s- s+/:--:/+s | |
:s+/:--:/+s- s+/:--:/+s | |
:so++++++os- `so++++++os` | |
`..../+/////////:...............-:+////////+:....` | |
`-+ooooooooooooooooooooooooooooooooooooooooooooooooo:` | |
-so++++++++++++++++++++++++++++++++++++++++++++++++os/ | |
-o+::----....................................---:::/o/ | |
-o/:-----....................................-----:/o/ |
This file contains 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
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNx;.. ';.;KMMMMMMMMMMMMMMMMMMMW0l;....,.:KMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0' .x0,.OMMMMMMMMMMMMMMMMMMMNc lO;.kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO' .lo. ,cccllllooodddxxkkOOk, ck,.xMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO' . 'cdONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMO' .';cc::;;;,,,'''........ .,dXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0c. .cONWMMWWWWWWWNNNNNXXXKK000OOOkkxdl;. ,OWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKd;. :XMMMWXOkO0KXWMMMMMMMMMMMMMMWWWWMMWNO, ,0MMMMMMMMMM |
This file contains 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
``..-.` .-. ``--`.:-..--.- | |
:- sds o .. -so` +. | |
/` hMd` o /MN` +. | |
/` hMh` /::::. `````...---. `. /NN` +. | |
/` /:. ```````.` ```.. -so` /:`` | |
This file contains 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
/* | |
* See documentation at https://nRF24.github.io/RF24 | |
* See License information at root directory of this library | |
* Author: Brendan Doherty (2bndy5), Tom Clement (tjclement) | |
*/ | |
/** | |
* A modified example from the NRF24 library, that cycles through brightness levels of Neewer NL660-2.4 light panels. | |
*/ | |
#include <SPI.h> |
This file contains 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
- (void)update:(int)x y:(int)y deltaY:(float)deltaY buttonDown:(BOOL)buttonDown buttonPress:(BOOL)buttonPress buttonRelease:(BOOL)buttonRelease keyPress:(BOOL)keyPress keyCode:(unsigned short)keyCode keyChars:(const char*)keyChars | |
{ | |
// [..] Updates internal state, sends through click events to user agent etc. | |
@synchronized(self) { | |
if (bitmap == nil) | |
bitmap = [[webView bitmapImageRepForCachingDisplayInRect:webView.frame] retain]; | |
memset([bitmap bitmapData], 0, [bitmap bytesPerRow] * [bitmap pixelsHigh]); | |
[webView cacheDisplayInRect:webView.frame toBitmapImageRep:bitmap]; | |
needsDisplay = YES; // TODO (bitmap == nil || [view needsDisplay]); |
This file contains 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
var app = require('app'); | |
var BrowserWindow = require('browser-window'); | |
require('crash-reporter').start(); | |
var mainWindow = null; | |
app.on('window-all-closed', function () { | |
if (process.platform != 'darwin') { | |
app.quit(); |
This file contains 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
/** | |
* Assumes jspm's config.js contains configs to use Babel as the transpiler. | |
*/ | |
var DevBuilder = require('jspm-dev-builder'); | |
var path = require('path'); | |
var ipc = require('ipc-light'); | |
var fs = require('fs'); | |
var appBuilder = new DevBuilder({ |