Skip to main content

Posts

Showing posts from August 12, 2018

Blocklist-Update.sh

Blocklist-Update.sh is a script that I wrote to manage blocklists from bluetack etc to be used in conjunction with Transmission torrent downloader in Linux/MacOS. The script can be taylored to work with Qbittorrent as well, but the placement of the blocklists means you'd have to redirect the blocklist to go somewhere locally manageable as Transmission uses its own blocklist directory in .config. I believe there are about 10 lists there now. It works well for my needs. It can be ran weekly using crontab in standard user profile.  To download:  blocklist-update.sh To download the others:  Github

DEBIAN IS 25 THIS WEEK

Debian, the operating system that really started it all, is now turning 25. To kick off this feat, many are celebrating by explaining things about the history of the project, such as this article from Itsfoss: here. Debian is one of the oldest operating systems that is still being developed. It is the forefather of many offshoots such as Ubuntu which is closely tied to its stable branch with emphasis on security updates and newer software packages. Ubuntu takes a modest, yet modern approach with comparison to Debian’s more cautious approach with chooses stability over anything else. It is also a grandparent to Linux Mint, the second most popular distribution in the Linux world for modern desktops and laptops. Linux Mint again allows users a choice, but prefers stability and usability over anything else, however, it does add features that are not in neither in Ubuntu or Debian. Debian was around before the advent of AOL and the internet, with that age, it has progressed

SYSTEMD TIMERS

In the spirit of the bash scripting tutorials I am working on, this is one tool that can be quite useful when automating certain tasks. Systemd utilizes files in detail describing each unit. These unit files give the name and path of the unit to be ran and act more like .desktop files in way of their format. Systemd can not run a unit without a file such as this. Systemd timers follow the system clock to perform an action. To list timers on a system, running the command systemctl list-timers (--all) will respectively display each timer active on a system with the all flag showing inactive ones too. To create your own timers/services you can use the following format: [UNIT] Description=”Aptly names or describes what the unit/script will do” CONFLICTS=”Makes sure the timer stops when the service starts” [SERVICE] Type=”Simple usually works for a service unless you just want it to run once then oneshot works” ExecStart= path to file or service to be ran