Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name mstdn.jp column extender
// @namespace none
// @version 0.1
// @description expand your mstdn.jp TL column width
// @author hsgw
// @match https://mstdn.jp/web/*
// @grant none
// ==/UserScript==
(function () {
// ==UserScript==
// @name mstdn.jp column extender
// @namespace none
// @version 0.1
// @description expand your mstdn.jp TL column width
// @author nanasi
// @include https://mastodon.social/web/*
// @include https://mstdn.jp/web/*
// @include https://mastodon.juggler.jp/web/*
// @include https://sns.gdgd.jp.net/web/*
version: '2'
services:
db:
restart: always
image: postgres:alpine
### Uncomment to enable DB persistance
volumes:
- /mnt/hdd/mastodon/postgres:/var/lib/postgresql/data
version: '2'
services:
db:
restart: always
image: postgres:alpine
### Uncomment to enable DB persistance
volumes:
- /mnt/hdd/mastodon/postgres:/var/lib/postgresql/data
#users,statuses,connections,openRegistrations,name
36785,153694,370,1,mstdn.jp
28043,186009,500,1,pawoo.net
1445,16784,193,1,kirakiratter.com
1371,325,10,1,mastodon.tokyo
1179,15530,119,1,mstdn-workers.com
1154,22390,191,1,mastodon.juggler.jp
731,2555,133,1,mastodon.yokohama
577,19688,229,0,mstdn.club
441,6106,195,1,mstdn.maud.io
#users,statuses,connections,openRegistrations,name
51705,351756,575,1,mstdn.jp
46002,365744,672,1,pawoo.net
1734,26719,252,1,kirakiratter.com
1441,27598,215,1,mstdn-workers.com
1432,328,10,1,mastodon.tokyo
1190,30137,244,1,mastodon.juggler.jp
880,3437,179,1,mastodon.yokohama
577,23357,285,0,mstdn.club
505,3652,190,1,mstdn.social
@tateisu
tateisu / memo.txt
Created April 18, 2017 16:59
CryptCheckを動かした時のメモ
###########################################################################
* 問題のエラー
$ bin/check_https mastodon.juggler.jp 443
160.16.127.180:443 [mastodon.juggler.jp]
wrong number of arguments (1 for 0)
エラーメッセージでgrepすると ArgumentError という例外らしい
###########################################################################
$ bin/check_https mstdn.social 443 debug
2001:e42:107:1029::4:443 [mstdn.social]
Connection refused - connect(2) for [2001:e42:107:1029::4]:443
/home/tateisu/.rbenv/versions/2.3.0/lib/ruby/2.3.0/socket.rb:1207:in `__connect_nonblock'
/home/tateisu/.rbenv/versions/2.3.0/lib/ruby/2.3.0/socket.rb:1207:in `connect_nonblock'
/home/tateisu/cryptcheck/lib/cryptcheck/tls/server.rb:128:in `connect'
/home/tateisu/cryptcheck/lib/cryptcheck/tls/server.rb:185:in `ssl_client'
/home/tateisu/cryptcheck/lib/cryptcheck/tls/server.rb:199:in `block in extract_cert'
/home/tateisu/cryptcheck/lib/cryptcheck/tls/server.rb:196:in `each'
@tateisu
tateisu / policy.xml
Created April 30, 2017 20:41
policy.xml in mastodon docker image
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policymap [
<!ELEMENT policymap (policy)+>
<!ELEMENT policy (#PCDATA)>
<!ATTLIST policy domain (cache|delegate|coder|path|resource|system) #IMPLIED>
<!ATTLIST policy name CDATA #IMPLIED>
<!ATTLIST policy rights CDATA #IMPLIED>
<!ATTLIST policy stealth CDATA #IMPLIED>
<!ATTLIST policy cache CDATA #IMPLIED>
<!ATTLIST policy coder CDATA #IMPLIED>
05-01 17:20:27.907 17437 17462 E hisync-findmyphone.STUtils: decrypterCbc Exceptionjava.lang.IllegalArgumentException: Bad arguments
05-01 17:20:27.909 17437 17462 E hisync-findmyphone.STUtils: decrypterCbc Exceptionjava.lang.IllegalArgumentException: Bad arguments
05-01 17:20:27.916 17437 17462 E hisync-findmyphone.STUtils: decrypterCbc Exceptionjava.lang.IllegalArgumentException: Bad arguments
05-01 17:20:28.658 1252 1274 I ActivityManager: Displayed jp.juggler.subwaytooter/.ActMain: +1s239ms
05-01 17:20:32.660 1252 1365 W AlarmManager: mIsScreenOn is: true, WAKEUP alarm talarm.operation == null,package name is: android listenerTag is: WifiConnectivityManager Schedule Periodic Scan Timer creator uid is: 1000
05-01 17:20:41.782 17403 17593 W System.err: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x7536e9a500: I/O error during system call, Connection reset by peer
05-01 17:20:41.783 17403 17593 W System.err: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)