-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
日報 #1
Comments
WSLのUbuntu 20.04からWindowsのデフォルトブラウザでURLを開いてほしかったので、wsluを入れた。
インストール
使用例ghでそのリポジトリのホームページURLに設定されているやつを持ってきて、それを開く。
|
https://github.com/r7kamura/gialog-sync が壊れていたので直した。
対策として、次のようにコードを変更した。 - client.markdown(string)
+ client.markdown(string).force_encoding('UTF-8') ユースケース的にUTF-8で返ってくることが自明であるためこのように対応したが、実際のところはHTTPのレスポンスヘッダー等を見て判断してあげた方が良いとは思う。でもこれはライブラリ側の責務としたいところ。そしてoctokir.rbのIssueを見ると、2019年からそういう問題が指摘されているものの、まだOpenのままだった。 |
最近よくGitHub APIを調べている中で不便に感じたので、少し調べ物をして、GitHub Docsで常に英語版を表示 という記事を書いた。 REDIRECTORという名前だけど、 |
https://github.com/r7kamura/gialog 製のブログ (このブログのことだ) をローカルで開発する場合、submodulesを使うのが良さそうなので試してみた。
同リポジトリのdataブランチを、dataディレクトリに持ってきますよという措置。gialogは元々 ./data ディレクトリにJSONファイルが置かれる前提で実装されているので、こうすると上手く動く。 |
https://r7kamura.github.io/nippo/ に改善を加えた:
|
1週間分のつくりおきをした。今回は (今回も) これ。 |
昔に書いた記事をたまたま見返していたけどいい記事 |
この記事がよく閲覧されているようだったので、更に書き直した。 |
OBSの設定を調べて、Advanced Scene Switcherを入れ、Workシーンで50分作業したら強制的にBreakシーンに突入させるようにできた。 |
Googleドキュメントに貼り付けられるように、リッチテキストで現在開いているページをコピーできるChrome拡張が欲しい。JavaScriptを自分で書いて実現、というのはレイヤーが1つ上の物なので、これは上手く用途に合わなくて、惜しい。 |
No description provided.
The text was updated successfully, but these errors were encountered: