cd ~;
git init --bare ~/dotfiles;
echo 'alias bare="/usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME"' >> ~/.bashrc;
source ~/.bashrc;
bare config --local status.showUntrackedFiles no;
Reference The Markdown Guide.
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.
These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.
Change this file : /etc/pam.d/common-password
password [success=1 default=ignore] pam_unix.so minlen=1 sha512
password requisite pam_deny.so
password required pam_permit.so
password optional pam_gnome_keyring.so
$ g++ --version;
$ brew install gcc;
$ cd /usr/local/bin; ls;
$ g++-13 --version;
$ echo 'alias gcc="/usr/local/bin/gcc-13"' >> ~/.zshrc;
$ echo 'alias g++="/usr/local/bin/g++-13"' >> ~/.zshrc;
The set
lines
- These lines deliberately cause your script to fail. Wait, what? Believe me, this is a good thing.
- With these settings, certain common errors will cause the script to immediately fail, explicitly and loudly. Otherwise, you can get hidden bugs that are discovered only when they blow up in production.
set -euxo pipefail
is short for:
set -e
set -u
skhd config file location: ~/.config/skhd/skhdrc
Thinking behind these shortcuts:
Use 'cmd' key for all desktop,window,space related shortcuts. Here, cmd+alt is preferred to cmd+shift.
Use 'alt' key for all tmux related shortcuts.
Use 'ctrl', and leader key 'space' for vim related shortcuts.
Note: Most of the following shortcuts are configured for yabai.
#!/usr/bin/env sh