Remotes: Adding a remote location to where you can publish your repository. You can add mutiple remote location.
git remote -v
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>RxJS 5 Operators</title> | |
<script src="https://npmcdn.com/@reactivex/[email protected]/dist/global/Rx.umd.js"></script> | |
</head> | |
<body> |
console.clear(); | |
var Subject = function() { | |
var self = this; | |
self.observers = []; | |
return { | |
subscribe: function(observer) { | |
self.observers.push(observer); | |
}, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[iterator & observer]"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
{ | |
"movies": [ "Iron Man (2008)", | |
"The Incredible Hulk (2008)", | |
"Iron Man 2 (2010)", | |
"Thor (2011)", | |
"Captain America: The First Avenger (2011)", | |
"Marvel's The Avengers (2012)", | |
"Iron Man 3 (2013)", | |
"Thor: The Dark World (2013)", | |
"Captain America: The Winter Soldier (2014)", |
let initOptions = { | |
url: 'https://0.0.0.0:8445/auth', realm: 'keycloak-demo', clientId: 'vue-test-app', onLoad:'login-required' | |
} | |
let keycloak = Keycloak(initOptions); | |
keycloak.init({ onLoad: initOptions.onLoad }).success((auth) =>{ | |
if(!auth) { | |
window.location.reload(); |
//keycloak init options | |
let initOptions = { | |
url: 'https://0.0.0.0:8445/auth', realm: 'keycloak-demo', clientId: 'angular-test-app' | |
} | |
let keycloak = Keycloak(initOptions); | |
keycloak.init({ onLoad: "login-required" }).success((auth) => { |