- 依存関係いじらない限りはyarn/bundleもbuildに含めちゃえば楽なのではとか思ったけど、依存関係いじるのが面倒くさそうなのでやめた
- volumes
- gems,node_modules: nokogiriとか再ビルドするの時間かかるので、ぼちぼち使いまわしたい
- assets,packs: フロント回りのキャッシュ。volumeで残す必要すらない気もするが、まあ。
- system: db:resetと一緒に飛ばす想定
- ↑この辺のコマンドをどこかに置いておきたくてとりあえずpackage.jsonに置いた
- コード類はホストと同期したいのでbind
- tmpfs
- tmp: なかったかもしれない(ぉ
sleeping-beauty
This file contains hidden or 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
| // ==UserScript== | |
| // @name :don: - スラングにabbrつけるやつ | |
| // @namespace https://github.com/unarist/ | |
| // @version 0.21.1 | |
| // @author unarist | |
| // @match https://mstdn.maud.io/* | |
| // @grant none | |
| // @downloadURL https://gist.github.com/unarist/ce93c77eee6ff9bf51491ff06a3109d3/raw/mastodon-add-abbr.user.js | |
| // @noframes | |
| // ==/UserScript== |
This file contains hidden or 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
| // ==UserScript== | |
| // @name 七森中☆Mastodon部 - うにーボタン | |
| // @namespace https://github.com/unarist/ | |
| // @version 0.1 | |
| // @description 何も入力せずにうにー!を押すとうにー!ってうにー!します。 | |
| // @author unarist | |
| // @match https://yuruyuri.family/ | |
| // @match https://yuruyuri.family/web/* | |
| // @downloadURL https://gist.github.com/unarist/bf89a5f054fb1d58a39067f61626b9c2/raw/mastodon-default-toot.user.js | |
| // @grant none |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Mastodon - Emoji Guide | |
| // @namespace https://github.com/unarist/ | |
| // @version 0.3 | |
| // @description Add :shortname: as title attribute to emoji | |
| // @author unarist | |
| // @match https://*/web/* | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/lib/js/emojione.min.js | |
| // @downloadURL https://gist.github.com/unarist/113400ddf6e8a16b907531e727bc0681/raw/mastodon-emoji-guide.user.js | |
| // @grant none |
I hereby claim:
- I am unarist on github.
- I am unarist (https://keybase.io/unarist) on keybase.
- I have a public key ASB9O3nHmnpmdwLlhiWhNQEuI5KYGMxOQUFVLHE0hwgsxQo
To claim this, I am signing this object:
This file contains hidden or 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
| // ==UserScript== | |
| // @name Mastodon - 期限付きミュート | |
| // @namespace https://github.com/unarist/ | |
| // @version 0.11 | |
| // @author unarist | |
| // @match https://*/web/* | |
| // @grant none | |
| // @downloadURL https://gist.github.com/unarist/91da256246fb438811f2e1a05785abad/raw/mastodon-timed-mute.user.js | |
| // ==/UserScript== |
This file contains hidden or 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
| /* CUSTOMS */ | |
| /* account media gallery */ | |
| .account-gallery__item { | |
| width: 25%; | |
| min-width: 120px; | |
| } | |
| /* enlarge custom emoji */ | |
| /* note: :only-child won't count text nodes */ |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Mastodon - 確認ダイアログのボタンに自動でフォーカス移動する | |
| // @namespace https://github.com/unarist/ | |
| // @version 0.3 | |
| // @author unarist | |
| // @match https://*/web/* | |
| // @grant none | |
| // @downloadURL https://gist.github.com/unarist/89a640badf8b340db29c5f72fcaceb54/raw/mastodon-autofocus.user.js | |
| // ==/UserScript== |
This file contains hidden or 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
| // ==UserScript== | |
| // @name :don: - n7m | |
| // @namespace https://github.com/unarist/ | |
| // @version 0.1 | |
| // @author unarist | |
| // @match https://mstdn.maud.io/web/* | |
| // @grant none | |
| // ==/UserScript== | |
| // https://github.com/timrwood/n7m |
This file contains hidden or 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
| diff --git a/config/initializers/ostatus.rb b/config/initializers/ostatus.rb | |
| index 342996d..6f29ea3 100644 | |
| --- a/config/initializers/ostatus.rb | |
| +++ b/config/initializers/ostatus.rb | |
| @@ -16,7 +16,7 @@ Rails.application.configure do | |
| config.x.alternate_domains = alternate_domains.split(/\s*,\s*/) | |
| config.action_mailer.default_url_options = { host: web_host, protocol: https ? 'https://' : 'http://', trailing_slash: false } | |
| - config.x.streaming_api_base_url = 'ws://localhost:4000' | |
| + config.x.streaming_api_base_url = ENV.fetch('STREAMING_API_BASE_URL') { "ws://localhost:4000" } |