Note: This was originally posted on my blog at https://therobinkim.com/blog/patrick-mckenzies-dont-call-yourself-a-programmer-and-other-career-advice.
Note: This was originally posted on my blog at https://therobinkim.com/blog/maximize-your-remote-work-productivity. Any updates will appear there and not here.
This post was originally created for https://github.com/therobinkim/lets-learn-vim.
vim is a text editor that is built into many operating systems and henceforth built into terminals…
vim
Note: This was originally posted on my blog at https://therobinkim.com/blog/how-to-read-a-git-diff. Any updates will appear there and not here.
When I learned how to read a git diff/patch, I felt like my understanding of the internal mechanics of git improved…
A brief history:
It takes it in context and optional arguments array.
context
arguments
Resource: http://tech.jocke.no/2010/09/27/add-timestamp-to-ping/
I modified the original suggestion of… ping google.com | while read pong; do echo "$(date): $pong"; done
ping google.com | while read pong; do echo "$(date): $pong"; done
Note: This was originally posted on my blog at https://therobinkim.com/blog/git-add-everything-but-whitespace-changes. Any updates will appear there and not here.
git log | subl allows you to view the Git log in Sublime Text (assuming your symlink has been established). Or you can write into a file with git log > gitlog.txt! More about these strange symbols (like >, >>, |, and <) here.
git log | subl
git log > gitlog.txt
>
>>
|
<