brew install dnscrypt-proxy
Edit /usr/local/etc/dnscrypt-proxy.toml
as needed. I added/modified the following lines:
# I find this https://discussions.apple.com/thread/8160651 | |
# but it not match my 2018 version MacBook with macos 10.14 | |
# | |
# On my local, gpuswitch value is | |
# 0 -> does not use dedicated graphics | |
# 1 -> use dedicated graphics | |
# 2 -> switch automaticly (I guess), because 2 is default value when "automatic graphics switching" selected | |
# in energy in preference. | |
# check settings depended on charger/battery |
Dear Sir/Madam: | |
I am writing to you in your capacity as data protection officer for your | |
company. In light of recent spam received on this email address, | |
I am making this request for access to personal data | |
pursuant to Article 15 of the General Data Protection Regulation. | |
I am concerned that your company’s information practices may be putting my | |
personal information at undue risk of exposure or in fact has breached its | |
obligation to safeguard my personal information. |
<?php | |
// Tor Check : https://gist.github.com/TheRealBastiaan/889b4ec5fafd928e0de2 | |
function IsTorExitPoint($ip=null){ | |
$ip = ($ip) ? $ip : $_SERVER['REMOTE_ADDR']; | |
if (gethostbyname(ReverseIPOctets($ip).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2") { | |
return true; | |
} else { | |
return false; | |
} | |
} |
/* | |
* dropbox_ext4.c | |
* | |
* Compile like this: | |
* gcc -shared -fPIC -ldl -o libdropbox_ext4.so dropbox_ext4.c | |
* | |
* Run Dropbox like this: | |
* LD_PRELOAD=./libdropbox_ext4.so ~/.dropbox-dist/dropboxd | |
*/ | |
cd /home/forge/pixelfed.social | |
git pull origin dev | |
composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader | |
echo "" | sudo -S service php7.2-fpm reload | |
php artisan config:cache | |
php artisan migrate --force | |
php artisan horizon:purge | |
php artisan horizon:terminate |
#!/usr/bin/env bash | |
# | |
# Make a backup file of a Mastodon instance. The backup file is a TGZ containing | |
# the Postgres dump as well as the /public/system (media) files and the | |
# .env.production file. For loading the dump file contents, see: | |
# https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Migration-guide.md | |
# | |
# Usage: ./mastodon_backup.sh my_dump_file.tgz | |
# | |
# Advanced usage: MASTODON_LIVE_DIRECTORY=/path/to/live ./mastodon_backup.sh my_dump_file.tgz |
This guide now lives at https://github.com/joyeusenoelle/GuideToMastodon/ - please check there for updates, and feel free to submit a PR if you have suggestions or want to submit a translation!
—– BEGIN LICENSE —– | |
TwitterInc | |
200 User License | |
EA7E-890007 | |
1D77F72E 390CDD93 4DCBA022 FAF60790 | |
61AA12C0 A37081C5 D0316412 4584D136 | |
94D7F7D4 95BC8C1C 527DA828 560BB037 | |
D1EDDD8C AE7B379F 50C9D69D B35179EF | |
2FE898C4 8E4277A8 555CE714 E1FB0E43 |