Quick example of federating with Tor instances from clearnet
Install and configure Tor / Privoxy
# apt install privoxy tor
/* プラウザのJSコンソールに貼り付けて実行させると音が鳴る */ | |
(function() { | |
const n2hz = note => 440 * Math.pow(2, (note - 57) / 12); | |
const ctx = new AudioContext(); | |
const notes = [65, 72, 77]; | |
const noteStep = 0.078; | |
for (let delay = 0; delay < 2; delay++) { | |
const stime = ctx.currentTime + 0.08 + delay * 0.29; |
// ==UserScript== | |
// @name Mastodonステータスのふぁぼとかを見るやつ | |
// @namespace https://js4.in/ns/ | |
// @version 1.0.7 | |
// @description | |
// @author Miyagi Hikaru | |
// @include /^https?:\/\/[^\/]+\/(?:@\w+|users\/\w+\/statuses)\/\d+/ | |
// @grant none | |
// @website https://gist.github.com/hcmiya/453ba90d849d5b4ff0d25ccee94df6c8 | |
// @updateURL https://gist.github.com/hcmiya/453ba90d849d5b4ff0d25ccee94df6c8/raw/mastodon-no-fav-toka-miru-yatu.user.js |
# apt install postgresql redis nodejs npm ruby tor ffmpeg imagemagick git \
nginx wget bundler protobuf-compiler iptables-persistent ncurses-term vim \
gcc g++ make patch ruby-dev libprotobuf-dev libidn11-dev libpq-dev libicu-dev libxml2-dev libxslt1-dev
// ==UserScript== | |
// @name マストドンに定型文機能を付けるやつ | |
// @namespace https://js4.in/ns/ | |
// @include * | |
// @version 1.0.11 | |
// @grant GM_setValue | |
// @grant GM_getValue | |
// @grant GM_deleteValue | |
// @author Miyagi Hikaru | |
// @website https://gist.github.com/hcmiya/3645e7ef572685c56e58fca5e1375e0e |
// ==UserScript== | |
// @name カスタム絵文字をゲタにするやつ | |
// @namespace https://js4.in/ns/ | |
// @include https://* | |
// @version 1.0.5 | |
// @grant GM_setValue | |
// @grant GM_getValue | |
// @author Miyagi Hikaru | |
// @website https://gist.github.com/hcmiya/26c4b3d966c6415179cea3176afc06e6 | |
// @updateURL https://gist.github.com/hcmiya/26c4b3d966c6415179cea3176afc06e6/raw/mastodon-custom-emoji-geta.user.js |