Skip to content

Instantly share code, notes, and snippets.

View samsesh's full-sized avatar
👽
there's no place like

127.0.0.1:443 samsesh

👽
there's no place like
View GitHub Profile
@samsesh
samsesh / mount_s3.sh
Last active June 19, 2023 16:40
mount s3 storage to linux server scprit
#!/bin/bash
# Prompt for necessary information
read -p "Enter S3 bucket name: " bucket_name
read -p "Enter the mount point directory path: " mount_point
# Provide example and get mount type
echo ""
echo "1. To add the mount to /etc/fstab"
echo ""
@samsesh
samsesh / tor-docker-compose.yml
Last active August 6, 2023 19:57
tor proxy at docker-compose.yml
version: "3"
services:
tor:
image: dperson/torproxy #based on https://github.com/dperson/torproxy
hostname: tor
container_name: tor
restart: always
networks:
- tor
ports: