Skip to content

Instantly share code, notes, and snippets.

View njfamirm's full-sized avatar
👍
nothing

S. Amir Mohammad Najafi njfamirm

👍
nothing
View GitHub Profile
@njfamirm
njfamirm / oak_serve_static.md
Last active December 20, 2022 06:28
Serving static file and favicon.ico in Oak [ Deno ]

Serving static file in Oak deno

Project layout

├── public
│   ├── favicon.ico
│   └── style.css
├── view
│ └── index.html
@njfamirm
njfamirm / set_shecan_NetworkManager.md
Last active July 27, 2023 10:18
تنظیم شکن با نتورک منیجر در لینوکس

تنظیم شکن با NetworkManager

محتوای فایل ‍etc/NetworkManager/conf.d/dns-servers.conf را به صورت زیر قرار دهید ‍‍‍‍‍‍‍‍

[global-dns-domain-*]
servers=178.22.122.100,185.51.200.2 # در صورت لزوم میشه DNS های دیگه رو هم اضافه کرد

سپس NetworkManager را restart کنید!

@njfamirm
njfamirm / .gitignore.ts
Last active September 13, 2022 22:15
My typescript gitignore
# Specifies intentionally untracked files to ignore when using Git
# http://git-scm.com/docs/gitignore
# OSX
.DS_STORE
.DS_Store
._*
# Windows
Thumbs.db
@njfamirm
njfamirm / id_rsa.pub
Created October 9, 2022 18:08
My public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDirbLvWFZdAvP1KSFKXpdDNvwbPR2p5BfW9iNgbTZtYwNUTVYUlQmyODLQJdw8bJZz1mNTqs1Q/Zp0ARIjsvohJ2nSfs8fFE4BRja3K+BsjCEzfXrk7Y1LuiVmMifbMeIpUPcZJ74hfEGeZAOZpfg6BwDOW2MdKla34TPucUJCVSTn7CMWBrmmSWEZssd/i2Ai3bUEtf7BfPFZxa91SdWjzLOumYptNy1n/4vthPdqzcY9YEQZ3/YaAgGztXWlKfnhmUzEYIiF+V7o9k7CPq0azfK0s/K77nr0Px4X7d7lv+BK7NIez364salk4eZadnmCJIKdOmLTctF2CHAINqyKnU5Lwv5KZ1f10bQmHmsXWx3DIjUHD3EOXsrpWXZL7XK0YVRwSI8hwAEl7j45gQVwsJ/5YR8EX7XzgoIjjhfRmhkixaDbgM/lPFnk+IJ0BIyV4+/JKiCM1FXwcPjlvc+HN/b0C03klKXTMtuVZIq1K9pjLoUVwp2h22C+sTOVgWX2wvW7fOTE5X/9QY8YdubTGUci4nq47NCUmYlwHs0U28fD8IpEDDy6TeHn6y4ORFlIChtmPoMsqVcKAcWkG3xrJiwSqTiE6Tkc5ofkpWsE+LNDF71tuh1EkxlA9F8daoHpUrkxCcHt+MLHlBDD96qEY6XlKnSPWVIq1Kb2DY6dIw== [email protected]

Keybase proof

I hereby claim:

  • I am njfamirm on github.
  • I am njfamirm (https://keybase.io/njfamirm) on keybase.
  • I have a public key ASBawW9Q_ge1xglKdjSlIXlPDKRf0dHizxmxut0Jq00jIgo

To claim this, I am signing this object: