Skip to content

Instantly share code, notes, and snippets.

View AWtnb's full-sized avatar
i love coffee

Akira Watanabe AWtnb

i love coffee
View GitHub Profile
@tak-dcxi
tak-dcxi / typography.md
Last active March 17, 2026 12:32
タイポグラフィCSS

タイポグラフィ

font-family

  • フォントは 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 の指定を推奨する。
@sheepla
sheepla / main.go
Last active January 26, 2025 22:30
Progress bar implementation in Go with github.com/cheggaaa/pb/v3
package main
import (
"progressbar_example/progress"
"time"
)
func main() {
count := 10000
package main
import (
"fmt"
"os"
fzf "github.com/junegunn/fzf/src"
)
func main() {
@sheepla
sheepla / UsingWezTerm.md
Last active August 14, 2024 08:43
新鋭気質なターミナルエミュレータ「WezTerm」を使う
@sheepla
sheepla / cd-ghq.ps1
Last active October 13, 2023 09:38
cd to ghq's repository selected by fzf on PowerShell
function Test-Command {
param(
[Parameter(Position=1)]
$Name
)
$null -ne (Get-Command $Name -ErrorAction:"SilentlyContinue")
}
if ((Test-Command ghq) -and (Test-Command fzf)) {
@sheepla
sheepla / LinuxユーザーのためのWindowsカスタマイズガイド.md
Last active March 11, 2026 04:22
LinuxユーザーのためのWindowsカスタマイズガイド

LinuxユーザーのためのWindowsのおすすめツール・アプリケーション+個人的なカスタマイズガイド

これはなに?

普段はLinux(Arch Linux + i3)を使っているsheeplaが、Windowsでいい感じの環境を作るためにもがいた記録です。 「キーボード操作ですべてを完結させたい」「お気に入りのフォント・キーバインドを設定して生活したい」といったこだわりを捨てられない人におすすめです。 逆に、「安定した環境を使いたい」「Windowsのデフォルトの設定を壊したくない」「細々としたカスタマイズに時間を掛けたくない」人や商用のリッチなソフトウェアを多用する人にはあまり役に立たないかもしれません。

ターミナル

@sheepla
sheepla / ManageSystemRestorePointWithPowerShell.md
Last active December 30, 2022 02:59
Manage system restore point with PowerShell

🛣️ Manage system restore point with PowerShell

By creating a restore point, you can restore the system files, registry, etc. to the state when the restore point was created.

Normally, to create a system restore point in the GUI, open System Properties (sysdm.cpl) and open the System Protection tab.

Create a system restore point

This time, use PowerShell to manage system restore points. Start Windows PowerShell with administrator privileges.

@sheepla
sheepla / amazon-apps-list.txt
Last active August 14, 2024 20:46
Disable pre-installed amazon apps on Amazon Fire HD 8
amazon.jackson19
amazon.speech.sim
android.amazon.perm
com.amazon.aca
com.amazon.accessorynotifier
com.amazon.advertisingidsettings
com.amazon.ags.app
com.amazon.alexa.modeswitch
com.amazon.alexa.multimodal.gemini
com.amazon.alta.h2clientservice
@sheepla
sheepla / Get-ComClassNameAndClsid.ps1
Last active December 25, 2022 09:47
Get COM class name and CLSID with Powershell
<#
.DESCRIPTION
Get available COM (Component Object Model) class name and CLSID
.SYNOPSIS
Get-ComClassNameAndClsid.ps1 [-ClassName] ClassName
.EXAMPLE
Get-ComClassNameAndClsid.ps1 internetexplorer
# or...
<#
.DESCRIPTION
If current user has administrator privilege, returns true else returs false.
.EXAMPLE
Test-DoIHaveAdministratorPrivilege.ps1
True
#>