独学プログラミング演習
毎週日曜日に更新
最新ダイジェスト:(2025/1/5~2025/1/11) / 一覧
知識を形にする
独学環境の情報
OS | 端末 |
---|---|
InsiderDev(Windows Insider) | OmniBook Ultra Flip |
Windows | Mini-S12 |
Windows on Arm | OmniBook X |
Mac OS | MacBook Air |
Chrome OS Flex | IdeaPad |
Ubuntu Desktop | TransBook |
WSL 2.4.8.0 <<2024/12/19 updated from 2.4.4.0>>
WSL バージョン: 2.4.8.0
カーネル バージョン: 5.15.167.4-1
WSLg バージョン: 1.0.65
MSRDC バージョン: 1.2.5716
Direct3D バージョン: 1.611.1-81528511
DXCore バージョン: 10.0.26100.1-240331-1435.ge-release
Windows バージョン: 10.0.26120.2705
Ubuntu 24.04.1 <<2024/11/15 installed>>
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
NOTICE:
To provide a more stable graphical user experience in Crostini,
the GPU-based rendering driver (virgl) has been disabled by default
for existing and new environments in ChromeOS version 131 and newer.
OpenGL and OpenGLES applications will continue to function using a
CPU-based rendering driver (swrast).
If you would like to re-enable GPU-based rendering in an unsupported
capacity, you may visit: chrome://flags#crostini-gpu-support
in your Chrome browser and set the flag to "Enabled", then restart
your device.
(this message will be repeated 4 more times).
(to silence this message, run the following in this terminal):
echo 5 >"/home/taishow2006/.local/share/cros-motd"
Ubuntu Desktop 24.10 <<2025/01/11 updated from 24.04.1>>
PRETTY_NAME="Ubuntu 24.10"
NAME="Ubuntu"
VERSION_ID="24.10"
VERSION="24.10 (Oracular Oriole)"
VERSION_CODENAME=oracular
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=oracular
LOGO=ubuntu-logo
カーネルバージョン
OS/言語を問わず利用するツールの情報
Windows
Mac
独学で取り組んでいる言語/データベース/ドキュメント作成に関するノウハウは、各ページに蓄積
OSやツールのノウハウは、以下を参照
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install cocoapods
pod --version
brew update
brew upgrade
wsl --version
wsl --update
cat /etc/os-release
lsb_release -a
git config --global user.name
git config --global user.email
sudo apt install gnome-keyring
sudo apt install build-essential
sudo apt install gcc
ユーザ設定
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
Windowsでの更新
git update-git-for-windows
Macでの更新
brew upgrade git
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
argtable3 jikken m68k-elf-binutils python-gdbm@3.13
blisp jxl-oxide m68k-elf-gcc python-tk@3.13
djlint libcss openapi-diff python@3.13
dug libdom oxlint tllist
gptme libhubbub paperjam tmux-sessionizer
icu4c@75 libparserutils pipet
==> New Casks
ableset font-matemasie
anytype@alpha font-moderustic
anytype@beta font-new-amsterdam
backyard-ai font-noto-serif-todhri
cap font-sour-gummy
colemak-dh font-suse
colemak-dhk homerow
displaybuddy imaging-edge
font-bungee-tint magicquit
font-edu-au-vic-wa-nt-arrows microsoft-edge@canary
font-edu-au-vic-wa-nt-dots quba
font-edu-au-vic-wa-nt-guides sanctum
font-edu-au-vic-wa-nt-pre thunderbird@esr
font-funnel-display typefully
font-funnel-sans
You have 3 outdated formulae installed.
==> Upgrading 1 outdated package:
git 2.46.0 -> 2.47.0
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.47.0
######################################################################### 100.0%
==> Fetching git
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:7c09abec73bcb8
######################################################################### 100.0%
==> Upgrading git
2.46.0 -> 2.47.0
==> Pouring git--2.47.0.arm64_sequoia.bottle.tar.gz
==> Caveats
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.
zsh completions and functions have been installed to:
/opt/homebrew/share/zsh/site-functions
==> Summary
🍺 /opt/homebrew/Cellar/git/2.47.0: 1,684 files, 54.4MB
==> Running `brew cleanup git`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /opt/homebrew/Cellar/git/2.46.0... (1,678 files, 51.5MB)
Removing: /Users/taishow2024/Library/Caches/Homebrew/git_bottle_manifest--2.46.0... (15.4KB)
ブランチ確認
git branch --contains
ブランチ変更
git checkout <ブランチ名>
winget install --id Microsoft.Powershell --source winget
$env:Path.Split(";")
Get-ChildItem . | Sort-Object LastWriteTime
Get-ChildItem . | Sort-Object LastWriteTime -Descending
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'