Skip to content

Instantly share code, notes, and snippets.

View SharafatKarim's full-sized avatar
🎯
focusing...

Sharafat Karim SharafatKarim

🎯
focusing...
View GitHub Profile

linux-server

Initial Linux Server Setup Guide

This guide covers the initial setup process for a new Linux server, focusing on basic security and maintenance tasks.

1. Update and Upgrade System Packages (Must-Do)

Keeping your system packages up to date is crucial for security and stability.

@SharafatKarim
SharafatKarim / Linux Community structure.md
Created May 8, 2025 05:51
A structure that can be followed for building a Linux based coummunity.

PSTU Linux Society Index

Server

  • Welcome - Say hi and introduce yourself!
  • Guides ⭐ - Must-read resources for all Linux users.
  • News - Stay updated with Linux news.
  • Announcements - Important community updates.
  • Invitation - Invite friends to join.
  • Events - Hackathons, meetups, and more.
@SharafatKarim
SharafatKarim / telegram-all-users-in-group-list-gen.py
Created February 4, 2026 08:40
Generate list of all users (userid) in Telegram...
from telethon.sync import TelegramClient
from telethon.tl.functions.channels import GetParticipantsRequest
from telethon.tl.types import ChannelParticipantsSearch
from telethon.sessions import StringSession
import os
from dotenv import load_dotenv
# Load environment variables from .env file
load_dotenv()