Mastodon の API を叩くには以下の手順を踏む必要がある:
- OAuth2 クライアントを登録する
- アクセストークンを取得する
- アクセストークンを
Authorization
ヘッダに指定して API にアクセスする
Mastodon の Apps API に登録情報を送ってクライアントを払い出してもらう(一度だけやれば OK).
現在monacoindの開発についてはテクノブレイク・フォン・モナーバウム(以下ワタナベ氏)が一任しています。 | |
連絡は基本取らないようですが、問題等あればPullRequest及びissueをgithubにて出すことで対応してもらうことは可能です。 | |
monacoinの開発と言うのは何を指すのか?と言いますと基本的には周辺環境の開発を指します。 | |
coind自体以外の互換コア開発(monad(golang実装),monacoinj(Java実装)など)についてはワタナベ氏以外が行っています。 | |
誰に許可を取って開発していいか分からないと言うのはありますが、許可を取る必要は特にありません。 | |
しいて言うならば、他のウォレット等との互換性を保つための取り決めは守ったほうが良いかなと言うところでしょうか。 | |
他のコインも含めて大体はここに書いてあります。 | |
https://github.com/satoshilabs/slips |
A | |
$ monacoin-cli getnewaddress | |
MBYkbKdtF3tjuc5q1ZkPoH1x7kErYfEqqi | |
B | |
$ bitcoin-cli getnewaddress | |
12W4bW2PtVmgu65XRWYXPKRrVPs8GZ2jbL | |
A | |
$ btcatomicswap --rpcuser=user --rpcpass=password initiate 12W4bW2PtVmgu65XRWYXPKRrVPs8GZ2jbL 0.1 |
var request = require('request'); | |
var fs = require('fs'); | |
const SLACK_BOT_TOKEN = 'hogehoge'; | |
const api_url = 'https://slack.com/api/'; | |
var fileName = 'hogefuga.png'; | |
var channel = 'general'; | |
options = { | |
token: SLACK_BOT_TOKEN, | |
filename: fileName, |
Seen a few tweets on this. I want to dispel some FUD.
Node is probably going to introduce a new file extension for JavaScript modules, .mjs
. The reasons for this are long and perilous, and trying to summarize the discussion that led to it is maddening. The short version is that ES6 modules have different semantics from existing scripts, and need to be executed differently. In browsers, this is done with <script type="module">
. In Node, this will be done by analyzing the file extension of the imported file.
I'll be honest: I don't love this solution! I was rooting for the TC39 counter-proposal. But I also understand the solution that the Node developers chose, and why they chose it.
The new file extension is a good enough solution. You can read the [draft spec](https://github.com/nodejs/node-eps/
connect権限のみを持ったノード 210.140.100.170:9574 に対して以下の様なリクエストを送ることができます。
# 接続しているノード一覧を取得する
curl --proxy http://210.140.100.170:50001 --user multichainrpc:FXyVm2TzgEFiU4j7DU8aaN9kFaE9vnj7Q25n38ZovwCv --data-binary '{"method":"getpeerinfo","params":[],"id":1,"chain_name":"anonymouschain"}' -H 'content-type: text/plain;' http://210.140.100.170:9574/
このエントリは糖質制限 Advent Calendar の 2 日目のエントリです。前日は @chiastolite さんの「半年の糖質制限生活の経過報告的なにか」でした。
a_suenami と申します。ネット界隈では「糖質警察」として多少知られてると思います。よろしくお願いします。 僕の糖質制限への熱い想いはこのへんを見ていただければわかるかと思います。