This script has been moved to https://github.com/IBM-Bluemix/BigInsights-on-Apache-Hadoop/blob/master/examples/Zeppelin/jupyter_setup.md
This file contains hidden or 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
#!/bin/sh | |
AMBARI_USER=admin | |
AMBARI_PASSWORD= | |
CLUSTER_NAME=sandbox | |
AMBARI_API=http://127.0.0.1:8080/api/v1/clusters/$CLUSTER_NAME | |
BLUEPRINT_API=http://127.0.0.1:8080/api/v1/blueprints | |
hostname="hostname.example.com" | |
service="aservice" |
For this equation:
x + y + z = 1
2x - y + 3z = 4
Setup the axis:
X = linspace(-100,100,10);
Y = linspace(-100,100,10);
[ XX, YY ] = meshgrid(X,Y);
By the end of this quick guide, you will know how to compile a Phoenix app release using Exrm and run it inside a Docker container. I've found only a couple of articles that discuss getting an Elixir app up and running inside a Docker container, and even those only touched on some parts of the process. The idea is that this guide will give you a full end-to-end example of how to get all the pieces and parts working together so that you are able to deploy your Phoenix application inside a Docker container.
- You already have a working Elixir environment with the Phoenix Framework installed
- You have at least basic working knowledge of Docker, and have installed the Docker tools onto your local environment
# 1. Test if response body contains sth.
if response.text:
# ...
# 2. Handle error if deserialization fails (because of no text)
try:
responses=response.json()
This file contains hidden or 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
ssh user@remotehost tcpdump -i eth1 -U -s0 -w - 'not port 22' | sudo wireshark -k -i - | |
ssh user@remotehost tcpdump -i eth1 -U -s0 -w - 'not port 22' | sudo /Applications/Wireshark.app/Contents/MacOS/Wireshark -k -i - |
This file contains hidden or 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
## Check 1# ldapmodify installed or not | |
[[ -x $(command -v ldapmodify) ]] || { echo "Please Install Openldap-clients"; exit 1; }; |