getent passwd
root:x:0:0 ...
...
getent passwd root
root:x:0:0 ...
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "rubocop -aD", | |
"type": "shell", | |
"command": "redmined bundle exec rubocop -aD ${relativeFile}", | |
"presentation": { | |
"echo": true, | |
"reveal": "always", |
getent passwd
root:x:0:0 ...
...
getent passwd root
root:x:0:0 ...
url=http://<url> | |
while true; do TZ=JST-9 date; curl $url; sleep 1s; done |
$ localectl status
System Locale: LANG=en_US.UTF-8
LANGUAGE=en_US:en
VC Keymap: us
X11 Layout: us
X11 Model: pc105
# Prerequistes | |
# * OS is Ubuntu 22.04 | |
# * Nvim is installed with AppImage | |
# Usage | |
# nvim /path/to/your/project/directory | |
function nvim() { | |
path=$1 | |
if [ -d "$path" ]; then | |
cd $path |
gh browse --branch $(git branch --show-current)
--show-current
https://www.git-scm.com/docs/git-branch#Documentation/git-branch.txt---show-current
realpath path/to/file
Show task usage details
./gradlew -q help --task tasks
https://docs.gradle.org/current/userguide/command_line_interface.html
ruby -rsecurerandom -e "puts SecureRandom.alphanumeric(16)" | pbcopy
ruby -rsecurerandom -e "puts SecureRandom.random_number(10000)" | pbcopy