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
beautifulsoup4==4.9.1 | |
certifi==2020.6.20 | |
chardet==3.0.4 | |
idna==2.10 | |
requests==2.24.0 | |
soupsieve==2.0.1 | |
urllib3==1.25.10 |
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
# run `crontab -e` to edit cronjobs for the current user and add the contents of this file | |
# create initial ARP table immediately after boot | |
@reboot arp -e | grep : | cut -d ' ' -f 1,21 > /tmp/init_arptab.txt | |
# run the MITM checker script every 2nd minute | |
# 2 minutes is an arbitrary value, feel free to change the interval to your liking | |
*/2 * * * * bash $HOME/mitm_checker.sh |
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 | |
# add this to `$HOME/.local/bin` or somewhere in your $PATH | |
# TODO: implement hash-based caching system to prevent unnecessary pandoc conversion calls | |
print_usage() { | |
echo "Zathura wrapper for displaying md and pdf files" | |
echo -e "Usage:\n\tz FILENAME" | |
} |