- Colin: OAuth Client
- Polly: OAuth User (a person)
- Roger: OAuth Resource Server
- Annie: OAuth Authorization Server
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
$ which icu-config > /dev/null || echo n | |
$ which icu-config | |
/usr/bin/icu-config | |
$ icu-config --version | |
4.8.1.1 |
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 generators = require('yeoman-generator'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('lodash'); | |
var VolumeAdderBase = module.exports = generators.Base.extend({ | |
initializing: function() { | |
/* ... */ | |
}, |
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
<?php | |
$args = array( | |
'orderby' => 'display_name', | |
'who' => 'authors', | |
'exclude' => '17,10,20,22,6,19' // string | |
); | |
$users = get_users($args); | |
?> | |
<select name="user" id="user" class=""> | |
<?php |
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
<h1 id="oauth-2-a-conversation">OAuth 2: A Conversation</h1> | |
<h2 id="dramatis-personae">Dramatis Personae</h2> | |
<ul> | |
<li>Colin: OAuth Client</li> | |
<li>Polly: OAuth User (a person)</li> | |
<li>Roger: OAuth Resource Server</li> |
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
# OAuth 2: A Conversation | |
## Dramatis Personae | |
- Colin: OAuth Client | |
- Polly: OAuth User (a person) | |
- Roger: OAuth Resource Server | |
- Annie: OAuth Authorization Server | |
## Scene 1: Authorization Code Grant |
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 chalk = require('chalk'); | |
var error = chalk.red.bold; | |
var warn = chalk.yellow.bold; | |
var info = chalk.blue.bold; | |
var debug = chalk.gray.bold; | |
var LOG_ERROR = 0; | |
var LOG_WARN = 1; | |
var LOG_INFO = 2; |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/danrumney/.nvm/versions/node/v6.9.1/bin/node', | |
1 verbose cli '/Users/danrumney/.nvm/versions/node/v6.9.1/bin/npm', | |
1 verbose cli 'i', | |
1 verbose cli '@jellyvision/talentshow-view' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData |
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
import React, {Component} from 'react'; | |
import ToggleButtonGroup from 'react-bootstrap/lib/ToggleButtonGroup'; | |
import ToggleButton from 'react-bootstrap/lib/ToggleButton'; | |
// import './AppointmentModal.css'; | |
class AppointmentModalDemo extends Component { | |
constructor(props) { | |
super(props); | |
this.isAppMade = this.isAppMade.bind(this); | |
} |
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
user nginx; | |
worker_processes auto; | |
error_log /Users/danrumney/projectname/ohp/nginx/logs/error.log; | |
include /usr/share/nginx/modules/*.conf; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' |
OlderNewer