You press the small grey dot.

The floor underneath you suddenly gives way!

You find yourself rapidly sliding down into an Internet hole. Memes and low-resolution cat pictures go flying by. Flailing, you reach out for something that seems to resemble good advice and catch hold of it, halting your fall and climbing to your feet.

You find yourself in a secret room. On the wall, microblogs appear.


  • Setting up a new remote branch? Use git push -u origin HEAD to automatically push the current branch to a new remote branch with the same name.

    Annoyingly, git push doesn’t automatically set the upstream branch.

    https://git-scm.com/docs/git-push#Documentation/git-push.txt–u

    fatal: The current branch <branch name> has no upstream branch.
    To push the current branch and set the remote as upstream, use
    
        git push --set-upstream origin <branch name>
    
    #25724 - September 13, 2020
  • I can’t tell you how happy I am about this setting! Automatic format on save in Visual Studio Code, but ONLY for the lines you modified. Heaven-sent change for PR reviewers πŸ™

    https://code.visualstudio.com/updates/v1_49#_only-format-modified-text

    A screenshot of Visual Studio Code&rsquo;s new setting

    #25556 - September 12, 2020
  • Tried to come up with a way to remember the sudo tee hack for when I forget to start Vim with sudo:

    Save with the ! shell command using sudo to tee-split to the % current file name.

    :w !sudo tee %
    
    #24906 - September 5, 2020
  • Use shell parameter expansion to replace all the newlines in a text file with %0A URL encoding of a newline:

    OUTPUT=$(cat output.txt)
    FORMATTED=${OUTPUT//$'\n'/%0A}
    
    #23510 - August 22, 2020
  • I like deadlines and living documents.

    #22937 - August 16, 2020
  • I feel like watching someone trash and pillage an entire island should be adequate grounds for retracting your agreement to go and live with them.

    #21522 - August 9, 2020
  • Once you have an employee whose only job is to manage other people, you’re no longer a startup.

    #21521 - August 3, 2020
  • Let’s rename β€œsoft skills” to β€œbasic skills” and see if that helps.

    #21539 - August 2, 2020
  • Do not fail silent into that good night. Rage, rage, against the passing of –quiet.

    #20954 - July 27, 2020
  • Add to your .bashrc for a more useful tree output:

    alias tree="tree -aI 'test*|.git|node_modules'"

    #20754 - July 26, 2020