Skip to content

Instantly share code, notes, and snippets.

View nabidam's full-sized avatar
🤒
Working from NOWHERE ( -__-)

nabidam

🤒
Working from NOWHERE ( -__-)
View GitHub Profile
@nabidam
nabidam / install_old_so.md
Created July 26, 2025 09:04
if you don't have any .so file in Arch linux, or want to install an old version of any .so file that there isn't on AUR, you can follow this instruction

First have a directory for these libraries, for example I create a directory in home calling: fallback_libraries:

mkdir ~/fallback_libraries

Next you should find the package on ubuntu that provides that library. For example I want to install libicudata.so.66 and this library is in package libicu66.

Then find .deb files link to this package. For this package we can download it from this link: http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2_amd64.deb.

Download it using wget:

@nabidam
nabidam / convert_to_jalali.py
Created May 26, 2025 11:43
convert_to_jalali.py
import pandas as pd
from persiantools.jdatetime import JalaliDateTime
def convert_to_jalali(input_file, column_name, output_file="output.xlsx"):
# Load Excel file
df = pd.read_excel(input_file)
# Function to parse and convert date
@nabidam
nabidam / speedtest.md
Created December 25, 2022 09:00 — forked from orklann/speedtest.md
Test VPS speed with Speedtest

Download speedtest script

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

Run default test

Python speedtest.py

List specify test servers

Python speedtest.py --list | grep Beijing

Sample output