photo of the author

@victoria.dev

237 days ago

If you want to be taken seriously as a developer, stop using these phrases:

  • 🧸 “Playing around with”
  • 🔩 “Tinker”
  • 🤷 “Some stuff”

photo of the author

@victoria.dev

241 days ago

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. …

#python #tech team #coding #docs

photo of the author

@victoria.dev

249 days ago

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 …

#coding #data #python

photo of the author

@victoria.dev

250 days ago

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 …

photo of the author

@victoria.dev

251 days ago

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’s new setting

photo of the author

@victoria.dev

258 days ago

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 %

photo of the author

@victoria.dev

258 days ago

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. …

#cybersecurity #algorithms #protocols #computing

photo of the author

@victoria.dev

269 days ago

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 …

#terminal #linux

photo of the author

@victoria.dev

271 days ago

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}

photo of the author

@victoria.dev

278 days ago

I like deadlines and living documents.