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
from mastodon import Mastodon | |
cocoa = Mastodon( | |
client_id = 'client.secret', #app情報 | |
access_token = 'user.secret', #ログイントークン | |
api_base_url = 'https://knzk.me' #インスタンス名 | |
) | |
cocoa.toot('チノちゃん!') |
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
from mastodon import * | |
import re, sys, os, csv, json, codecs, io, gc | |
import threading, requests | |
import warnings, traceback | |
from urllib.request import urlretrieve | |
from xml.sax.saxutils import unescape as unesc | |
# これはよく分かってない | |
warnings.simplefilter("ignore", UnicodeWarning) |
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
/*レイアウト変更*/ | |
.drawer { | |
height : 320px !important ; | |
width : 320px !important ; | |
} | |
.column { | |
flex: 1 1 0 !important; | |
} | |
.wide .drawer { | |
flex: 1 1 0; |
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
/*レイアウト変更*/ | |
.drawer { | |
height : 320px !important ; | |
width : 320px !important ; | |
flex: 1 1 0 !important; | |
} | |
.column { | |
flex: 1 1 0 !important; | |
} | |
.wide .drawer { |
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
/*レイアウト配置*/ | |
.drawer { | |
width: 30% !important; | |
height: 310px !important; | |
} | |
.emoji-dialog { | |
z-index: 1 !important; | |
position: fixed !important; | |
top: 5% !important; |