RAM
---
vm-1 = 1,024 MiB
vm-2 = 2,048 MiB
Total: 3,072 MiB
CPU(s)
------
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/zsh | |
TRAPDEBUG() { | |
read -q "?run \"$ZSH_DEBUG_CMD\"? " || setopt errexit | |
echo > /dev/tty | |
} | |
echo "First command" | |
echo "Second command" | |
echo "Last command" |
Python script to create snapshots for Samba shares using rsync.
The first snapshot will be a full copy(cp -a) the next ones will be hard link to the first.
run smb-snapshot -h
for help.
Created a Repo: https://github.com/0x3333/smb-snapshots
ForkLift is in version 3, but I have a license for version 2. I want to install ForkLift version 2 using brew cask
, if I just run brew cask install forklift
it will install version 3.
To install version 2 install the last commit in the cask file forklift.rb
for version 2, which is 2.6.6, commit 0bc4d90.
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
# | |
# Authors: | |
# Tercio Gaudencio Filho <terciofilho@gmail.com> | |
# | |
# Ex: | |
# USERNAME@HOSTNAME [/FULL/PATH] ✘ $ TIME | |
function prompt_0x3333_setup { | |
setopt LOCAL_OPTIONS | |
unsetopt XTRACE KSH_ARRAYS |
This python script will print all active leases availables in the /var/lib/dhcp/dhcpd.leases file.
This is not my work! See Author below.
+--------------------------------------------------------------------------------------------------
| DHCPD ACTIVE LEASES REPORT