Skip to content

Instantly share code, notes, and snippets.

View a-partovii's full-sized avatar
💌
Let's be friends

Ashkan Partovi a-partovii

💌
Let's be friends
View GitHub Profile
@a-partovii
a-partovii / Gist.md
Created April 22, 2026 19:25
RUN-DEV Script

I have two simple bash scripts on Windows and Linux or mac that I want to share here,
this scripts actually run the npm run dev command on click and will help on dev phase.

💡 Tips:

  1. Ensure the script is placed in the root directory of your project.
  2. Keep the terminal window open until you have finished working. Closing it will stop the server.
  3. On Linux/macOS, make the script executable using the following command:
@a-partovii
a-partovii / Gist.md
Created April 22, 2026 17:50
Cursor IDE Connection Problem in Iran

To solve the Cursor connection problem, you can try changing the HTTP protocol setting in the Cursor settings.

File > Preferences > Cursor Settings > Network > change HTTP to 1.1

If there are still issues, try using DNS change or VPNs.
Since I know many Persian IT guys are habituated to search in English, I reposted this in English.

@a-partovii
a-partovii / Gist.md
Last active April 22, 2026 17:51
مشکل اتصال اینترنت برنامه کرسر (Cursor)

برای حل شدن مشکل اتصال اینترنت برنامه کرسر (Cursor) می‌توانید تنظیمات HTTP این برنامه را از تنظیمات تغییر داده و روی HTTP 1.1 تنظیم کنید.

File > Preferences > Cursor Settings > Network > change HTTP to 1.1

همچنین اگر باز هم مشکل داشتید پیشنهاد میشه از سرویس های تغییر DNS و VPN استفاده کنید.