Skip to content

Instantly share code, notes, and snippets.

Avatar

Mohamed Eltantawi Tantawi

View GitHub Profile
@SanderTheDragon
SanderTheDragon / postman-deb.sh
Last active March 23, 2023 15:16
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
View postman-deb.sh
#!/bin/sh
# SPDX-FileCopyrightText: 2017-2022 SanderTheDragon <sanderthedragon@zoho.com>
#
# SPDX-License-Identifier: MIT
curlExists=$(command -v curl)
echo "Testing Postman version"
@janikvonrotz
janikvonrotz / Install automysqlbackup.md
Last active January 16, 2020 15:03
Ubuntu: Install automysqlbackup #MySQL #Markdown
View Install automysqlbackup.md

Introduction

AutoMySQLBackup with a basic configuration will create Daily, Weekly and Monthly backups of one or more of your MySQL databases from one or more of your MySQL servers.

Requirements

  • Ubuntu server
  • MySQL

Installation

@earthgecko
earthgecko / bash.generate.random.alphanumeric.string.sh
Last active March 12, 2023 21:47
shell/bash generate random alphanumeric string
View bash.generate.random.alphanumeric.string.sh
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1