If you want to be taken seriously as a developer, stop using these phrases:
- 🧸 “Playing around with”
- 🔩 “Tinker”
- 🤷 “Some stuff”
Do you want your team to enjoy your development workflow? Do you think building software should be fun and existentially fulfilling? If so, this is the post for you!
I’ve been developing with Django for years, and I’ve never been happier with my Django project set up than I am right now. …
Growing, successful applications are a lovely problem to have. As a product develops, it tends to accumulate complication the way your weekend cake project accumulates layers of frosting. Thankfully, Django, my favorite batteries-included framework, handles complexity pretty well.
Django models help …
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 …
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
Tried to come up with a way to remember the sudo tee
hack for when I forget to start Vim with sudo:
Save w
ith the !
shell command using sudo
to tee
-split to the %
current file name.
:w !sudo tee %
If you want to have a confidential conversation with someone you know, you might meet up in person and find a private place to talk. If you want to send data confidentially over the Internet, you might have a few more considerations to cover.
TLS, or Transport Layer Security, refers to a protocol. …
While a multitude of methods exist to search for and replace words in a single file, what do you do when you’ve got a string to update across multiple unrelated files, all with different names? You harness the power of command line tools, of course!
First, you’ll need to find
all the …
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}
I like deadlines and living documents.