Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Hakuna Matata!

Frederico F. de Oliveira FreddieOliveira

💭
Hakuna Matata!
  • Federal University of Uberlândia
  • Brazil
View GitHub Profile
@FreddieOliveira
FreddieOliveira / Dockerfile
Last active Apr 11, 2022
Steps to build an ARM Kali Linux docker image from within Termux app in Android.
View Dockerfile
FROM scratch
# Metadata params
ARG BUILD_DATE
ARG VERSION
ARG TARBALL
ARG RELEASE_DESCRIPTION
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL org.opencontainers.image.created=$BUILD_DATE \
@FreddieOliveira
FreddieOliveira / docker.md
Last active Aug 16, 2022
This tutorial shows how to run docker natively on Android, without VMs and chroot.
View docker.md

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

View keybase.md

Keybase proof

I hereby claim: * I am freddieoliveira on github. * I am freddieoliveira (https://keybase.io/freddieoliveira) on keybase. * I have a public key ASAxb_ZDU0UeZ_oI_vLM0-pv7l5bmTpcfLwTNDULlwVZLgo To claim this, I am signing this object:

{   "body": {     "key": {       "eldest_kid": "0120316ff64353451e67fa08fef2ccd3ea6fee5e5b993a5c7cbc1334350b9705592e0a",       "host": "keybase.io",       "kid": "0120316ff64353451e67fa08fef2ccd3ea6fee5e5b993a5c7cbc1334350b9705592e0a",       "uid": "36394356151928595cbc7260188c5719",       "username": "freddieoliveira"     },     "merkle_root": {       "ctime": 1566327927,       "hash": "d599e31b30c2587f6ffae3f8e2aa33df8619b99e4e3166a419884fe88d27222da8927f6df53eb7a96b4e35befa01c38b5a8abea3ba02d1c1803f36f943280dd1",       "hash_meta": "34bb3414dfe5ed5933675a450eab189e78c24b8a9447470ed8e848146c4d2ff8",       "seqno": 6059100     },     "service": {       "entropy": "fYKWqAaVSqLx2HU4Tw0kvINX",       "name": "github",       "username": "freddieoliv
@FreddieOliveira
FreddieOliveira / rot.sh
Last active Apr 11, 2022
Simple bash script to produce all Ceaser cypher variations (from rot1 to rot25)
View rot.sh
#!/bin/sh
# original ideia from here: https://chris-lamb.co.uk/posts/decrypting-caesar-cipher-using-shell
# check number of arguments
if (( $# != 1 )); then
echo "Usage: $0 TEXT"
exit -1
fi
IN=$1