Quick cheatsheet to know where to look when you need to rid off some startup item, app or service. Applications that run on Startup Property list (plist) items running on startup Applications that launch on User Login You should be able to add/remove most applications from your user account. Go to System preferences -> Users and groups -> Select user …
Delete files on Linux using a scheduled Cron job
A simple but useful script for periodically removing files in your Linux server. Testing the command Lets test the command for deleting old files. Create the /test_script directory: Create a test file: Now we can try to delete all files on /test_script running the command: If we run ls -la /test_script we will see that the file is still there, …
Asynchronous URL checking
A simple but powerful script for checking thousands of urls asynchronously in just a few seconds. The script uses Asyncio and the aiohttp library. Installing aiohttp library To obtain aiohttp just type: Asynchronous url checking script Asyncio will execute the run() function, using Semaphore for limiting the maximum number of connections/sockets to 1000. The run() function will execute bound_fetch() which …