[verifying my keyoxide key:openpgp4fpr:13FD03680931ECD20D7EF23A99E95EA4FCE567A8]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install emacs-mac --with-natural-title-bar --with-starter --with-native-comp --with-imagemagick --with-librsvg --with-xwidgets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su - mastodon | |
cd live | |
export RAILS_ENV=production | |
./bin/tootctl accounts prune; | |
./bin/tootctl statuses remove --days 4; | |
./bin/tootctl media remove --days 4; | |
./bin/tootctl media remove --remove-headers --include-follows --days 0; | |
./bin/tootctl preview_cards remove --days 4; | |
./bin/tootctl media remove-orphans; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! special | |
*.foreground: #ebdbb2 | |
*.background: #1d2021 | |
*.cursorColor: #f2da47 | |
! black | |
*.color0: #282828 | |
*.color8: #928374 | |
! red |
Download and extract the dictionary:
wget https://s3.amazonaws.com/jsomers/dictionary.zip
unzip dictionary.zip
tar zxf dictionary/stardict-dictd-web1913-2.4.2.tar.bz2
Move it to a proper place:
mkdir ~/dict/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as root | |
systemctl stop mastodon-web mastodon-sidekiq mastodon-streaming | |
su - mastodon | |
cd live | |
# as mastodon user, in its live direcotry | |
export MASTODON_VER=v4.2.8 | |
export RAILS_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
export LISPDIR="${HOME}/.emacs.d/lisp" | |
export MUCOMMIT="HEAD-"$(git log -n1 --decorate=no --shortstat --abbrev-commit | head -n1 | awk '{print $2}') | |
if [ `uname -m` = "arm64" ]; then | |
export HBPREFIX="/opt/homebrew/Cellar" | |
else |
Install emacs view brew:
brew tap railwaycat/emacsmacport
brew install --with-native-comp --with-imagemagick --with-natural-title-bar --with-starter emacs-mac
Install latest mu (including mu4e):
brew install --HEAD mu
Save this as curl-perf.cfg
:
{\n
"time_connect": %{time_connect},\n
"time_pretransfer": %{time_pretransfer},\n
"time_starttransfer": %{time_starttransfer},\n
"time_total": %{time_total},\n
"size_request": %{size_request},\n
"size_upload": %{size_upload},\n
"size_download": %{size_download},\n
NewerOlder