Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am pollosp on github.
* I am pollosp (https://keybase.io/pollosp) on keybase.
* I have a public key whose fingerprint is 06C9 4070 7B41 1B20 EA6D 222F 8BFF C7B7 BD2E B64D
To claim this, I am signing this object:
# provisioner "local-exec" {
# command = "sleep 120 && echo -e \"[windows]\n${aws_instance.tabl
eau-server.associate_public_ip_address} ansible_ssh_user=admistrator\
" > inventory && ansible-playbook -i inventory ../../ansible/r-statis
tics/rstatistics.yml"
# }
#!/bin/bash
echo "testhost ansible_connection=docker ansible_host=fb99f018ea3f" > inventory
echo "- hosts: testhost" > playbook.yml
echo " tasks:" >> playbook.yml
echo " - name: host is reachable" >> playbook.yml
echo " ping:" >> playbook.yml
ansible-playbook -vvv -i inventory playbook.yml
$ minishift start --vm-driver=virtualbox --deploy-registry --deploy-router
$ oc login --username=admin --password=admin
$ oc new-app https://github.com/lachie83/croc-hunter.git
$ oc expose svc/croc-hunter
OmarMB:~ omar$ minishift delete
Deleting local OpenShift cluster...
Machine deleted.
OmarMB:~ omar$ oc new-app https://github.com/openshift/nodejs-ex -l name=myapp --allow-missing-images
^C
OmarMB:~ omar$ minishift start --deploy-router
Starting local OpenShift cluster...
oc is now configured to use the cluster.
OmarMB:~ omar$ oc login --username=admin --password=admin
Login successful.
[ { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string", "value": "papoin" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "approve", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256", "value": "2.2111e+22" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "
package:
name: Sinatra
version: 0.1.0
description: Sinatra melange demo
target-architecture:
- aarch64
- x86_64
copyright:
- license: Apache-2.0
paths: