Skip to content

Instantly share code, notes, and snippets.

View ArchTaqi's full-sized avatar
🏠
Working from home

Muhammad Taqi ArchTaqi

🏠
Working from home
View GitHub Profile
@ArchTaqi
ArchTaqi / SolanaToolchainInstaller.sh
Created August 5, 2022 15:20 — forked from Quinncuatro/SolanaToolchainInstaller.sh
Shell Script to Install Node/Rust/Solana/Anchor/Metaplex/VS Code for Solana Web Development
#!/bin/bash
# Known working on a vanilla Ubuntu 20.04 install
# as of November 12 2021.
# Usage:
# $ sudo chmod +x ./SolanaToolchainInstaller.sh
# $ ./SolanaToolchainInstaller.sh
TIMESRUN=0
@ArchTaqi
ArchTaqi / README.md
Created July 6, 2022 16:53
How to Install WordPress with Nginx on Ubuntu 20.04 LTS
@ArchTaqi
ArchTaqi / Self.id
Created April 12, 2022 15:44
Self.id
did:3:kjzl6cwe1jw14azyi4uyhe4229bfga6dgnzqxg5s82ulz1c6x52hw8aoikrfhjm

Building your own crypto-currency using Solana

  1. Set up a wallet
  2. Mint (create) your own token
  3. Make your own NFT

1 - Setting Up a Solana Wallet (keypair)

@ArchTaqi
ArchTaqi / Question2.md
Created March 27, 2022 21:20
Codora Internship Program Assessment

If an Algorithm contains 3 loops inside, with time complexities O(n), O(n2) and O(n). What will be the the total time complexity?

for (int i = 1; i <= n; i++)  {
// code   
}    

for (int i = 1; i <= n; i++) {        
 for (int j = 1; j &lt;= n; j++) { 
@ArchTaqi
ArchTaqi / deploy-django.md
Created March 24, 2022 07:50 — forked from rmiyazaki6499/deploy-django.md
Deploying a Production ready Django app on AWS

Deploying a Production ready Django app on AWS

In this tutorial, I will be going over to how to deploy a Django app from start to finish using AWS and EC2. Recently, my partner Tu and I launched our app Hygge Homes (a vacation home rental app for searching and booking vacation homes based off Airbnb) and we wanted to share with other developers some of the lessons we learned along the way.

Following this tutorial, you will have an application that has:

  • An AWS EC2 server configured to host your application
  • SSL-certification with Certbot
  • A custom domain name
  • Continuous deployment with Github Actions/SSM Agent
@ArchTaqi
ArchTaqi / Procfile
Created February 12, 2022 18:42 — forked from adamghill/Procfile
Settings, files, and a checklist to deploy a Django app to Heroku with nginx + gunicorn + postgres + redis and using `poetry` for dependencies.
web: python manage.py collectstatic --noinput && bin/start-pgbouncer bin/start-nginx gunicorn -c gunicorn.conf.py project.wsgi
@ArchTaqi
ArchTaqi / LambdaLayers.md
Created July 22, 2021 14:32
How to Install Python Packages for AWS Lambda Layers

A guide on how to build Python Packages for AWS Lambda Layers using Docker containers.

Limitations of Lambda Layers

There are a few limitations that you need to be aware of and this includes:

  • You can only use up to 5 layers per Lambda.
  • The size of all your layers unzipped cannot exceed 250mb.
  • Layers are mounted to the /opt directory in the function’s execution environment so be sure to Layer your functions properly if you are going to have more than one.
@ArchTaqi
ArchTaqi / 01_setup_lets_encrypt.sh
Created June 9, 2021 19:57 — forked from gene1wood/01_setup_lets_encrypt.sh
Example of how to setup Let's Encrypt on RHEL / CentOS and automate certificate rewnewal
#!/bin/bash
EMAIL=john.doe@example.com
DOMAINS=example.com,www.example.com,foo.example.com,example.org.example.net,www.example.org,www.example.net
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt/
mkdir -p /var/lib/letsencrypt/global-webroot
# Setup the global alias