- 見た目を整えるやつ
- 実際に書いている文章は➚のRawから見れるやつ
テキストだけで 文章の見た目を整えることができる
| こういった | 表 | なんかも |
|---|---|---|
| つくれる | ので | 便利 |
| const Twitter = require('twitter'), | |
| fs = require('fs'), | |
| jconv = require('jconv'), | |
| client = new Twitter({ | |
| consumer_key: '', | |
| consumer_secret: '', | |
| access_token_key: '', | |
| access_token_secret: '' | |
| }), | |
| moment = require('moment'), |
| const Twitter = require('twitter'), | |
| req = require('request'), | |
| fs = require('fs'), | |
| client = new Twitter({ | |
| consumer_key: '', | |
| consumer_secret: '', | |
| access_token_key: '', | |
| access_token_secret: '' | |
| }), | |
| moment = require('moment'), |
| +import dom from 'vd'; | |
| + | |
| +// Localization prototype | |
| +export default { | |
| + locale: "ja", | |
| + meta: _ => { | |
| + return [dom('meta http-equiv="content-language" content="ja"')] | |
| + }, | |
| + title: (name) => { |
| #!/bin/bash | |
| ##################################################### | |
| # This script is intended for unattended upgrades | |
| # of a standard Mastodon installation. | |
| # Uncommited changes i.e. in config files | |
| # will be stashed and restored. | |
| # This script is not intended for forks with commits | |
| # as the latest release will be checked out. | |
| # Database migrations and asset-precompilation will | |
| # run automatically. |
| { | |
| "name": "t.co-police", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "police.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "author": "gc373", | |
| "license": "MIT", |
| #!/bin/bash | |
| ##################################################### | |
| # This script is intended for unattended upgrades | |
| # of a standard Mastodon installation. | |
| # Uncommited changes i.e. in config files | |
| # will be stashed and restored. | |
| # This script is not intended for forks with commits | |
| # as the latest release will be checked out. | |
| # Database migrations and asset-precompilation will | |
| # run automatically. |
| /* | |
| * Check Youtube channel. | |
| * When upload a video to target channel, add to my playlist. | |
| * | |
| * Copyright © 2017 gc373 | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
| * http://www.wtfpl.net/ | |
| */ |
| /* | |
| * Youtubeのチャンネル/ユーザーの動画を自分の再生リストに追加するやつ(制御版) | |
| * YouTube Data API [Your Key] | |
| * https://console.developers.google.com/apis/library | |
| * | |
| * Copyright © 2017 gc373 | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
| * http://www.wtfpl.net/ |
first, pls get token with oauth.js
oauth.jsをつかってTokenを取得
streaming.jsで接続
Twitterのkey類と制御処理は自分で実装してね
動作未検証
<img src="http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-4.png"