In the immortal words of Rick and Morty:
Don't ... mess ... with ... time!!
Response: I will mess with time!, I will mess with time.
Disclaimer, all dates were run in macOs Chrome browser console. Your mileage may vary.
Change your timezone on mac computer:
Useful when you are travelling to be in your home timezone.
Sourced from here: https://apple.stackexchange.com/a/117995/200795
sudo systemsetup -listtimezones
# copy the <timezone> you want to add
sudo systemsetup -settimezone <timezone>
function hhelp() { | |
help $1 > /dev/null 2>&1 && echo "yes, help $1" || echo "no, help $1" ; | |
man $1 > /dev/null 2>&1 && echo "yes, man $1" || echo "no, man $1"; | |
$1 --help > /dev/null 2>&1 && echo "yes, $1 --help" || echo "no, $1 --help"; | |
$1 -h > /dev/null 2>&1 && echo "yes, $1 -h" || echo "no, $1 -h"; | |
apropos $1 > /dev/null 2>&1 && echo "yes, apropos $1" || echo "no, apropos $1"; | |
whatis $1 > /dev/null 2>&1 && echo "yes, whatis $1" || echo "no, whatis $1"; | |
which $1 > /dev/null 2>&1 && echo "yes, which $1" || echo "no, which $1"; | |
} | |
# because sometimes it is hard to find the correct help function on command line. |
note to self, is there a command line tool on homebrew to use instead?
copied from: https://unix.stackexchange.com/a/174421/188491 which was copied from https://tomayko.com/blog/2011/awkward-ruby 😅
find . -type f | grep -v git | grep -v mov | xargs cat | tr -c '[:alnum:]' '[\n*]' | sort | uniq -ci | sort -n
Your package. json file will tell the story of the dependencies in your project.
I wanted to find out when a certain dependency changed which caused a project structure change.
To achieve I setup a:
Quickly scaffold an extension using: https://code.visualstudio.com/api/get-started/your-first-extension
Sourced from: https://code.visualstudio.com/api/ux-guidelines/overview
^ the overview has additional items, that I might build out in another document.
Rewriting this here because I just want an at a glance reference.
Where it is a thing and then an image and I can scroll through it all.
Status: Test has not been completed.
If config file is at root of project:
a. The test ... make a significantly annoying typescript project.