Closed laszewsk closed 5 years ago
pprint()
function. The object created above can be viewedsize
on the expression "hello!" andPerson
above, we override the method toString. The method toString isequals
as follows:private
member can be accessed only within the class. In the example above, the membersEmployee
is calling the primary constructor of its supertype.algebraic data type
. An algebraic data type is a sealed trait together with severalgcv.yaml
) and dynamically call the methodai.yaml
) and dynamically call the methods/host
no fixing needed in deprecated
i marked some issues that do not nee dto be fixed
find all occurrences of above and below that pint to images or code and replace with either nothing if logical or previous and next.
grep -R -n above chapters | fgrep .md
datetime
module linked above.wsk
command is what is known as OpenWhisk CLI, which we will show how to install in the next sections. Note that OpenWhisk's API is RESTful and fully HTTP based. In other words, the above-mentionedwsk action
command is basically a HTTP request equivalent to the following:subjects
database, the record for the actionHelloAction
is load fromwhisks
database. This record contains the code, the parameters consist of default parameters merged with user parameters, as well as the resource limits, e.g. maximum memory. TheHelloAction
record inwhisk
contains its code (listed above) and no parameters as the code does not get any parameters.Action
example is a node.js action and therefore the invoker will start a node.js container, inject our above-mentioned code to it, runs the code and gets the results, save the logs and terminates the node.js container.docker-compose.yml
and change the source port number in the port number mapping. The latter option is, however, more tricky because you have to make sure the change does not affect the communication between the containers. For instance if you haveApache
service running on Port 80, then opendocker-compose.yml
, search for the keyword80:
to find the port mapping with source port of 80:make quick-start
command that we used above for starting the platform, the account credentials will automatically be written into the configuration of the CLI. You can either install the CLI directly from the repository or install it usinglinuxbrew
. Alternatively, use the binary available in this path in OpenWhisk Devtools folder:hello
action has been invoked twice and thegreeter
action was invoked once. You can get more information about each of the activation using thewsk -i activation get [ACTIVATION_ID]
:brew install nmap
. Usage is as above.BELOW grep: chapters/doc/.#report.md: No such file or directory
~/.aws/credentials
file to include below parameters.mk_short_labels
helper function will be defined below.numpy
andpandas
master
raspi-config
utility can also setup a WiFi connection. The steps below?pretty=1