We need to add two buildpacks.
heroku-community/nginx
replaces the deprecated heroku-community/static
and
allows us to configure NGINX to redirect all traffic to dist/spa/index.html
(see NGINX Configuration).
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl docker.io \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
#/usr/bin/env bash | |
install_on_ubuntu() { | |
sudo apt update | |
sudo apt install -y ansible | |
} | |
OS="$(uname -s)" | |
# Install Ansible by platform |
.grid | |
display: grid | |
// Grid template columns | |
.grid-cols-1 | |
grid-template-columns: repeat(1, minmax(0, 1fr)) | |
.grid-cols-2 | |
grid-template-columns: repeat(2, minmax(0, 1fr)) |
#asdf_bin_root=$(dirname $RUBY_VERSION_MANAGER_PATH) | |
#source "${asdf_bin_root}/../asdf.sh" | |
#asdf shell ruby $RUBY_VERSION_MANAGER_DISTRIBUTION_ID | |
# https://youtrack.jetbrains.com/issue/RUBY-27899/Terminal-fails-to-source-chruby.sh-when-using-fish | |
# https://youtrack.jetbrains.com/issue/RUBY-27517/Terminal-fish-shell-prints-an-error-for-ASDF-startup-script | |
set asdf_bin_root $(dirname $RUBY_VERSION_MANAGER_PATH) | |
source $asdf_bin_root/../asdf.fish | |
asdf shell ruby $RUBY_VERSION_MANAGER_DISTRIBUTION_ID |
https://help.dreamhost.com/hc/en-us/articles/360001435926-Installing-OpenSSL-locally-under-your-username asdf-vm/asdf-ruby#258 (comment)
wget https://www.openssl.org/source/openssl-1.1.1q.tar.gz
tar xvfz openssl-1.1.1q.tar.gz -C ~/src/vendor/openssl
cd ~/src/vendor/openssl/openssl-1.1.1q
./config --prefix=/home/steve/openssl-1.1.1q --openssldir=/home/steve/openssl-1.1.1q no-ssl2
make
make test
" https://gist.github.com/steveclarke/ba73c6b2e198f14f1b729ad6825c04ca | |
" Leader is <space> | |
let mapleader = ' ' | |
nnoremap <Space> <Nop> | |
" nobody wants that bell! | |
set visualbell | |
set incsearch |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
body { | |
margin: 1rem; | |
} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<style> | |
/* https://css-tricks.com/a-grid-of-logos-in-squares/ */ | |
.grid { |