Resetting Django Migrations Without Losing Data

This shows how to reset django migrations without losing any data. If you’ve deleted an…

Show all properties of a variable in python (like PHPs var_dump, but better)

“but better” because types are also exposed from inspect import getmembers from pprint import pprint…

Changing git commit AUTHOR and COMMITTER

It’s as simple as: git -c user.name="Author Name" -c user.email=author@email.com commit --amend --reset-author All done.
git

views.open error, Slack API

Trying to debug a nondescript error, "The server responded with: {'ok': False, 'error': 'internal_error'}", brings…

Google Authenticator App Crashes After iOS 14.2 Update

Go to Settings > General > iPhone Storage > Authenticator   Click on “Offload App”,…

Fix slow PHP mac localhost

It’s probably not slow PHP, just slow routing. Open terminal and type in hostname to…

Hardening your WordPress installation

find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x find…

Searching Git Commit History

To search your git commit history for a specific comment made, it’s quite straightforward:  …