-
/home
-
/compose/tweet
- as reply
- with RT
-
/messages
-
/explore: search home
-
/search: search results
-
/{user} : profile
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
{"name":"Welcome!","method":"url","files":[{"location":"./playgrounds/welcome/server.js","filename":"server.js","builtin":true,"contents":"\non.get(\"/\", (request) => {\n return render(request, 'index.html')\n})"},{"location":"./playgrounds/welcome/.playground.json","filename":".playground.json","builtin":true,"contents":"{\n \"name\": \"Welcome!\",\n \"method\": \"url\",\n \"files\": [\n {\n \"location\": \"./playgrounds/welcome/server.js\",\n \"filename\": \"server.js\",\n \"builtin\": true\n },\n {\n \"location\": \"./playgrounds/welcome/.playground.json\",\n \"filename\": \".playground.json\",\n \"builtin\": true\n },\n {\n \"location\": \"./playgrounds/.loader.html\",\n \"filename\": \".loader.html\",\n \"builtin\": true\n },\n {\n \"location\": \"./playgrounds/welcome/index.html\",\n \"filename\": \"index.html\"\n }, |
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
### Keybase proof | |
I hereby claim: | |
* I am jessehattabaugh on github. | |
* I am jessehattabaugh (https://keybase.io/jessehattabaugh) on keybase. | |
* I have a public key ASCkmlNbdh-Lus4R2PSv0iJd6Z76RXveGhz7y_E6PtmLigo | |
To claim this, I am signing this object: |
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
/* Config - set the right values in the PhoneGap config.xml | |
******************************************************************************/ | |
gulp.task('config', function () { | |
return gulp.src([srcDir + '/config.xml']) | |
.pipe(cheerio({ | |
run: function ($) { | |
// get the version number from package.json | |
$('widget').attr('version', require('./package').version); | |
// in development launch the app with a different html file |
A Pen by Jesse Hattabaugh on CodePen.
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
$ = require('jquery'); | |
var fileReaderStream = require('filereader-stream'); | |
var JSONStream = require('JSONStream'); | |
count = 0; | |
$('[type=file]').on('change', function () { | |
var acc = $('#acc').val(); | |
$('output').val('Loading...'); | |
fileReaderStream(this.files[0]) |
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
$ = require('jquery'); | |
var fileReaderStream = require('filereader-stream'); | |
var JSONStream = require('JSONStream'); | |
$('[type=file]').on('change', function () { | |
var file = this.files[0]; | |
var stream = fileReaderStream(file) | |
.pipe(JSONStream.parse('locations.*')); | |
stream.on('data', function(data) { | |
console.log('received:', data); |
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
/** | |
* Model | |
*/ | |
var rx = require('rx'); | |
var initialState = {todos: [ | |
'get milk' | |
]}; | |
var el = document.getElementById('app'); |
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
ul{ | |
width: 300px; | |
margin: 100px auto; | |
} | |
li{ | |
font-size: 1em; | |
list-style: none; | |
background-image: url('http://icons.iconarchive.com/icons/calle/smith-and-wesson/32/Single-Bullet-icon.png'); | |
background-repeat: no-repeat; |
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
const fs = require('fs'); | |
const path = require('path'); | |
const argv = require('minimist')(process.argv.slice(2)); | |
const config = require('./config'); | |
/* Here's what this build script does every time you run it | |
*****************************************************************************/ | |
clean(); | |
html(); |
NewerOlder