Skip to content

Instantly share code, notes, and snippets.

View seramo's full-sized avatar
🏠
Working from home

Rasoul Mousavian seramo

🏠
Working from home
View GitHub Profile
@seramo
seramo / direct2drive-colab.py
Last active April 24, 2026 22:06 — forked from sedruski/main.py
direct2drive colab
# Install
!pip install -q ipywidgets requests
from google.colab import output
output.enable_custom_widget_manager()
# Mount
from google.colab import drive
drive.mount('/content/drive')
# Imports
@seramo
seramo / trimming-x-graphql-params.md
Created April 22, 2026 15:16
trimming x graphql params

File: proxy_server.py

Search for: # Parse headers

Example:

# Parse headers
headers = {}
@seramo
seramo / commands-for-sharing-local-internet-with-autossh.sh
Last active April 24, 2026 09:39
commands for sharing local internet with autossh
# Update system packages
sudo apt update
# Install autossh for persistent SSH tunnels
sudo apt install autossh
# Generate SSH key (ed25519)
ssh-keygen -t ed25519
# Copy SSH key to remote server (port 9011)