To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
| #!/bin/bash | |
| export OMIT=0 | |
| [ ${DEBUG:=0} -gt 0 ] && set -x -v | |
| declare -a DRIVES MODELS CHOICE | |
| typeset -x DRIVES MODELS CHOICE CMDS | |
| TMPFILE="/tmp/identify_drive.$$" | 
| # IPB4 Working NGINX site conf file | |
| # Tested on IPB 4.3+ and Centminmod 123.09beta01 | |
| # This file is for a FORCED SSL site. Non-SSL requests will be directed to SSL. | |
| # Replace domain.com with your IP address or domain name. | |
| # IPv6 is now included. | |
| # Replace IPv4 and IPv6 with the actual addresses. | |
| # Information gathered from | |
| # Centminmod.com / Information pulled from multiple guides. Thx eva2000! | 
To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
Personal Settings > Developer settings > Personal access tokens
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
| # === Optimized my.cnf configuration for MySQL/MariaDB (on cPanel/WHM servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated December 2021 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # | 
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD | 
| #!/bin/bash | |
| ############################################## | |
| # modified version of original http://media-glass.es/ghost-sitemaps/ | |
| # for ghost.centminmod.com | |
| # http://ghost.centminmod.com/ghost-sitemap-generator/ | |
| ############################################## | |
| url="ghost.centminmod.com" | |
| webroot='/home/nginx/domains/ghost.centminmod.com/public' | |
| path="${webroot}/sitemap.xml" | |
| user='nginx' # web server user | 
| site:*/sign-in | |
| site:*/account/login | |
| site:*/forum/ucp.php?mode=login | |
| inurl:memberlist.php?mode=viewprofile | |
| intitle:"EdgeOS" intext:"Please login" | |
| inurl:user_login.php | |
| intitle:"Web Management Login" | |
| site:*/users/login_form | |
| site:*/access/unauthenticated | |
| site:account.*.*/login | 
| {{root}} | |
| {{nginx_access_log}} | |
| {{nginx_error_log}} | |
| if ($scheme != "https") { | |
| rewrite ^ https://$host$uri permanent; | |
| } | |
| location ~ /.well-known { |