Skip to content

Instantly share code, notes, and snippets.

Sean Coates scoates

Block or report user

Report or block scoates

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@scoates
scoates / 0_reuse_code.js
Created Jul 24, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@scoates
scoates / gist:1711131
Created Jan 31, 2012 — forked from chartjes/gist:1711104
Hands On Node File System Exercise #3
View gist:1711131
var fs = require('fs');
function readBytes(filename, position) {
fs.open(filename, 'r', function(err, fd) {
if (err) {
console.log(err.message);
return;
}
var readBuffer = new Buffer(5);
View Stack.php
<?php
/*
* README
* mkdir one && mkdir two && mkdir three && touch one/blueprint-1.3.css && touch one/foobar.css && touch two/jquery.js && touch three/jquery-1.4.js
*
*/
include('stack.php');
You can’t perform that action at this time.