Skip to content

Instantly share code, notes, and snippets.

View milad-rasouli's full-sized avatar
✏️
💪😎💻

Milad Rasouli milad-rasouli

✏️
💪😎💻
View GitHub Profile
@milad-rasouli
milad-rasouli / code.go
Created November 13, 2025 10:42
Code Review 2
package main
import (
"fmt"
"strconv"
"strings"
)
type User struct {
ID int
Name string
Email string
@milad-rasouli
milad-rasouli / code.go
Created November 6, 2025 08:02
Code Review 1
package main
import (
"context"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"log"
"math/rand"
@milad-rasouli
milad-rasouli / Install and Run DeepSeek-R1 Locally with Ollama on Arch Linux.md
Created February 21, 2025 14:00
Install and Run DeepSeek-R1 Locally with Ollama on Arch Linux
@milad-rasouli
milad-rasouli / docker_compose_setup.md
Last active October 11, 2025 06:50
Docker Compose Setup

Docker Compose Setup

To run one or more services, use the following command:

sudo docker compose up <service1_name> <service2_name> ... --wait -d
sudo docker compose up broker kafka-ui --wait -d
@milad-rasouli
milad-rasouli / Eye Reminder.md
Created October 21, 2024 09:39
Eye Reminder

Eye Reminder Script (20/20/20 Rule)

Important

Follow the 20/20/20 Rule
Every 20 minutes of screen time, look at something 20 feet away for at least 20 seconds to reduce eye strain.

Bash Script (notify.sh)

#!/bin/sh