- フォントは Web サイトの印象に直結するため、一概にこれが良いとは言えない。
- 特にこれと言った指定がされていない場合は
font-family: sans-serifのみで良い。- Windows 11/10 では 2025 年のアップデートにより Noto Sans JP が標準搭載された。色々と問題があった游ゴシックの呪縛から解放されたのは大きい。
- Android はメーカーにより削除されている可能性はあるが、そうでない場合は原則的に Noto Sans CJK JP が適用される。
- Mac/iOS はヒラギノ角ゴ ProN が適用される。
- アップデートによるフォントの変更の懸念はあるものの、ディスレクシアの方々は UD デジタル教科書体などの読みやすいフォントを設定している可能性があるため、アクセシビリティの観点では
font-family: sans-serifの指定を推奨する。
GitHub と Slack の連携 には次の設定が必要:
- GitHub 側の設定
- GitHub Organization (仮に your-org) 単位で Slack アプリがインストールされていること
- Slack アプリが該当リポジトリ (仮に your-repo) へのアクセス権を付与されていること
- アプリ一覧配下の Slack アプリ設定画面: https://github.com/organizations/your-org/settings/installations/nnnnnn
- Slack の GitHub アプリに OAuth 認証を与える GitHub アカウント (仮に @gh-account) が該当リポジトリにアクセス権 (read だけでも良い) を持つ
- リポジトリの Collaborators 確認画面: https://github.com/your-org/your-repo/settings/collaboration
- Slack アプリに付与する権限を最小にしたいのであれば専用アカウントを作って Collaborators に Read 権限のみで加える
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Vue from 'vue' | |
| import { Route } from 'vue-router' | |
| import { Store } from 'vuex' | |
| import { MetaInfo } from 'vue-meta' | |
| import { AxiosInstance } from 'axios' | |
| interface NuxtContext { | |
| isClient: boolean | |
| isServer: boolean | |
| isStatic: boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class DjangoModel(models.Model): | |
| @classmethod | |
| def from_db(cls, db, field_names, values): | |
| instance = super().from_db(db, field_names, values) | |
| instance._state.adding = False | |
| instance._state.db = db | |
| instance._old_values = dict(zip(field_names, values)) | |
| return instance | |
例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
秘密鍵など誤ってコミットしてしまった場合に履歴を完全に削除する手順
参考:6.4 Git のさまざまなツール - 歴史の書き換え
$ git checkout -b clean-key-file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder
