- Install the
aria2
package: Ensure that users have the necessary dependencies. - Download the
AriaNG All-in-One
package: Extract it to a convenient location, such as~/.local/opt/AriaNg
. - Create an executable script: This script would run
aria2
before opening the HTML interface. I named itariang-launcher
. - Create a desktop entry: This entry would allow users to add the application to their system's application menu for easy access.
- Ensure clean shutdown: Before closing the web page, User should ensure that
aria2
shuts down properly to prevent it from running in the background. They could use the shutdown button in the Aria2 status page for this purpose. - For the icon use
https://github.com/mayswind/AriaNg/blob/master/src/favicon.png
.
In this short manual I'll explain how to use latest tor executable along with the clients for snowflake
, webtunnel
and conjure
.
- Downloading the Latest Bundle Package:
Visit Tor Project Download Page or directly use the command:wget https://archive.torproject.org/tor-package-archive/torbrowser/13.5.7/tor-expert-bundle-linux-x86_64-13.5.7.tar.gz
- Extract the File:
If you have problem with remove multiple LinekedIn connections at once, this code may help you.
In this code there is a filter that checks conection's occupation and based on that it will remove some connections.
Use some keyword to filter your connections and remove some.
In order to use this script open your connections page at linkedin.com quick open, then go to page inspect view and in the console paste the code below press Enter and wait till finishes it's job.
async def task(work_queue: asyncio.Queue, client: httpx.AsyncClient, result: list[tuple[Post, Tag]]) -> None:
while not work_queue.empty():
source: Source = await work_queue.get()
url = source.feed_url
logger.info(f"Working on {url}")
try:
res = await client.get(url)
This script provides a convenient way to check spelling, pronunciation, and translation of words or text using a dictionary (such as Google Translate) directly from your Linux desktop. It can be easily integrated with a keyboard shortcut, making it globally accessible for quick translation and pronunciation of selected text.
As a non-native English speaker, I often find myself needing to verify the spelling, pronunciation, or translation of words, phrases, or paragraphs using an online dictionary like Google Translate. To streamline this process, I developed a script that allows me to quickly translate and hear the pronunciation of selected text with a simple keyboard shortcut.
When I use linux OS, SMplayer is my favorite vidoe player but this media player has very anoying bug in it, beside all the havy customaization available via a very nice and simple GUI,it has.
The bug is this media player will sort any files that their names astriting with digits in alphabetical order regardless of
natural integer numbers order, so for example after 1. file-name.mp4
it will jump to 11. file-name.mp4
instead of
2. file-name.mp4
.
- this bug is reporeted so many times but it's still there and no fix have been issued yet.
Theme | History | KeyBinding
in order to make windows powershell more comfortable and add a some theme and features like history binding, auto complete on keypress and so on, if you have used linux teminl wiht zsh
for example, we are going to make powershell like that as much as we can.
Subtitles are often not displayed properly on players due to incorrect encoding/decoding
.
this python script is able to recive a path to subtitle/*.str
files and change encoding form arabic/windows-1256
to utf-8
.
'''
convert all subtile (*.srt) files inside given directory
from encoding `windows 1256` to `utf-8`
'''
if you need users to be loged in first, before visiting your website, so it's easier to use a middleware
to check if they're loged in or not.
inorder to have such a middleware, use the following code:
# middleware.py
import re
from django.conf import settings
from django.contrib.auth.middleware import AuthenticationMiddleware