Skip to content

Instantly share code, notes, and snippets.

View zmarouf's full-sized avatar
🌫️
Hamster hidden by fog

Zeid Marouf zmarouf

🌫️
Hamster hidden by fog
View GitHub Profile
@zmarouf
zmarouf / SkopeoEncryption.md
Created December 12, 2019 06:18 — forked from lumjjb/SkoepeoEncryption.md
Skopeo example usage with encrypted image and functional exploration

Bunch of manual tests

Basic pull image and set up local registry

$ ./skopeo copy docker://docker.io/library/nginx:latest oci:nginx_local
Getting image source signatures
Copying blob 000eee12ec04 done
Copying blob eb22865337de done
Copying blob bee5d581ef8b done
Copying config 5eb6083c55 done
0 - Use iTerm with Shell Integration
1 - Create the git-rebae file and put it in a folder found in your PATH (in my case ~/bin)
2 - Add execution rights (chmod +x is enough)
3 - git rebae
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/5 * * * * root iptables -S | grep -- '--dport 22' | grep 'INPUT' | grep 'ACCEPT' | grep -v '10.132.0.0/20' | sed 's/^-A/-D/g' | xargs -L1 -I{} sh -c "iptables {}"
@zmarouf
zmarouf / keybase.md
Created March 5, 2017 15:33
keybase.md

Keybase proof

I hereby claim:

  • I am zmarouf on github.
  • I am zmarouf (https://keybase.io/zmarouf) on keybase.
  • I have a public key ASCKBqaMbWQ429JsXXwAg4Hj7lTJY6830ZO2mlYiB0zeRAo

To claim this, I am signing this object: