In the previous version, when you didn't install the driver plugin, Minishift would fail with an issue.
$ minishift start
oc create -f https://github.com/sclorg/s2i-nodejs-container/blob/master/imagestreams/nodejs-rhel7.json -n openshift | |
oc new-project app-nodejs | |
oc new-build nodejs:8~https://github.com/hodrigohamalho/sal-frontend --name=sal-frontend-s2i | |
oc new-build --name=sal-frontend-nginx \ | |
--docker-image=registry.access.redhat.com/rhscl/nginx-112-rhel7 \ | |
--source-image=sal-frontend-s2i \ | |
--source-image-path=/opt/app-root/src/dist/:. \ |
// | |
// named.conf | |
// | |
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS | |
// server as a caching only nameserver (as a localhost DNS resolver only). | |
// | |
// See /usr/share/doc/bind*/sample/ for example named configuration files. | |
// | |
// See the BIND Administrator's Reference Manual (ARM) for details about the | |
// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html |
$TTL 1D | |
$ORIGIN example.com. | |
@ IN SOA example.com. root.cloudapps.example.com. ( | |
10 ; serial | |
1D ; refresh | |
1H ; retry | |
1W ; expire | |
3H ) ; minimum | |
IN NS ns1.example.com. | |
ns1 IN A 127.0.0.1 |
In the previous version, when you didn't install the driver plugin, Minishift would fail with an issue.
$ minishift start
These instructions assume you are using Minishift 1.0.1 or newer as your OpenShift installation.
You'll also need a wsk
binary in your $PATH
to interact with
OpenWhisk after it's deployed. Download the latest version for your OS
/* A bare-bones GithubClient, just used for commits */ | |
function GithubClient(owner, repo, username, passwordOrToken) { | |
this.owner = owner; | |
this.repo = repo; | |
this.username = username; | |
this.passwordOrToken = passwordOrToken; | |
} | |
/* |
$ brew install dnsmasq
...
$ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
/usr/local/etc/dnsmasq.conf
address=/local/127.0.0.1
ssh [email protected]
ssh infranode00-dcff
ssh master00-dcff
ssh node00-dcff
by Bjørn Friese
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.