extended_history (タイムスタンプ付与)オプションが有効なzshで保存された履歴は考慮しない
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
#!/bin/bash -eu | |
# This script installs and updates the Flatpak GL runtime for NVIDIA on Ubuntu. | |
# It automatically detects the version of the NVIDIA driver and installs the corresponding Flatpak GL runtime. | |
print_section() { | |
local title | |
title=$1 | |
echo | |
echo "==> ${title}" |
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
#!/bin/bash | |
# find session ids for current user | |
SESSION_IDS=$(loginctl list-sessions -o json | jq -r '.[] | select(.user == "'"$USER"'") | .session') | |
# find XRDP sessions | |
XRDP_SESSION_IDS=() | |
for item in $SESSION_IDS; do | |
SERVICE=$(loginctl show-session -P Service "${item}") | |
if [[ $SERVICE == "xrdp-sesman" ]]; then |
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
"terminal.integrated.profiles.windows": { | |
"MINGW64 / MSYS2": { | |
"path": "C:/msys64/msys2_shell.cmd", | |
"args": [ | |
"-defterm", | |
"-here", | |
"-no-start", | |
"-mingw64" | |
], | |
}, |
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
; Wheel Scroll Tabs for Google Chrome | |
#UseHook | |
; Improve the performance | |
#NoEnv | |
SetBatchLines -1 | |
ListLines Off | |
; Pause the script if it receives 200 key events within 1,000 ms | |
#HotkeyInterval 1000 |
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
#UseHook | |
; パフォーマンス向上 | |
#NoEnv | |
SetBatchLines -1 | |
ListLines Off | |
;マウス系関数で使う座標をスクリーンからの相対位置にする | |
CoordMode, Mouse, Screen |
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
$ sudo apt-get install libgnome-keyring-dev | |
$ cd /usr/share/doc/git/contrib/credential/gnome-keyring | |
$ sudo make |