普段はLinux(Arch Linux + i3)を使っているsheeplaが、Windowsでいい感じの環境を作るためにもがいた記録です。 「キーボード操作ですべてを完結させたい」「お気に入りのフォント・キーバインドを設定して生活したい」といったこだわりを捨てられない人におすすめです。 逆に、「安定した環境を使いたい」「Windowsのデフォルトの設定を壊したくない」「細々としたカスタマイズに時間を掛けたくない」人や商用のリッチなソフトウェアを多用する人にはあまり役に立たないかもしれません。
This file contains 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
:root { | |
--default-font: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji; | |
--editor-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; | |
/* --override-font: "BIZ UDゴシック"; */ | |
/* --override-font: "HackGen35"; */ | |
/* --override-font: "BIZ UDPゴシック"; */ | |
/* --override-font: "Yu Gothic"; */ | |
} | |
.cm-content { |
This file contains 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
<# | |
.DESCRIPTION | |
Get physical memory (RAM) detailed information | |
#> | |
using namespace System.Collections.Generic | |
$memoryType = [Dictionary[int,string]]::new() | |
$memoryType.Add(0,"Unknown") | |
$memoryType.Add(1,"Other") |
This file contains 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
function Test-Command { | |
param( | |
[Parameter(Position=1)] | |
$Name | |
) | |
$null -ne (Get-Command $Name -ErrorAction:"SilentlyContinue") | |
} | |
if ((Test-Command ghq) -and (Test-Command fzf)) { |
This file contains 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
<# | |
.DESCRIPTION | |
Get Remote Desktop Server configuration | |
#> | |
$reg = Get-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\' | |
[pscustomobject] @{ | |
ListenPort = $reg.GetValue("PortNumber") | |
AvailableUsers = @( |
This file contains 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
<# | |
.DESCRIPTION | |
Get available application commands full path and description | |
.EXAMPLE | |
Get-ApplicationCommandDescription.ps1 | ? Description -ne $null | Select-Object -First 10 | |
Path Description | |
---- ----------- |
This file contains 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
Set-PSReadlineOption -EditMode Emacs | |
Set-PSReadlineOption -BellStyle None | |
Set-PSReadlineOption -PredictionSource History | |
Get-Alias | Where-Object {$_.Name -match "[a-z]+"} | Remove-Alias -Force | |
Set-Alias mv Move-Item | |
Set-Alias cp Copy-Item | |
Set-Alias kill Stop-Process | |
Set-Alias ps Get-Process | |
Set-Alias rm Remove-Item |
This file contains 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
# | |
# ghq-fzf.zsh | |
# | |
# ABOUT: | |
# `cd` to `ghq` repositories directory on `zsh` | |
# You can launch this function with `Ctrl-g` | |
# | |
# INSTALLATION: | |
# Requires `zsh` and `fzf` | |
# Download this file then, append `source path/to/fzf-ghq.zsh` to your `~/.zshrc` |
どうも、国見小道です。今回は、Fediverseに参加するためのさまざまなソフトの1つ、「microblog.pub」を建てて数日運用してみて得られた知識と感想について書いていきます。
microblog.pubというActivityPub実装のOSSがあります。これはMastodonやPleromaやMisskeyと同じカテゴリに属する、マイクロブログ型の分散SNSです。microblog.pubは「おひとりさま」を徹底追求したもので、なんとログインページにはパスワードの入力欄しかありません。
無事productionのbuildが成功した後にこのことを確認して、ド肝を抜かれました。
NewerOlder