- Hide menu bar
- Theme: Abyss
- Turn on bash pane
- Adjust user settingsa
- 2 space tabs
- Show whitespace
- Font size should be: ?
- Extensions
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 AWS = require('aws-sdk'); | |
const http = require('http'); | |
const BUCKET_ID = 'weekender-data'; | |
const FILES = { | |
'weekendstatus.js': 'http://web.mta.info/status/weekendstatus.js', | |
'weekendroutestatus.js': 'http://web.mta.info/status/weekendroutestatus.js', | |
'weekendboroughstatus.js': 'http://web.mta.info/status/weekendboroughstatus.js', | |
'LinesStaticData.js': 'http://web.mta.info/weekender/Data/LinesStaticData.js' | |
}; |
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 sendgrid = require('sendgrid')(process.env.SENDGRID_USERNAME, process.env.SENDGRID_PASSWORD) | |
sendgrid.send({ | |
to: 'test@example.com', | |
from: 'test@example.com', | |
subject: 'Hello World from the SendGrid Node.js Library', | |
text: 'some text here' | |
}, function (err, json) { | |
if (err) { | |
res.status(500).json({ msg: 'Could not send feedback.' }) |
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 lang="en"> | |
<head> | |
<title>My Web Map</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css" /> | |
<script src="https://mapzen.com/js/mapzen.min.js"></script> | |
<style> | |
html, body { margin: 0; padding: 0; } | |
#map { height: 100%; width: 100%; position: absolute; } |
I hereby claim:
- I am louh on github.
- I am louh (https://keybase.io/louh) on keybase.
- I have a public key whose fingerprint is 25F4 0B46 B8F0 6868 8444 9227 93B1 FD11 1775 1812
To claim this, I am signing this object:
.node_modules/.bin/jscs test1.js
Result:
TypeError: Cannot read property 'replace' of undefined
at renderLine (/Users/lou/Repositories/louh/jscs-test/node_modules/jscs/lib/errors.js:266:16)
at Object.Errors.explainError (/Users/lou/Repositories/louh/jscs-test/node_modules/jscs/lib/errors.js:197:13)
at /Users/lou/Repositories/louh/jscs-test/node_modules/jscs/lib/reporters/console.js:16:36
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
# Author @patriciogv - 2015 | |
cameras: | |
camera1: | |
type: isometric | |
lights: | |
light1: | |
type: directional | |
direction: [0.047,0.974,-0.222] |
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 http-equiv='x-ua-compatible' content='ie=edge'> | |
<title>[YOUR PAGE TITLE] · Mapzen</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1'> | |
<!-- If you have other meta tags for social sharing, SEO, etc, add it here --> | |
<link rel='stylesheet' href='https://mapzen.com/common/styleguide/styles/styleguide.css'> | |
<!-- If you have other external stylesheets to reference, add it here --> |
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
// LiveReload error | |
ParseError: Syntax Error on line 74 in /Users/louhuang/Dropbox/GitHub/rclosner/lv-dof/public/less/styles.less:74:2 | |
73 .left-screen { | |
74 &:extend(.full-screen); | |
75 .box-shadow(3px 0 6px rgba(0,0,0,0.10)); | |
// LESS contents | |
// ... |
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> | |
<title>Simple Map</title> | |
<meta name='viewport' content='initial-scale=1.0, user-scalable=no'> | |
<meta charset='utf-8'> | |
<style> | |
html, body, #map { | |
margin: 0; | |
padding: 0; |
NewerOlder