Skip to content

Instantly share code, notes, and snippets.

View shakibyzn's full-sized avatar
👓
too lazy to be lazy:)

Shakib Yazdani shakibyzn

👓
too lazy to be lazy:)
  • Germany
View GitHub Profile
@yovko
yovko / ohmyzsh.md
Last active February 12, 2025 19:47
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

sudo pacman -Syu zsh

You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.

@amrza
amrza / run.py
Last active September 13, 2024 01:30
How to write RTL(Arabic/Persian) text on images in python.
# Tested on Python 3.6.1
# install: pip install --upgrade arabic-reshaper
import arabic_reshaper
# install: pip install python-bidi
from bidi.algorithm import get_display
# install: pip install Pillow
from PIL import ImageFont
@mariusavram91
mariusavram91 / copy_remote_files.py
Last active January 29, 2025 09:15
Copy remote files to local with Python's Paramiko
import os
import posixpath
import logging
import paramiko
from pathlib import Path
from typing import List
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logger = logging.getLogger(__name__)
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active February 13, 2025 09:25
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname