install pyenv
# install pyenv
curl https://pyenv.run | bash
# set env vars to support pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
# install pyenv
curl https://pyenv.run | bash
# set env vars to support pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
I guess that the [fediverse][fediverse] will be as decentralised as email: a bit, but not that much. Most people will be dependent on a few major hubs, some groups might have their own hubs (e.g. company email servers), personal instances will be pretty rare. This is in contrast to personal blogging, where every Bob can easily host their own (and they often do). I mean that's already implied by the name: fediverse is [a federated universe, not a distributed one][fed-v-dis].
Why does this matter? Well I like not being dependent on one entity, but I would like it much more if I was dependent on no entities at all. In other words, I like to publish my own personal blog and get all the goodies of a social network, without being dependent on other micro-blogging / social content platforms.
So in this writing, I'm going to:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/milligram/1.4.1/milligram.min.css"> | |
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.1.2/styles/github.min.css"> | |
<script type="application/javascript" src="https://cdn.bootcdn.net/ajax/libs/marked/1.1.1/marked.min.js"></script> | |
<script type="application/javascript" src="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.1.2/highlight.min.js"></script> | |
<style rel="stylesheet"> | |
body { |
#!/bin/bash | |
# | |
# ./newrepo.sh <repo-name> | |
# | |
cd /volume1/homes/<username>/git-repos | |
git --bare init "$1".git | |
cd "$1".git | |
git update-server-info |
#!/bin/bash | |
fileLocal="filename.ext" | |
bucket="name-of-bucket" | |
s3dir="nameofdirectory/" | |
region="us-east-2" | |
storageClass="STANDARD" | |
awsAccess='XXXXXXXXXXXXXXXXXXXX' | |
awsSecret='0000000000aaaaaaaaaa0000000000aaaaaaaaaa' #Make sure to use credentials with WRITE access to the bucket |
SELECT pg_size_pretty ( | |
pg_total_relation_size ('"camelCaseTableName"') | |
); | |
SELECT pg_size_pretty ( | |
pg_database_size ('lowercaseddbname') | |
); |