Skip to content

Instantly share code, notes, and snippets.

View SomajitDey's full-sized avatar

Somajit SomajitDey

View GitHub Profile
@SomajitDey
SomajitDey / sshd_wsl2.md
Created July 5, 2021 18:56
Making SSH server work in WSL2
@SomajitDey
SomajitDey / freemium_port_forwarding_services.md
Last active September 30, 2026 18:10
A list of free or freemium services for exposing localhost to internet with a public ip
@SomajitDey
SomajitDey / linux-cool-tools.md
Last active August 22, 2026 18:26
Linux tools I never wanna forget about
  • chroot #### Jail :> Confine a command's access within given root directory
  • runuser #### Run command as another user. Compare su
  • stdbuf [-oL] command #### Line buffering in output
  • rlwrap [-cr -aPassword: -p -S -P -o] command #### GNU Readline + History + TAB-Autocompletion + Colored prompt + Password hiding
  • fold #### Pretty line wrapping
  • wrap #### Pretty line wrapping
  • pr ### Paginate text file - prettify
  • more
  • less
  • tty ### Print the file name of the terminal connected to standard input
@SomajitDey
SomajitDey / WSL2-Windows_port-forward.md
Last active April 27, 2026 14:30
How to forward WSL2 port to Windows port and vice versa
@SomajitDey
SomajitDey / install_ifort_ifx.md
Last active April 6, 2026 14:04
Install INTEL Fortran compiler ifort for free on Ubuntu(WSL2). Also install MKL. OpenMP and OpenMPI runtime for coarray support.

My route:

  1. curl -Lo- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | sudo gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg
  2. sudo tee /etc/apt/sources.list.d/oneAPI.list <<< "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main"
  3. sudo apt update
@SomajitDey
SomajitDey / anydesk-enable-remote-access.md
Created April 2, 2023 13:56 — forked from imami/anydesk-enable-remote-access.md
AnyDesk - How Enable Remote Access from ubuntu/debian terminal

###AnyDesk - How Enable Remote Access from ubuntu/debian terminal.

Note:

Here are the commands might be usefull in this purpose:

  • anydesk --get-status : To get current status of anydesk, which might be offlien,online or nothing.
  • anydesk --get-id : To get the ID that your system can be accessed by.
  • anydesk --service : To start anydesk service if not already running (for Linux).
  • anydesk --restart-service : To restart anydesk service
  • anydesk --stop-service : To stop anydesk service
@SomajitDey
SomajitDey / web_dev_resources.md
Last active December 17, 2025 07:06
Resources for HTML, CSS and JS/NodeJS development
@SomajitDey
SomajitDey / static_site_howto.md
Last active September 24, 2025 11:44
Create and deploy static site for personal website or blog. Contains contact form, feeds and comment section.
@SomajitDey
SomajitDey / GraphQL_GitHub.md
Last active September 24, 2025 11:43
GraphQL offers many advantages over REST API. Once learned, it's fast, it's efficient, it's fun

Notes and Learning Resources