Skip to content

Instantly share code, notes, and snippets.

View MaaxGr's full-sized avatar
📄
Coding

Max MaaxGr

📄
Coding
View GitHub Profile
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:"
@MaaxGr
MaaxGr / resume.json
Last active February 4, 2024 20:56
resume.json
{
"meta": {
"theme": "kendall"
},
"basics": {
"name": "Max Großmann",
"label": "Senior Full Stack Developer",
"image": "https://avatars.githubusercontent.com/u/43404580",
"email": "dev@maax.gr",
"phone": "",
@MaaxGr
MaaxGr / docker-ps.py
Last active September 24, 2023 16:13
Python Wrapper Script for "docker ps"
#!/usr/bin/python3
import os
import subprocess
import json
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKDARKGRAY = '\033[90m'
@MaaxGr
MaaxGr / AESEncryption.kt
Created July 11, 2022 06:17
AES Encryption with Kotlin
interface AESEncryption {
fun setKey(myKey: String)
fun encrypt(strToEncrypt: String): String
fun decrypt(strToDecrypt: String): String
}
class AESEncryptionImpl: AESEncryption {
private var secretKey: SecretKeySpec? = null