Created
June 29, 2011 16:35
-
-
Save slickplaid/1054259 to your computer and use it in GitHub Desktop.
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
$ git fetch https://github.com/bnoguchi/everyauth.git | |
$ git fetch https://github.com/bnoguchi/everyauth.git master | |
From https://github.com/bnoguchi/everyauth | |
* branch master -> FETCH_HEAD | |
$ git status | |
# On branch master | |
nothing to commit (working directory clean) | |
$ git fetch original master | |
From https://github.com/bnoguchi/everyauth | |
* branch master -> FETCH_HEAD | |
$ git merge original/master | |
Already up-to-date. | |
$ head -n 21 example/server.js | |
var express = require('express') | |
, everyauth = require('../index') | |
, conf = require('./conf'); | |
everyauth.debug = true; | |
var usersByVimeoId = {}; | |
var usersByJustintvId = {}; | |
var usersByDropboxId = {}; | |
var usersByFbId = {}; | |
var usersByTwitId = {}; | |
var usersByGhId = {}; | |
var usersByInstagramId = {}; | |
var usersByFoursquareId = {}; | |
var usersByLinkedinId = {}; | |
var usersByGoogleId = {}; | |
var usersByYahooId = {}; | |
var usersByGoogleHybridId = {}; | |
var usersByReadabilityId = {}; | |
var usersByBoxId = {}; | |
var usersByOpenId = {}; | |
$ wget -O- https://raw.github.com/bnoguchi/everyauth/master/example/server.js | head -n 21 | |
--2011-06-29 11:43:18-- https://raw.github.com/bnoguchi/everyauth/master/example/server.js | |
Resolving raw.github.com... 207.97.227.243 | |
Connecting to raw.github.com|207.97.227.243|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 8631 (8.4K) [text/plain] | |
Saving to: `STDOUT' | |
100%[================================================================================================>] 8,631 --.-K/s in 0s | |
2011-06-29 11:43:19 (383 MB/s) - written to stdout [8631/8631] | |
var express = require('express') | |
, everyauth = require('../index') | |
, conf = require('./conf'); | |
everyauth.debug = true; | |
var usersById = {}; | |
var nextUserId = 0; | |
function addUser (source, sourceUser) { | |
var user; | |
if (arguments.length === 1) { // password-based | |
user = sourceUser = source; | |
user.id = ++nextUserId; | |
return usersById[nextUserId] = user; | |
} else { // non-password-based | |
user = usersById[++nextUserId] = {id: nextUserId}; | |
user[source] = sourceUser; | |
} | |
return user; | |
} | |
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
$ git log -5 --oneline --decorate | |
02a457e (HEAD, original/master, origin/master, origin/HEAD, master) Merge pull request #24 from slickplaid/vimeo | |
085b121 (origin/vimeo, vimeo) Fixed missed conflict in justintv.js | |
a6b3f0e Merged upstream | |
76b02c6 (v0.2.13, original/master (slickplaid-linux's conflicted copy 2011-06-28), develop) Fixed package.json | |
2fe5022 Fixed syntax mistake in package.json. | |
$ git fetch --all | |
Fetching origin | |
Fetching original | |
From https://github.com/bnoguchi/everyauth | |
02a457e..0b1bda6 master -> original/master | |
Fetching upstream | |
From https://github.com/bnoguchi/everyauth | |
* [new branch] ldap -> upstream/ldap | |
* [new branch] master -> upstream/master |
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
$ git remote -v | |
origin [email protected]:slickplaid/everyauth.git (fetch) | |
origin [email protected]:slickplaid/everyauth.git (push) | |
original https://github.com/bnoguchi/everyauth.git (fetch) | |
original https://github.com/bnoguchi/everyauth.git (push) | |
upstream https://github.com/bnoguchi/everyauth.git (fetch) | |
upstream https://github.com/bnoguchi/everyauth.git (push) |
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 express = require('express') | |
, everyauth = require('../index') | |
, conf = require('./conf'); | |
everyauth.debug = true; | |
var usersByVimeoId = {}; | |
var usersByJustintvId = {}; | |
var usersByDropboxId = {}; | |
var usersByFbId = {}; | |
var usersByTwitId = {}; | |
var usersByGhId = {}; | |
var usersByInstagramId = {}; | |
var usersByFoursquareId = {}; | |
var usersByLinkedinId = {}; | |
var usersByGoogleId = {}; | |
var usersByYahooId = {}; | |
var usersByGoogleHybridId = {}; | |
var usersByReadabilityId = {}; | |
var usersByBoxId = {}; | |
var usersByOpenId = {}; |
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 express = require('express') | |
, everyauth = require('../index') | |
, conf = require('./conf'); | |
everyauth.debug = true; | |
var usersById = {}; | |
var nextUserId = 0; | |
function addUser (source, sourceUser) { | |
var user; | |
if (arguments.length === 1) { // password-based | |
user = sourceUser = source; | |
user.id = ++nextUserId; | |
return usersById[nextUserId] = user; | |
} else { // non-password-based | |
user = usersById[++nextUserId] = {id: nextUserId}; | |
user[source] = sourceUser; | |
} | |
return user; | |
} | |
var usersByVimeoId = {}; | |
var usersByJustintvId = {}; | |
var usersByDropboxId = {}; | |
var usersByFbId = {}; | |
var usersByTwitId = {}; | |
var usersByGhId = {}; | |
var usersByInstagramId = {}; | |
var usersByFoursquareId = {}; | |
var usersByLinkedinId = {}; | |
var usersByGoogleId = {}; | |
var usersByYahooId = {}; | |
var usersByGoogleHybridId = {}; | |
var usersByReadabilityId = {}; | |
var usersByBoxId = {}; | |
var usersByOpenId = {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment