Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
node { | |
echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
echo 'No quotes, pipeline command in single quotes' | |
sh 'echo $BUILD_NUMBER' // 1 | |
echo 'Double quotes are silently dropped' | |
sh 'echo "$BUILD_NUMBER"' // 1 | |
echo 'Even escaped with a single backslash they are dropped' | |
sh 'echo \"$BUILD_NUMBER\"' // 1 | |
echo 'Using two backslashes, the quotes are preserved' | |
sh 'echo \\"$BUILD_NUMBER\\"' // "1" |
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
package protoser | |
import java.util.concurrent.atomic.AtomicReference | |
import akka.actor.ExtendedActorSystem | |
import akka.serialization.BaseSerializer | |
import com.trueaccord.scalapb.GeneratedMessageCompanion | |
class ScalaPbSerializer(val system: ExtendedActorSystem) extends BaseSerializer { | |
private val classToCompanionMapRef = new AtomicReference[Map[Class[_], GeneratedMessageCompanion[_]]](Map.empty) |
This article is intended to further your knowledge of the various phases a DOM event goes through.
Great resources to refer to:
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice | |
stun: | |
stun.l.google.com:19302, | |
stun1.l.google.com:19302, | |
stun2.l.google.com:19302, | |
stun3.l.google.com:19302, | |
stun4.l.google.com:19302, | |
stun.ekiga.net, | |
stun.ideasip.com, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://fb.me/react-0.13.1.js"></script> | |
<meta charset="utf-8"> | |
<title>React Hello World w/ JSBin</title> | |
</head> | |
<body> | |
<div id="react_example"></div> | |
<script id="jsbin-javascript"> |
Page 47
This kind of mindset is crucial to managing your career, because when you start to think of yourself as a business, you start to make good business decisions.
Page 52
Every step you take without a clear direction is a wasted step. Don’t randomly walk through life without a purpose for your career.
Your big goal should be something not too specific, but clear enough that you can know if you’re steering toward it or not. Think about what you want to ultimately do with your career.
import akka.actor.{Actor, ActorLogging, ActorRef, ActorSystem, Props} | |
import akka.cluster.{Cluster, MemberStatus} | |
import akka.routing.FromConfig | |
import com.typesafe.config.ConfigFactory | |
object ClusterRouting extends App { | |
class EchoActor extends Actor with ActorLogging { | |
log.info("Started") | |
def receive = { |
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
import { Component, NO_ERRORS_SCHEMA, DebugElement } from '@angular/core'; | |
import { By } from '@angular/platform-browser'; | |
import { CharacterDetailComponent } from './character-detail.component'; | |
import { Character, DataService } from '../../core'; | |
import * as testing from '../../../testing'; | |
@Component({ | |
template: '<ro-character-detail [character]="selectedCharacter"></ro-character-detail>' |