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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> | |
<title></title> | |
<link href="lib/ionic/css/ionic.css" rel="stylesheet"> | |
<link href="css/style.css" rel="stylesheet"> |
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
(function(){ | |
var Geolocation = { | |
coordinates: {long:null, lat:null, timestamp:null, accuracy:null}, | |
capable: function(){ | |
//return false; | |
return Modernizr.geolocation?true:false; | |
}, | |
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
function Car() { | |
this.speed = 0 | |
} | |
Car.prototype.accelerate = function(by) { | |
var self = this; | |
function throttler() { | |
if (by > 20) { |
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
<div class="row"> | |
<div class="span4"></div> | |
<div class="span4"></div> | |
<div class="span4"></div> | |
</div> |
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
underscore.each(latestFiles, function (file, i) { | |
var currentFile = file.split('/').pop(); | |
fs.readFile(file, 'utf8', function (error, content) { | |
if (error) { | |
return cb(error, null); | |
} | |
parser.parseString(content, function (error, json) { | |
if (error) { |
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
{ | |
readable: true, | |
writable: true, | |
method: 'POST', | |
uri: { | |
protocol: 'https:', | |
slashes: true, | |
host: 'api.twitter.com', | |
hostname: 'api.twitter.com', | |
href: 'https://api.twitter.com/1.1/statuses/update.json', |
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
{ | |
readable: true, | |
writable: true, | |
method: 'POST', | |
uri: { | |
protocol: 'https:', | |
slashes: true, | |
host: 'api.twitter.com', | |
hostname: 'api.twitter.com', | |
href: 'https://api.twitter.com/1.1/statuses/update.json', |
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 request = require('request'); | |
var uniCrypto = require('./unified-crypto'); | |
var qs = require('querystring'); | |
var db = require('../app').db; | |
console.log(db); | |
. | |
. | |
. |
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 express = require('express'); | |
var routes = require('./routes'); | |
var auth = require('./routes/auth'); | |
var feed = require('./routes/services/feed'); | |
var profiles = require('./routes/profiles'); | |
var http = require('http'); | |
var path = require('path'); | |
var app = express(); | |
var RedisStore = require('connect-redis')(express); | |
var Db = require('./lib/dwibbles-db'); |
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 express = require('express'); | |
var routes = require('./routes'); | |
var auth = require('./routes/auth'); | |
var feed = require('./routes/services/feed'); | |
var profiles = require('./routes/profiles'); | |
var http = require('http'); | |
var path = require('path'); | |
var app = express(); | |
var RedisStore = require('connect-redis')(express); | |
var Db = require('./lib/dwibbles-db'); |