next.js, nginx, reverse-proxy, ssl
$ sudo apt-get update
$ sudo apt-get install nginx letsencrypt
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<keyboard group="0" id="5000" name="QWERTY no option" maxout="1"> | |
<layouts> | |
<layout first="0" last="0" modifiers="48" mapSet="312" /> | |
</layouts> | |
<modifierMap id="48" defaultIndex="0"> | |
<keyMapSelect mapIndex="0"> | |
<modifier keys="" /> | |
</keyMapSelect> |
#!/bin/bash | |
##################################################################################################### | |
# This script is meant to be used as a global smudge-clean filter for removing sensitive data # | |
# from your commits. # | |
# # | |
# 1. Place this script in an acceisble path, i.e. ~/scripts/git-smudge-clean-filter.sh. # | |
# # | |
# 2. Populate the 'mapArr' using what you need hidden as the key, and the replacment as the value. # | |
# DO NOT use same values for multiple keys (this will work only in one direction). # |
### | |
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
###. things to watch out for: | |
### - Check out the `nix-darwin` instructions, as they have changed. | |
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
### | |
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
# So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
#zero downtime deployment nextjs without vercel | |
echo "Deploy starting..." | |
git pull | |
npm install || exit | |
BUILD_DIR=temp npm run build || exit |
#!/bin/sh | |
# Based on instructions from | |
# https://docs.dash.org/en/stable/masternodes/setup-testnet.html | |
# | |
# See https://www.vultr.com/docs/vultr-startup-scripts-quickstart-guide | |
# for details of using Vultr startup scripts | |
# Add new user | |
USERNAME=yourusernamehere # Username to create |
libraryVersion=0.1.0 | |
libraryArtifactId=kotlin-library | |
proguardVersion=7.0.1 |
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.