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 | |
# To get the UUID, run $ VBoxManage list vms | |
vm_uuid="{dc9fb426-ea9e-4583-aa05-95455b2c0814}" | |
# Install OpenSSH in VM: | |
ssh_user=$USER | |
ssh_host=$hostname | |
# Install Samba in VM: |
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 | |
PACKAGE_LIST=( | |
# Essentials | |
ca-certificates | |
gnupg | |
apt-transport-https | |
vim | |
wget | |
curl |
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/env python3 | |
from random import randint | |
import argparse | |
# Based on the work of Christian Haensel and Josh Hartman | |
# (https://gist.github.com/joshhartman/1507069#file-randompassword-php) | |
# Rewritten from PHP 7 to Python 3 and modified slightly | |
# Examples (arguments: `-csl 10`): Davocha!46, Xafeeda^17, Fiethek&04 |
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/env python3 | |
import os | |
import sys | |
import platform | |
import subprocess | |
import ctypes | |
import argparse | |
from pathlib import Path |
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/env python3 | |
import json | |
import configparser | |
import xml.etree.ElementTree as ET | |
from pathlib import Path | |
import sys | |
import argparse | |
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
import re | |
import urllib.parse | |
""" | |
TODO: | |
* Documentation | |
* Adding comments | |
* Write own concatenation method, instead of relying on urllib | |
""" |