I hereby claim:
- I am miend on github.
- I am miend (https://keybase.io/miend) on keybase.
- I have a public key ASB5vIV1yDEsMpnMwOONg4S8VAqErVRZt9Tiqdes7S-7hgo
To claim this, I am signing this object:
--- | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: nginx | |
labels: | |
app: nginx | |
annotations: | |
spec: | |
tls: |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: nginx | |
labels: | |
app: nginx | |
annotations: | |
spec: | |
tls: |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: 'reports' | |
spec: | |
ports: | |
- protocol: 'TCP' | |
port: 443 | |
targetPort: 443 | |
selector: |
I hereby claim:
To claim this, I am signing this object:
# Git rebase origin/["your checked out branch"] | |
function git_rebase_from_origin() { | |
git rebase origin/$(git rev-parse --symbolic-full-name --abbrev-ref HEAD) | |
} | |
alias 'gitrbo'='git_rebase_from_origin' |
for i in $(find /user/directory/ -name "grep-pattern"); do cp $i ~/destination/; done |
#!/bin/bash | |
objects=$(s3cmd ls s3://bucket/directory/* |grep 2012-10-17 | cut -f13 -d' ') | |
for line in $objects ; do | |
s3cmd del $line | |
done |
#! /bin/bash | |
# Exits if command not rsync. | |
# Escalates to root via sudo if rsync. | |
case "$SSH_ORIGINAL_COMMAND" in | |
*\&*|*\|*|*\;*|*\>*|*\<*|*\!*) | |
exit 1 | |
;; | |
/usr/bin/rsync\ --server\ --sender*) | |
sudo $SSH_ORIGINAL_COMMAND |
function ipprint(){ LST=$@ ; ( [ -e "$LST" ] && cat $LST ; [ ! -e "$LST" ] && for i in $LST ; do echo $i ; done ) | while read host ; do echo -en "$host:\t$(dig +short $host.fqdn.com )\n" ; done ; } | |
# Takes a string of arbitrary length of servers on your intranet and lists them colon-and-tab delimited next to their IP addresses | |
function ksmtop(){ (cd /sys/kernel/mm/ksm/ ; while true ; do date ; for i in `ls` ; do printf "%-20s %-20s\n" $i `cat $i` ; done ; sleep 2 ; clear ; done) ; } | |
# Does top-like output for a server's KSM metrics (RAM deduplication in KVM) | |
function inpath(){ for item in $@ ; do echo $PATH | awk -F':' '{ for (i=2 ; i<=NF ; i++) print $i ; }' | while read line ; do ls $line | grep $item ; done ; done ; } |
#!/bin/bash | |
find ./ -name "*" -print | xargs grep "expression" |