Skip to content

Instantly share code, notes, and snippets.

View taiwbi's full-sized avatar
😚
Working and Studying

Mohammad Mahdi Tayebi taiwbi

😚
Working and Studying
View GitHub Profile
@taiwbi
taiwbi / Summerized-Network.md
Last active December 30, 2024 19:56
Networking Cheat Sheet Summarized

Definitions:

  • Network: A collection of interconnected devices (computers, servers, etc.) that communicate and share resources.
  • Internet: A global network that connects millions of private, public, academic, business, and government networks, enabling communication and information sharing.
  • Intranet: A private network within an organization, restricted to authorized users, typically for internal communication and resource sharing.
  • Extranet: An extension of an intranet that allows limited access to outsiders, typically for business partners or customers.

Network Types:

  • Server-Bus: A network where multiple devices are connected to a central server or hub, with communication occurring through the server.
@taiwbi
taiwbi / DNS-over-HTTPS-on-Fedora.md
Last active January 28, 2025 19:37
آموزش استفاده از DNS over HTTPS شکن در فدورا لینوکس

آموزش استفاده از DNS over HTTPS در فدورا لینوکس

سلام دوستان،

در این آموزش، قصد داریم نحوه استفاده از DNS over HTTPS (DoH) را در سیستم عامل فدورا لینوکس به شما آموزش دهیم. این روش نه تنها به شما کمک می‌کند تا به سایت‌های تحریم شده دسترسی پیدا کنید، بلکه مشکل آپدیت پکیج‌های فدورا را نیز حل می‌کند. این آموزش ساده و مستقیم است و برای کاربران با سطوح مختلف دانش فنی قابل استفاده می‌باشد.

مراحل نصب و پیکربندی

1. نصب پکیج dnscrypt-proxy

@taiwbi
taiwbi / gnome-transparent-sidebar.css
Last active March 6, 2025 07:45
Make Gnome applications sidebar semi-transparent, and add blur with Blur My Shell Extension if you want to
/* Mohammad Mahdi Tayebi
*
* To apply transparent sidebar. copy this file into ~/.config/gtk-4.0/gtk.css and if
* you use adw-gtk3 theme you can add it to ~/.config/gtk-3.0/gtk.css as well
*
* Use blur my shell extension to add blur effect behind the transparent part of windows
*/
/* Transparent Sidebar */
window {
@taiwbi
taiwbi / wallhaven.sh
Last active June 15, 2024 17:11
Gets a random wallpaper from wallhaven.cc website and sets it as the current gnome background.
#!/bin/bash
# set variables
api_key="" # put your api key here
purity="110" # SFW, Sketchy, NSFW
sorting="toplist" # date_added relevance random views favorites toplist automaticlly
topRange="3d" # 1d 3d 1w 1M 3M 6M 1y
ratios="landscape" # landscape portrait 16x9 16x10 21x9 32x9 ...
categories="111" # General, Anime, People
query="" # Search for ... -