Skip to content

Instantly share code, notes, and snippets.

View wesley974's full-sized avatar
💭
Learning React.js

Wesley wesley974

💭
Learning React.js
View GitHub Profile
@aryanprince
aryanprince / nextjs14-vps-guide.md
Last active July 9, 2024 16:50 — forked from ByteGrad/gist:790455da551e9771d67f8e434cdf54d1
Quickly deploy a Next.js 14 app on a VPS (Droplets, EC2, etc.) with app router, RSCs, and other Next.js features

from aryan: most guides i found online weren't helpful for me, hope this helps tho :)

1. Connect to machine

ssh root@<server-ip-address>

Optional but recommended:

sudo apt update && sudo apt upgrade -y
@IverCoder
IverCoder / office-guide.md
Last active July 5, 2024 16:30
Install and Activate Microsoft Office for Free - A Step-by-Step Guide

Please leave a star at the GitHub Gist mirror if this guide has helped you! You can also ask questions/assistance there.

Install and Activate Microsoft Office 365 for Free - A Step-by-Step Guide

This is a guide on how to install the latest version of Microsoft Office for free. For this method, we will use the Office Deployment Tool. The Microsoft Office Deployment Tool is a command-line program that IT managers use to configure and deliver Office products to PCs in their businesses, but in this guide, we will use it to install Microsoft Office with additional customization options and download it straight from Microsoft's servers.

NOTE: You will not need to repeat this step again to upgrade. Just keep your Office up to date and you will not have any issues.

NOTE: Make sure you have recently reloaded your number with at least 5GB of internet if you use your mobile internet through a hotspot to download. If your telecom

OpenBSD logo     Rails logo     Falcon logo


Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. A safe alternatve to the frequent vulnerabilities and overengineering of Linux and related software (NGiNX & Apache (httpd-asiabsdcon2015.pdf), OpenSSL, iptables/nftables, systemd, BIND, Postfix, Docker etc.)

OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest config

@aeifn
aeifn / wireguard.sh
Last active December 13, 2022 21:18
#!/bin/sh
# Based on https://www.vultr.com/docs/install-wireguard-vpn-server-on-openbsd-7-0/
# Usage:
# doas ./wireguard.sh
# Get OpenBSD VPS at https://t.me/convectixbot
# idempotent tee
itee() {
cp $1 $1.bak
while read line;
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Professional Enterprise
Professional Workstation
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
@CHSuworatrai
CHSuworatrai / VMware vSphere 6.x Licence Keys
Created April 8, 2021 09:20 — forked from DVSB/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
VMware vSphere 6 Enterprise Plus
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
VMware vSphere with Operations Management 6 Enterprise
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@gretel
gretel / smtpd.conf
Last active August 31, 2022 10:53
low bs openbsd mail server configuration
# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $
# tables
table aliases file:/etc/mail/aliases
table domains file:/etc/mail/domains
table passwd file:/etc/mail/passwd
table secrets file:/etc/mail/secrets
table deny db:/etc/mail/deny.db
table receip db:/etc/mail/receip.db
@gretel
gretel / httpd.conf
Last active December 4, 2022 07:29
"openbinge" put relayd and varnishd in front of some (ob)httpd serving mp4 files to get a html-less video streaming endpoint (pf -> relayd -> varnish -> obhttpd -> file)
# $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $
chroot "/zfs/videos"
logdir "/var/log"
server "*" {
listen on 10.0.100.20 port 8442
tcp nodelay
tcp sack
tcp socket buffer 65536
@zonggen
zonggen / NOTE.md
Created August 3, 2020 02:16
RHCSA brain dump

Users:

  • /etc/sudoers(.d)
  • /etc/passwd
  • useradd
  • usermod
  • userdel -r
  • passwd

Groups:

  • /etc/group
@afresh1
afresh1 / openbsd-httpd-fastcgi-notes.md
Created July 12, 2020 21:26
Notes on how OpenBSD's httpd handles its FastCGI parameters. Debugging it with slowcgi.

These examples all live in a default server block in your httpd.conf(5).

server "default" {
	listen on * port 80
	... # all the location blocks can together right here
}

We'll be using slowcgi(8) as the example, because with the -d flag it helpfully spits out the FastCGI environment it got from httpd(8) and what it's planning to do with that.