Skip to content

Instantly share code, notes, and snippets.

View AbrarJahin's full-sized avatar
🌴
On vacation

S. M. Abrar Jahin AbrarJahin

🌴
On vacation
View GitHub Profile
@AbrarJahin
AbrarJahin / Allow List for Facebook
Last active July 8, 2025 14:32
Home Allow/Deny List
graph.facebook.com
b-graph.facebook.com
s.youtube.com
firetvcaptiveportal.com
captive-portal.amazon.com
tpb.party
*.biltrewards.com
@AbrarJahin
AbrarJahin / Install ASP.Net Core 3.1 app in ubuntu 20.04.md
Last active December 4, 2022 23:51
Install ASP.Net Core 3.1 app in ubuntu 20.04

Install ASP.Net Core 3.1 app in ubuntu 20.04

  1. Update system-
sudo apt update -y        # Fetches the list of available updates
sudo apt upgrade -y       # Installs some updates; does not remove packages
sudo apt full-upgrade -y  # Installs updates; may also remove some packages, if needed
sudo apt autoremove -y    # Removes any old packages that are no longer needed
@AbrarJahin
AbrarJahin / understanding-word-vectors.ipynb
Created February 4, 2022 02:42 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AbrarJahin
AbrarJahin / Complete ASP.Net Core deploy in Centos 8.md
Created March 19, 2021 17:07
Complete ASP.Net Core deploy in Centos 8

Complete ASP.Net Core deploy in Centos 8

If you need to deploy the whole project in a new server, you can follow this procedure. If your application is deployed with git and you need to just update the project, please read this.

Procedure

  1. Create a new user in your CentOS
  2. Install Required Packages
  3. Configure Application
  4. Configure Supervisor
  5. Configure Application with Supervisor for making the app Up and running with log management
  6. Add the application ports in the firewall allowed port
  7. Viewing the server Log
@AbrarJahin
AbrarJahin / Public Time Servers.md
Last active March 12, 2020 04:14 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

sudo su
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"
exit
sudo apt-get update -y && sudo apt-get install -y mssql-server
Update your CentOS system-
==========================
sudo yum install epel-release -y && sudo yum update kernel -y && sudo yum update -y && sudo yum upgrade -y && sudo yum install nano net-tools git wget -y && sudo reboot -h now
Ading a User with sudo access-
==============================
adduser [username] && usermod -aG wheel [username] && passwd [username] && exit
-------------------------------
Update your CentOS system-
==========================
sudo yum install epel-release -y && sudo yum update kernel -y && sudo yum update -y && sudo yum upgrade -y && sudo yum install nano net-tools git wget -y && sudo reboot -h now
Ading a User with sudo access-
==============================
adduser [username] && usermod -aG wheel [username] && passwd [username] && exit
-------------------------------
netstat -ano | FIND “22”
tasklist /FI “PID eq xxxx”
taskkill /F /IM “FreeSSHDService.exe”
netstat -ano | FIND “22”
Update your CentOS system-
==========================
sudo yum install epel-release -y && sudo yum update kernel -y && sudo yum update -y && sudo yum upgrade -y && sudo yum install nano net-tools git wget -y && sudo reboot -h now
Ading a User with sudo access-
==============================
adduser [username] && usermod -aG wheel [username] && passwd [username] && exit
-------------------------------