-
Wikipedia(Basic認証の基礎)
http://ja.wikipedia.org/wiki/Basic%E8%AA%8D%E8%A8%BC -
RFC 2617(HTTP Authentication: Basic and Digest Access Authentication)
http://tools.ietf.org/html/rfc2617 -
RFC 2616(WWW-Authenticateについて)
http://tools.ietf.org/html/rfc2616#section-14.47 -
The OAuth 2.0 Authorization Framework: Bearer Token Usage(日本語)
This file contains hidden or 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
.demo p { | |
position: relative; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: translateY(-50%); | |
} |
This file contains hidden or 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": "静岡市立番町小学校", "address": "静岡市葵区新富町一丁目 23 番地の 1", "tel": "054-253-2148"}, | |
{"name": "静岡市立新通小学校", "address": "静岡市葵区駒形通二丁目 4 番 47 号", "tel": "054-252-1301"}, | |
{"name": "静岡市立駒形小学校", "address": "静岡市葵区南安倍二丁目 1 番 1 号", "tel": "054-252-3340"}, | |
{"name": "静岡市立安西小学校", "address": "静岡市葵区安西一丁目 96 番地の 3", "tel": "054-271-1551"}, | |
{"name": "静岡市立田町小学校", "address": "静岡市葵区田町五丁目 70 番地", "tel": "054-255-3428"}, | |
{"name": "静岡市立井宮小学校", "address": "静岡市葵区平和一丁目 7 番 1 号", "tel": "054-271-5288"}, | |
{"name": "静岡市立井宮北小学校", "address": "静岡市葵区上伝馬 2 番 1 号", "tel": "054-272-1326"}, | |
{"name": "静岡市立安倍口小学校", "address": "静岡市葵区安倍口新田 50 番地", "tel": "054-296-0005"}, | |
{"name": "静岡市立美和小学校", "address": "静岡市葵区遠藤新田 69 番地の 1", "tel": "054-296-0700"}, |
This file contains hidden or 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 ctrl = [ '$scope', 'Book', function( scope, Book ) { | |
scope.$on( 'books.update', function( event ) { | |
scope.books = Book.books; | |
}); | |
scope.books = Book.books; | |
}]; | |
module.controller( "books.list", ctrl ); |
This file contains hidden or 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
for i in `ls -1`; do mv $i ${i/navbar/sidebar} ; done |
http://stackoverflow.com/questions/19215042/express-logging-response-body
Not sure if it's the simplest solution, but you can write a middleware to intercept data written to the response. Make sure you disable app.compress().
function logResponseBody(req, res, next) {
var oldWrite = res.write,
oldEnd = res.end;
var chunks = [];