Skip to main content

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

SMALL UPDATE ON WHAT I’M DOING AND A LITTLE SOMETHING SOMETHING ABOUT BROWSER REPAIRS IN LINUX.

Lately, I’ve been working on improving my scripts and their Help feature. This feature includes leaflets on basic functionality of some of the features held within the script. I layout basic details about what is being done in each more clearly, but still there are things missing here. I removed as many lines previously as possible to allow for some added lines of information. I realize that it doesn’t seem like a lot at the moment, however, I have also mirrored my repository on Github and moved a copy of it to Gitlab. I’ve made that repo almost completely independent of Github. There is still a bit of work to be done and so I will be doing that soon. I’ve also made my Gitlab publicly accessible now. My mind and my sleeping have been sort of a wreck lately, I’ve been trying to make minor improvements around the house with all this going on, I feel my time and energy has been largely divided, though not in equal parts. I’m hoping that by the end of this week, things will be a little more stable and normal for me. I hope to feel better then so that I can get back to working on my website as well as teaching myself the dark arts of Python. These are just a few things I’ve been up to lately. I’ve also fixed a few minor issues with working and spelling errors so the scripts should more or less fully work as intended now. I’ve also written a batch file for Windows maintenance and cleanup as well as defrag as there was recently an article on Ghacks about how Windows 10 systems weren’t being defragmented weekly in the background because the program wouldn’t run like it was supposed to. The batch file uses the command line version to perform such tasks and it is a nifty workaround, but at the moment it is only available in my Windows toolkit flash drive, I may soon post the file to Github as well for people who run Windows alongside Linux.

I also wanted to write about browser repair in Linux, but this should work for other platforms as well. Browsers now and days have their own reset switch inside the gui. This reset switch merely removes the profile and sets the browser completely back to default settings. Users can do this with a click of a button in most major browsers now, but it wasn’t always the case. With many smaller browsers, these features have yet to be included into the code. I’ve created a function in my scripts a while ago which removes a user’s old profile and thus allows the browser to be started a new. This function will also backup the user’s profile from before in case there are any bookmarks that the user would want to keep. I’ve included all the major browsers as well as most smaller ones that are found on Linux. This has a tendency to delete the history and cookies as well as any passwords so the backup is a nice touch I think. If you install a browser which uses some path other than .config or the home folder’s hidden section then the script will probably not cover that. A very simple command procedure such as sudo rm -rf path to browser profile will do this for you, then all you need to do is simply restart the browser in question. This same method should work in all platforms, but the command will vary so it is important to read the documentation or look it up in forums before you proceed.

My Scripts

Comments