Skip to content

Instantly share code, notes, and snippets.

View inceabdullah's full-sized avatar
🏢
Working from office

inceabdullah

🏢
Working from office
View GitHub Profile
@inceabdullah
inceabdullah / generate_base64.sh
Last active August 6, 2023 07:22 — forked from mattmc3/rand.bash
Bash - generate random base64 string
#!/bin/bash
# Generate random base64 string using openssl
# Usage: generate_base64 [length]
# length: Optional, the length of the base64 string (default is 32)
generate_base64() {
if [[ "$1" == "--help" ]]; then
echo "Usage: generate_base64 [length]"
echo " length: Optional, the length of the base64 string (default is 32)"
return
@inceabdullah
inceabdullah / docker-aliases.sh
Last active November 16, 2021 06:43 — forked from jgrodziski/docker-aliases.sh
Useful Docker Aliases
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste these lines into your .bashrc or .zshrc file or just #
# type the following in your current shell to try it out: #
# wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash
# #
# # Usage: #