Run: code --list-extensions | xargs -L 1 echo
CoenraadS.bracket-pair-colorizer
cssho.vscode-svgviewer
dsznajder.es7-react-js-snippets
eamodio.gitlens
formulahendry.code-runner
fwcd.kotlin
golang.go
df -H | |
du -a -h --max-depth=1 | sort -hr | |
rm -rf path/to/* |
Edit -> Find and Replace | |
Search on (exact following): \r\n|\n|\r | |
Replace with space or nothing | |
Select match regex | |
Replace |
#!/bin/bash | |
green=`tput setaf 2` | |
bold=`tput bold` | |
reset=`tput sgr0` | |
separator="-----=====-----=====-----=====-----=====-----" | |
echo "🧪 ${green}${bold}Running step one" | |
echo "${separator}${reset}" | |
echo "hello world" |
Run: code --list-extensions | xargs -L 1 echo
CoenraadS.bracket-pair-colorizer
cssho.vscode-svgviewer
dsznajder.es7-react-js-snippets
eamodio.gitlens
formulahendry.code-runner
fwcd.kotlin
golang.go
select GROUP_CONCAT(distinct(country) order by country asc SEPARATOR ';') from diary; | |
-- IN -- | |
-- id travel_date country | |
-- 1 2008-05-12 Ireland | |
-- 2 2010-11-04 France | |
-- 3 2005-10-02 Australia | |
-- 4 2008-06-08 Japan | |
-- 5 2010-08-27 Austria | |
-- 6 2009-02-05 France |
# Load version control information | |
autoload -Uz vcs_info | |
precmd() { vcs_info } | |
# Format the vcs_info_msg_0_ variable | |
zstyle ':vcs_info:git:*' formats '%F{green}[%b]%f ' | |
# Set up the prompt (with git branch name) | |
setopt PROMPT_SUBST | |
PROMPT='%n ${PWD/#$HOME/~} ${vcs_info_msg_0_}$ ' |