This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
>> ドメインがsamurai-engineer.net
>> とかじゃなくてsejuku.netなの
>> がなんか気に食わない
>
> 侍エンジニア塾(sejuku.net)、
> SE(エスイー)塾みたいなネーミン
>グですね
Search Engine Juku なの、かっ?!
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
いなばさんの全部俺アプリを楽しんでいたらディスプレイを覗き見た家族にマルウェア感染を疑われました。おはどんです。
>> イナバさんの全部俺アプリ
>
> ore - Chrome ウェブストア
> https://qiitadon.com/@momosetkn/101327964292036695
あーーーーー!!!wwwwwww
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
#Dockerfileのお勉強 で#Toot専用Dockerfile 作ってみた
FROM alpine:3.8
RUN apk update && apk add curl
ENV ENDPOINT=' ' STATUS='' VISIBILITY=' ' ACCESS_TOKEN=' '
CMD if \
echo $STATUS$VISIBILITY$ACCESS_TOKEN \
| grep '[^a-zA-Z0-9\-\._~%]' > /dev/null; \
then \
exit 1; \
fi; \
curl -X POST \
-d "status=${STATUS}" \
-d "visibility=${VISIBILITY}" \
--header "Authorization: Bearer ${ACCESS_TOKEN}" \
-sS $ENDPOINT
使い方
# ビルド
docker build -t $NAME_IMAGE ./
# 実行(要事前変数設定)
docker run --rm -it \
-e ENDPOINT="${URL_ENDPOINT}" \
-e STATUS="${TOOT_STATUS}" \
-e VISIBILITY="${TOOT_VISIBILITY}" \
-e ACCESS_TOKEN="${TOOT_TOKEN}" \
$NAME_IMAGE
#Dockerfileのお勉強 で#Toot専用Dockerfile 作ってみた
で、長ったらしいのでシェルスクリプトにしたけど、ここまできたら、最初からbashでよくね?
#!/usr/bin/env bash
URL_ENDPOINT='https://qiitadon.com/api/v1/statuses'
TOOT_STATUS=${1:-'Hello%20World'}
TOOT_VISIBILITY='private'
TOOT_TOKEN=''
NAME_IMAGE='tooter'
# Create disposable container and run
docker run --rm -it \
-e ENDPOINT="${URL_ENDPOINT}" \
-e STATUS="${TOOT_STATUS}" \
-e VISIBILITY="${TOOT_VISIBILITY}" \
-e ACCESS_TOKEN="${TOOT_TOKEN}" \
$NAME_IMAGE
exit $?
This account is not set to public on notestock.
> トークンの情報を残せない
「残せない」がよくわかってないのですが、 @hidao さんの #MastoOwn みたいに、あえてトークンの項目も入力させるようにしてみては?
https://hidao80.github.io/MastoOwn/
https://github.com/hidao80/MastoOwn @ GitHub
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
【レジストリ】
重要なものを登録する作業に使われるエンジニアの業界用誤。具体的には、フロント・エンジニアが現金をレジスターに入れるときに「1万円入りまーす」と確認をしながら登録する作業をいう。
関連用誤: フロントエンジニア
This account is not set to public on notestock.
This account is not set to public on notestock.