This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Constants | |
MYSQLDUMP="mysqldump --defaults-extra-file='/etc/mysql/root.cnf'" | |
MYSQL="mysql --defaults-extra-file='/etc/mysql/root.cnf'" | |
# Define color codes | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "" | |
Write-Host "Connecting to vsphere..." | |
Connect-VIServer -Server "$Env:VSPHERE_HOST" -User "$Env:VSPHERE_USER" -Password "$Env:VSPHERE_PW" | |
Write-Host "" | |
$run = $true | |
while ($run) { | |
Write-Host "Actions:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"theme": "kendall" | |
}, | |
"basics": { | |
"name": "Max Großmann", | |
"label": "Senior Full Stack Developer", | |
"image": "https://avatars.githubusercontent.com/u/43404580", | |
"email": "[email protected]", | |
"phone": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import os | |
import subprocess | |
import json | |
class bcolors: | |
HEADER = '\033[95m' | |
OKBLUE = '\033[94m' | |
OKDARKGRAY = '\033[90m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface AESEncryption { | |
fun setKey(myKey: String) | |
fun encrypt(strToEncrypt: String): String | |
fun decrypt(strToDecrypt: String): String | |
} | |
class AESEncryptionImpl: AESEncryption { | |
private var secretKey: SecretKeySpec? = null |