Skip to content

Instantly share code, notes, and snippets.

💭
(╭╮)

נυαη נυαηѕση retr0h

💭
(╭╮)
  • Los Angeles, CA
View GitHub Profile
View gist:1b91525a80a602b6f8075dcff59f96d2
git checkout develop
git pull engx develop # now your develop branch is up to date with what is currently checked in on develop in github
git checkout <name of your feature branch>
hack hack hack
git commit
View :p
- name: Install Helm chart
include_role:
name: k8s.helm
tasks_from: install
apply:
tags:
- never
- helm-install
loop:
- chart: "{{ _helm_chart }}"
View gist:a139f769c17063227d9f01d614dc7e0c
 helm tiller run $(CHART_NAMESPACE) -- bash -c "helm install \
 	--name $(CHART_NAME) \
 	--namespace=$(CHART_NAMESPACE) \
 	-f <(kubectl get secrets helm-secret-values -o jsonpath='{.data.app}' | base64 --decode) \
 	$(CHART)" 
View keybase.md

Keybase proof

I hereby claim:

  • I am retr0h on github.
  • I am retr0h (https://keybase.io/retr0h) on keybase.
  • I have a public key whose fingerprint is 6D96 1F4A 1864 CE9C 5ED9 D99B D312 9167 EFCA 1072

To claim this, I am signing this object:

View gist:84d4bb5063aa258cbb6e2936f9663c25
bindkey -M vicmd "k" history-search-backward
bindkey -M vicmd "j" history-search-forward
bindkey -M vicmd "?" history-incremental-search-backward
bindkey -M vicmd "/" history-incremental-search-forward
bindkey -M isearch "k" history-search-backward
bindkey -M isearch "j" history-search-forward
View gist:4a9e45e9cd1058c9047d4b5a634704c8
[xxx@mcp1 ~]$ ip addr a
Not enough information: "dev" argument is required.
[metacloud@mcp1 ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
link/ether de:56:82:80:aa:37 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
View gist:08008d5656ffa56a85d83897722aa1a3
[jodewey:~/git/molecule_2/test/scenarios/driver/docker] [molecule2-env-2.7.13] master(+4/-0)+ ± git diff
diff --git a/test/scenarios/driver/docker/molecule/default/tests/test_default.py b/test/scenarios/driver/docker/molecule/default/tests/test_default.py
index 5143d9b..6b77b07 100644
--- a/test/scenarios/driver/docker/molecule/default/tests/test_default.py
+++ b/test/scenarios/driver/docker/molecule/default/tests/test_default.py
@@ -26,3 +26,7 @@ def test_etc_molecule_ansible_hostname_file(host):
assert f.user == 'root'
assert f.group == 'root'
assert f.mode == 0o644
+
View gist:21101944a98106ef12c31c559c9d1b29
#!/usr/bin/env python
import os
import ansible.constants
import ansible.inventory
import ansible.playbook
import ansible.plugins.callback
import ansible.parsing.dataloader
import ansible.utils.vars
View gist:14abdaf70b1a3eab979bd72c283ba863
import json
import ansible
import ansible.cli
import ansible.cli.playbook
import ansible.executor.task_queue_manager
import ansible.inventory
import ansible.parsing.dataloader
import ansible.playbook.play
import ansible.plugins.callback
View gist:125e85f5ebdf4f21e214af613374fbfa
def osclient(cmd,
auth_url=None,
auth_host=None,
auth_host_scheme='http',
username='admin',
user_domain_name='Default',
password='admin',
project='admin',
project_domain_name='Default',
domain_name=None,
You can’t perform that action at this time.