Skip to content

Instantly share code, notes, and snippets.

View thriftedfashion's full-sized avatar

Teagan R thriftedfashion

View GitHub Profile
@petemihaylov
petemihaylov / vps-setup.md
Last active April 9, 2025 09:59
Setting up a Production Ready VPS

Production VPS Setup Guide

This guide walks through setting up a production-ready VPS with Docker Swarm, Traefik as a load balancer, and automated SSL certificate management. quick-vps-setup

Checklist

  • ✅ Domain Name Configuration
  • ✅ Application Deployment
  • ✅ TLS + HTTPS + Auto-renewal
  • ✅ OpenSSH Hardening
@mobber007
mobber007 / ubuntu_install.sh
Created February 11, 2023 00:30 — forked from nginx-gists/ubuntu_install.sh
Automating Installation of WordPress with NGINX Unit on Ubuntu
#!/usr/bin/env bash
if [ "$EUID" -ne 0 ];then
>&2 echo "This script requires root level access to run"
exit 1
fi
if [ -z "${WORDPRESS_DB_PASSWORD}" ]; then
>&2 echo "WORDPRESS_DB_PASSWORD must be set"
>&2 echo "Here is a random one that you can paste:"

In this article I'm going to walk you through process of creating Wordpress plugins. First I'm going to talk about some of the basic concepts in Wordpress plugin development like the actions, hooks, and API's that makes up Wordpress. Then were going to build a plugin where we apply some of the concepts and best practices in developing Wordpress plugins.

###Prerequisites

In order to fully benefit from this tutorial you should have a basic knowledge on PHP. As Wordpress is running on PHP and most of the code that we will be writing will be on PHP. A little bit of knowledge on HTML, CSS and JavaScript is also helpful but not required for this tutorial.

@leo-dosu
leo-dosu / Deploy_on_cPanel.md
Created August 1, 2022 17:10 — forked from dusta/Deploy_on_cPanel.md
Deploy your site with git on cPanel

Deploy your site with git on cPanel

The most important: You must have shell access!

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
  • your (PHP) scripts are served from /var/www/html/
@bradtraversy
bradtraversy / mern-server-setup.md
Last active February 5, 2026 06:33
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@simonesestito
simonesestito / README.md
Last active February 28, 2024 15:54
Server setup script

Server initial setup script

Configuration

This script was made for personal purposes, but it can still be useful to many. You NEED to change variables inside the script, like the SSH public key.

Usage

On a new Ubuntu server, run the following command:

@saiyam1814
saiyam1814 / install.sh
Last active April 14, 2024 17:05
Kubernetes + containerd 1.23 setup for Ubuntu 20.04
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "step1"
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
echo "kubeadm install"
sudo apt update -y
sudo apt -y install vim git curl wget kubelet=1.23.0-00 kubeadm=1.23.0-00 kubectl=1.23.0-00
echo "memory swapoff"
sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
sudo swapoff -a
sudo modprobe overlay
@ACK-J
ACK-J / parrot_kali_install.sh
Last active December 17, 2025 16:11
OffSec Tools Install
#!/bin/bash
# System Updates
sudo apt-get update -y
sudo apt-get full-upgrade --fix-missing -y
sudo apt-get autoremove -y
sudo apt-get -y dist-upgrade
sudo apt-get -y install linux-headers-$(uname -r)
#sudo parrot-upgrade
# Alias to Fix Virtual Box issues
@SanariSan
SanariSan / !Ubuntu init setup
Last active March 30, 2025 14:00
Ubuntu init setup
All the SH scripts I run after launching fresh Ubuntu.
Also some manual steps.
+ LUSK
Content inside.
@svennela
svennela / rasa-notes
Last active November 27, 2022 23:27
Requirement already satisfied: psycopg2-binary<2.9.0,>=2.8.2 in /Users/sridharvennela/workspace/pgp-aiml/rasa-workshop/venv/lib/python3.8/site-packages (from rasa[spacy]==1.10.0->-r requirements.txt (line 2)) (2.8.6)
Requirement already satisfied: sanic-jwt<1.5.0,>=1.3.2 in /Users/sridharvennela/workspace/pgp-aiml/rasa-workshop/venv/lib/python3.8/site-packages (from rasa[spacy]==1.10.0->-r requirements.txt (line 2)) (1.4.1)
ERROR: Could not find a version that satisfies the requirement tensorflow-addons<0.8.0,>=0.7.1 (from rasa[spacy]==1.10.0->-r requirements.txt (line 2)) (from versions: 0.10.0, 0.11.0, 0.11.1, 0.11.2)
ERROR: No matching distribution found for tensorflow-addons<0.8.0,>=0.7.1 (from rasa[spacy]==1.10.0->-r requirements.txt (line 2))
Steps (Mac/Linux):
Create a new directory for the workshop project
mkdir rasa-workshop
Navigate into the directory
cd rasa-workshop