Skip to content

Instantly share code, notes, and snippets.

View lalan7's full-sized avatar

Erik Lalancette lalan7

View GitHub Profile
@lalan7
lalan7 / bash_curl_loop
Created November 27, 2020 15:27 — forked from ceme/bash_curl_loop
bash curl loop
while true; do sleep 1; curl http://www.google.com; echo -e '\n\n\n\n'$(date);done
@lalan7
lalan7 / openshift-cheatsheet.md
Created November 27, 2020 15:10 — forked from rafaeltuelho/openshift-cheatsheet.md
My Openshift Cheatsheet

My Openshift Cheatsheet

Openshift build secrets for cloning git repos using SSH Keys

  • To create ssh secret:
oc create secret generic sshsecret \
    --from-file=ssh-privatekey=$HOME/.ssh/id_rsa
---
apiVersion: v1
kind: List
items:
- kind: Namespace
apiVersion: v1
metadata:
name: openshift-cluster-ops
@lalan7
lalan7 / ansible-summary.md
Created October 13, 2017 14:28 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of