- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
Discover gists
#!/bin/bash | |
echo "===================================================================" | |
echo | |
echo " My m68000 Development Setup " | |
echo " You may be prompted for root credentials to complete the install. " | |
echo | |
echo " Toolchain is GNU so it expects you to write AT&T style assembly. " | |
echo " If you want the Windows (MSYS2) script, it's here: " | |
echo " https://gist.github.com/WillSams/f592f9d494b51119945440f7e91079b0 " |
function(print_all_targets DIR) | |
get_property(TGTS DIRECTORY "${DIR}" PROPERTY BUILDSYSTEM_TARGETS) | |
foreach(TGT IN LISTS TGTS) | |
message(STATUS "Target: ${TGT}") | |
# TODO: Do something about it | |
endforeach() | |
get_property(SUBDIRS DIRECTORY "${DIR}" PROPERTY SUBDIRECTORIES) | |
foreach(SUBDIR IN LISTS SUBDIRS) | |
print_all_targets("${SUBDIR}") |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.