# source https://stackoverflow.com/a/1676690/4722570
-
steps to uncomment a block of code:
-
esc
-
ctrl + v
-
down arrow
-
x
-
enter
-
steps to comment ditto:
# source https://twitter.com/mbcrump/status/1275106945968386050?s=20 | |
code --list-extensions | % {"code --install-extension $_"} | |
# my mod, if using vscode insiders | |
code-insiders --list-extensions | % {"code-insiders --install-extension $_"} | |
# other e.g. sorce https://twitter.com/rauschma/status/1240791939114467328?s=20 |
# compiler error glib-2.0 was not found in the pkg-config search path | |
sudo apt-get install libgtk-3-dev | |
# source https://github.com/gi-rust/glib-sys/issues/5#issuecomment-320515059 |
# source https://stackoverflow.com/a/1676690/4722570
steps to uncomment a block of code:
esc
ctrl + v
down arrow
x
enter
steps to comment ditto:
ctrl + G
# source https://superuser.com/a/1271691/851692
# remove build in apps, source https://www.askvg.com/guide-how-to-remove-all-built-in-apps-in-windows-10/ | |
# don't work with powershell 7 though | |
# source https://github.com/PowerShell/PowerShell/issues/13138#issuecomment-849965912 | |
import-module appx -usewindowspowershell | |
# other examples | |
# source https://github.com/PowerShell/PowerShell/issues/13138#issuecomment-851366340 | |
Import-Module -Name Appx -UseWindowsPowerShell -WarningAction SilentlyContinue |
cat /etc/os-release | |
lsb_release -a | |
hostnamectl | |
# kernal | |
uname -r | |
# source https://www.cyberciti.biz/faq/how-to-check-os-version-in-linux-command-line/ |
# HT/source https://stackoverflow.com/questions/20532546/escape-pound-or-number-sign-in-github-issue-tracker
# test
#
# key words, character verbatime, escaping
# HT/source https://www.markdownguide.org/basic-syntax#escaping-characters
# solution fails
[//]: # (This syntax works like a comment, and won't appear in any output.)
echo "${PATH//:/$'\n'}" | |
# HT 2 https://askubuntu.com/a/600028/610990 | |
# other way to display PATH sed, tr etc https://askubuntu.com/a/600019/610990 |
git clone https://github.com/Dr-Noob/cpufetch | |
cd gpufetch | |
make | |
#HT https://itsfoss.com/cpufetch/ |