- C.H.I.P. $9 computer - $9 getchip.com/pages/chip
- HDMI Adapter - $15 getchip.com/pages/store
- Micro USB Power Supply 5V 2.5A (one with On/Off Switch is convenient) - $8 amzn.to/2jyWygU
- HDMI Cable - $6 amzn.to/2kDnqtN
- USB 2.0 A-Male to Micro B Cable - $6 amzn.to/2kDqKoN
- Paperclip or Male/Male Jumper wire - free or $7 amzn.to/2kDbiZE
- C.H.I.P. $9 computer - $9 getchip.com/pages/chip
- HDMI Adapter - $15 getchip.com/pages/store
- Micro USB Power Supply 5V 2.5A (one with On/Off Switch is convenient) - $8 amzn.to/2jyWygU
- HDMI Cable - $6 amzn.to/2kDnqtN
- USB 2.0 A-Male to Micro B Cable - $6 amzn.to/2kDqKoN
- Paperclip or Male/Male Jumper wire - free or $7 amzn.to/2kDbiZE
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 fs = require('fs'); | |
function rmdirSync(dir) { | |
var currentDirToRead, | |
directoriesFound, | |
nextDirToReadIndex; | |
if (!fs.existsSync(dir)) { | |
return; | |
} |
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
import BaseHTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
import sys | |
import base64 | |
key = "" | |
class AuthHandler(SimpleHTTPRequestHandler): | |
''' Main class to present webpages and authentication. ''' | |
def do_HEAD(self): |
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 fs = require("fs"); | |
var path = require("path"); | |
var rmdir = function(dir) { | |
var list = fs.readdirSync(dir); | |
for(var i = 0; i < list.length; i++) { | |
var filename = path.join(dir, list[i]); | |
var stat = fs.statSync(filename); | |
if(filename == "." || filename == "..") { |
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
<?php | |
namespace My\Custom\Doctrine2\Function; | |
/** | |
* RandFunction ::= "RAND" "(" ")" | |
*/ | |
class Rand extends FunctionNode | |
{ | |
public function parse(\Doctrine\ORM\Query\Parser $parser) |