This content originally appeared on DEV Community and was authored by david mimay
disable/enable SIP on mac:
when:
csrutil disable
csrutil enable
csrutil enable --without kext --without fs
install google fonts form github:
when: you want to use locally the entire google font library.
first time:
cd ~/Library/Fonts/
git clone https://github.com/google/fonts.git google-fonts
update google fonts:
cd ~/Library/Fonts/google-fonts && git pull && cd -
hide folders/files:
chflags hidden dragyourfolderhere
chflags nohidden dragyourfile
cmd + shift + period
: shows/hide elements on finder.
vscode shortcut:
cntrl+space
: shows available phrases
download audio files from chrome:
On Chrome open developer mode, View/Developer/Inspect Elements. And paste on console:
var audio1 = document.getElementsByTagName("audio")[0];
window.open(audio1.src);
force quit not working
sudo pkill loginwindow
clean node_modules folder
cd demo
find . -name 'node_modules' -type d -prune
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
This content originally appeared on DEV Community and was authored by david mimay
david mimay | Sciencx (2022-02-11T18:42:33+00:00) My terminal code snippets essentials. Retrieved from https://www.scien.cx/2022/02/11/my-terminal-code-snippets-essentials/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.