- Globs for
action.path
- i.e.
path: *.csproj
,path: foo|bar|baz
,path: *.txt|*.ini
- i.e.
- Allow watch files that are
.dockerignore
d => i.e.Dockerfile
|compose.yaml
=> triggerrebuild
action- currently
.dockerignore
d files are ignored forwatch
ing even if explicitly set inaction.path
.dockerignore
is historically focused on building images, seems likecompose watch
needs to be able to override at a minimum?
- currently
recreate
action type w.r.t. the entire watch process- i.e. edit
compose.yaml
/Dockerfile
/*.env
=> trigger reload of entiredocker compose watch
- i.e. edit
- Save the
docker-compose.yml
andconfig.yml
in the same directory on one of your volumes on the NAS. - SSH in and use
docker-compose up -d
- Test the mirror with
curl --head http://NAS-IP:55000
- Start up docker daemons with the following option or put this in the daemon config file or copy into Docker for Mac/Windows settings.
--registry-mirror=http://NAS-IP:55000
- Pull an image and then check that it is cached in your mirror with
curl http://NAS-IP:55000/v2/_catalog
- or check that a large image isn't slow after the first pull :)
From my Pluralsight course: https://app.pluralsight.com/library/courses/asynchronous-javascript-reasoning/table-of-contents
- Weather http://plnkr.co/edit/ZOAaSdtnfvR6WwiuVZ6s
- Avoid Blocking – Red Background http://plnkr.co/edit/z29VyH5BPvC4oc40EyOu
- setTimeout Pyramid Challenge http://plnkr.co/edit/DGiHFQOQfnipCcpex2RH
- Drag and Drop Red Box http://plnkr.co/edit/SmSpPS5ZgPvkgn8RE6y1
- Timer onReady http://plnkr.co/edit/gafgKCrxnDIJ6YaG9Jpx
- Timer measure http://plnkr.co/edit/kPOgzEuIvUmN4o6Jenem
- Progress Number Crunching - Web Worker https://plnkr.co/edit/Yy7BOZU9sIa8EyrxJwGH
- Event Listeners Are Synchronous http://plnkr.co/edit/mDvSHpF3HcTjtvltGmQn
Access this Gist via this shortened URL: https://git.io/vPj49
If anything changes, with regards to the material covered in this course, this will be the first place I share updates.
- Published ports from Windows Containers aren't accessible on the container host (they are remotely). Use Container IP locally:
docker inspect --format '{{ .NetworkSettings.Networks.nat.IPAddress }}' <container>
- Docs explaining this
- GH Issue tracking fixes
- host's IP on host does work now in Creator's Update: "as well as having direct access to the container using the Host IP and exposed port." - https://blogs.technet.microsoft.com/virtualization/2017/04/13/whats-new-in-hyper-v-for-the-windows-10-creators-update/
- localhost on host doesn't work yet
- Troubleshooting & Logs - Docker docs: https://docs.docker.com/docker-for-windows/troubleshoot/#docker-knowledge-hub
This file contains 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
stage 'CI' | |
node { | |
git branch: 'jenkins2-course', | |
url: 'https://github.com/g0t4/solitaire-systemjs-course' | |
// pull dependencies from npm | |
// on windows use: bat 'npm install' | |
sh 'npm install' |
-
Shortened URL for this gist: https://git.io/v68XM
-
GitHub repository: ES6 in Motion
-
Arrow Functions
This file contains 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
/** | |
* Provide a means to fluently tap into a chain of method calls so as not to need to declare unnecessary variables | |
* */ | |
public fun <T : Any, R> T.tap(tap: (T) -> R): T { | |
tap(this) | |
return this | |
} | |
// here's an example where I'm in a fluent builder and I'd like to log the URI of the request without introducing a variable | |
val response = this.builds.queryParam("locator", "buildType:{buildTypeId},count:1,personal:false,canceled:false") |
- Node - a physical or virtual machine that hosts services
- Nodes also referred to as members.
- Examples
- Your computer
- An AWS EC2 instance
- A bare metal machine in your private data center
- Service - executing software that provides utility via an interface
- Typically long-lived process listening on a port(s)
- Examples
- A web server (nginx, apache, iis)
NewerOlder