Skip to content

Instantly share code, notes, and snippets.

View Shahryar-Pirooz's full-sized avatar
🏠
Working from home

Shahryar Pirooz Shahryar-Pirooz

🏠
Working from home
View GitHub Profile
@Shahryar-Pirooz
Shahryar-Pirooz / f4a.sh
Created August 25, 2025 15:01
This is a simple Bash script that collects all the files in a project directory (excluding `.git`), saves their paths, and appends each file’s content into a single text file. It’s basically an offline version of tools like *gitingest* — handy if you want to share a whole project in a single file without pushing it online.
#!/bin/bash
memo=".f4a.mem"
result=""
if [[ $1 == "" ]]; then
result="$(basename $PWD).txt"
find ./ -type f ! -path "*/.git/*" > $memo
else
result="$(basename $1).txt"
find $1 -type f ! -path "*/.git/*" > $memo
@Shahryar-Pirooz
Shahryar-Pirooz / README.md
Last active February 2, 2025 19:06
This is my minimal tabliss custom css .

Minimal Custom CSS for Tabliss

This is a minimal custom CSS for Tabliss, a beautiful and customizable new tab extension for modern browsers. This CSS enhances the default look with a cleaner, distraction-free design.

Tabliss

Features

  • 🎨 Minimal & elegant design
@Shahryar-Pirooz
Shahryar-Pirooz / .vimrc
Last active April 30, 2023 15:10
My vimrc
set nocompatible " be iMproved, required
filetype off " required
set number
let b:ale_fixers = ['eslint']
let g:ale_fix_on_save = 1
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@Shahryar-Pirooz
Shahryar-Pirooz / GemPass.py
Last active August 9, 2021 13:12
a password generator for shell (terminal).
#!/usr/bin/env python3
import string , random , sys
logo="""
▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄
█ █ █ █▄█ █ █ █ █ █
█ ▄▄▄▄█ ▄▄▄█ █ ▄ █ ▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█
█ █ ▄▄█ █▄▄▄█ █ █▄█ █ █▄█ █ █▄▄▄▄▄█ █▄▄▄▄▄
█ █ █ █ ▄▄▄█ █ ▄▄▄█ █▄▄▄▄▄ █▄▄▄▄▄ █