Instead here is how you can keep your resume in markdown and generate a new copy when you need to update it. Below is a formatting example a example resume for Peter Parker (Below). # Peter Parke...
One liner to bulk add ipv6 addresses from a range
Note: This guide is is not complete on setting up ipv6 on cpanel rather this is one part of it. Cpanel can be bit of a pain if you want to assign a site a specific Ip from a range of Ipv6 address...
Recording SSH sessions with asciinema
So your looking for a way to record you SSH sessions. Here is an example of a simple bash function that will allow you to record you ssh session with no additional work. You can SSH like normal a...
Bash function to diff files before and after a change
Do want to log the changes you make to files? Here are some functions todo just that You may want to use this to copy paste into notes or you may be capturing your ssh session directly. Function...
One liner to disable TCP timestamps
Warning: This has not been tested on all linux operating systems use at your own risk. grep -q "net.ipv4.tcp_timestamps" /etc/sysctl.conf && echo "net.ipv4.tcp_timestamps = 0" >> /e...
Exim testing commands
Test delivery to a specific email account exim -bt [email protected] Send a message directly though exim exim -v [email protected] From: [email protected] Subject: Foobar Text Text Text ...
Revese proxy with apache on Interworx
Note: Note you will already need to have the domain added to siteworx. With the domain in siteworx you can add an apache include directly as the user. The path that apache looks for files is bel...
PHP Disabled Functions
Add this to a php file on the web server <?php echo ini_get('disable_functions'); ?> PHP: ini_get - Manual
Softaculous install/reinstall (Cpanel and Interworx)
Softaculous Reinstall wget -N http://files.softaculous.com/install.sh chmod 755 install.sh ./install.sh --reinstall Softaculous Install wget -N http://files.softaculous.com/install.sh chmod 755 in...
Cpanel List Email accounts from shell
List all email userdata Note: This First one outputs A LOT of data for i in $(cat /etc/userdomains | awk '{print $2}'); do uapi --user=$i Email list_pops 2>/dev/null ; done | less List use...