3行要約
- 2017-01 〜 2018-04までの1年ちょい、Fablic社でFRIL開発してたよ
- そこでの体験は最高だったよ
- 来年Vancouverに戻るまでの間の予定は現時点で未定だよ
// ~/docker/config.json | |
{ | |
"credsStore": "desktop", | |
"credHelpers": { | |
"docker.pkg.github.com": "gh", | |
"ghcr.io": "gh" | |
} | |
} |
{"version":1,"resource":"vscode-remote://tomoya-desktop.tomo-asleep.gmail.com.beta.tailscale.net:9090/home/tomoya/.ghq/github.com/increments/Qiita/client/teams/javascripts/src/lib/editor/useSinglePersonEdit.ts","entries":[{"id":"69a9.ts","timestamp":1658126317146},{"id":"SBao.ts","source":"\"~/api/team-draft-item\" からのインポートの更新","timestamp":1658126354478},{"id":"SbPk.ts","timestamp":1658126437462},{"id":"1eA8.ts","timestamp":1658126578849},{"id":"0rUf.ts","timestamp":1658126589559},{"id":"WmEJ.ts","timestamp":1658126624180},{"id":"VFb0.ts","timestamp":1658126636521},{"id":"4ZvI.ts","timestamp":1658126692174},{"id":"ZgNB.ts","timestamp":1658126704684},{"id":"Uwhq.ts","timestamp":1658126733136},{"id":"kHdT.ts","timestamp":1658126747007},{"id":"Ow0W.ts","timestamp":1658126775497},{"id":"Zxj1.ts","timestamp":1658126787519},{"id":"eLlX.ts","timestamp":1658126805019},{"id":"Hhuv.ts","timestamp":1658126841251}]} |
#!/bin/bash | |
# Qiita記事 https://qiita.com/kawaz/items/0593163c1c5538a34f6f | |
set -e | |
set -o pipefail | |
# pam_tidの存在チェック(間違えてLinux環境などで実行されたら中断する) | |
[[ -f /usr/lib/pam/pam_tid.so.2 ]] || exit 1 | |
[[ "${OSTYPE:0:6}" == "darwin" ]] || exit 1 | |
# /etc/pam.d/sudo を念のためターミナルに出力しておく(似非バックアップ) |
Mastodon が他のインスタンスと情報交換をする OStatus API の使い方。使ってるだけのユーザは知る必要がない裏側の話。
Mastodon インスタンスに対して、RFC6415 が規定する /.well-known/host-meta
というパスを要求すると以下の XML が返ってくる.
<?xml version="1.0"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Link rel="lrdd" type="application/xrd+xml" template="https://[MASTODON_HOST]/.well-known/webfinger?resource={uri}"/>
</XRD>
.DEFAULT_GOAL := thesis.pdf | |
%.pdf: %.dvi | |
dvipdfmx $^ | |
thesis.dvi: thesis.tex refs.bib | |
platex -halt-on-error -shell-escape thesis.tex | |
bibtex thesis | |
platex -halt-on-error thesis.tex | |
platex -halt-on-error thesis.tex |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env ruby | |
require 'thor' | |
require 'mechanize' | |
USER = '' | |
PASS = '' | |
class Report < Thor | |
desc 'submit src1 src2 ...', 'Submit code' |
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.