登録、投稿などの基本操作にはすぐに慣れるでしょうから、ここでは触れません!
なお、PC版を使っていることを前提に記述していますが、スマホ版でも似たような手段で設定を変更することができます。
設定 -> Web -> 円形のアイコンを使用 のところから、四角いアイコンへ変更できます。
| # requirements: request, spotipy(needs MANUAL installation) | |
| # $ python3 misskey_spotify_nowplaying.py <spotify ID> (silent) | |
| # silentが指定されている場合、Misskeyにpostされずに投稿内容のプレビューのみを実行します。 | |
| # 2018/08/20: tokenではなくmisskey-hookを使うように変更しました。以前は"i"を使っていました。履歴参照。 | |
| import json, sys, urllib.request | |
| import spotipy | |
| import spotipy.util as util |
| // Requirement: node-fetch | |
| // How it works: | |
| // $ node misskey_reaction.js xxxxxxxxxxxxxxxxx(noteId) | |
| // $ node misskey_reaction.js https://${host}/notes/xxxxxxxxxxxx(noteId) | |
| // You need to put your token here to get it working. | |
| const i = '!YOUPUTYOURTOKENHERETOGETTHISPROGRAMTOWORK' | |
| // | |
| const fetch = require('node-fetch') |
| //: Playground - noun: a place where people can play | |
| let クチャクチャ = 0 | |
| let 早口 = 0 | |
| let アディダスの財布 = 0 | |
| let ドヤ顔 = 0 | |
| let ギトギトの髪 = 0 | |
| let 運動靴 = 0 | |
| let 細い目 = 0 | |
| let 汚いメガネ = 0 |
Because you came to this kind of service, I won't explain about some easy things. You must've known how things work.
Basically, the explanations are based on PC version. You can also change those settings in Smartphone version.
You can disable this at Settings -> Web -> Use circle icons.
| const iTunes = Application('iTunes') | |
| const app = Application.currentApplication() | |
| app.includeStandardAdditions = true | |
| const hookURL = 'https://misskey-hook.firebaseapp.comで取得して' | |
| function getTrack(iTunes) { | |
| return iTunes.currentTrack() | |
| } | |
| function getTrackData(iTunes) { |
I hereby claim:
To claim this, I am signing this object:
| import vibe.http.websockets; | |
| import vibe.core.log; | |
| import vibe.core.core; | |
| import vibe.inet.url; | |
| import std.json; | |
| import std.net.curl; | |
| import std.parallelism; | |
| import std.random; | |
| import std.concurrency; | |
| import std.stdio; |
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <SDL2/SDL.h> | |
| int main() { | |
| SDL_Init(SDL_INIT_VIDEO); | |
| SDL_Window* window; | |
| SDL_Renderer* renderer; | |
| SDL_CreateWindowAndRenderer(300, 300, SDL_RENDERER_PRESENTVSYNC, &window, &renderer); | |
| int running = 1; |