Writing
Writing
Articles, practical notes, and short lessons.All writing
21
UUIDv7 in DjangoArticlesHow to use UUIDv7 in DjangoDevelopment · 6 min read
Hyrum's Law in GolangArticlesOccurrence of Hyrum's law in GolangDevelopment · 3 min read
Avoiding Generic Foreign Keys by using Check ConstraintsArticlesHow to avoid using generic foreign keys by using check constraintsDevelopment · 5 min read
Second display not working on Linux UbuntuNotesHow to fix a second display not working on Linux UbuntuSystems · 1 min read
Using ntfsfix to fix mounting error on LinuxNotesFor those annoying "unknown error when mounting" messagesDevelopment · 1 min read
Why be an optimist?FragmentsA very extensive, in-depth analysis of why to be an optimistPersonal · 1 min read
Setting a Default Output Mode in SQLite Using an AliasNotesHow to set a default output mode in SQLite with a simple shell alias.Systems · 2 min read
Reinitializing a Django appArticlesHow to reinitialize a Django app by deleting migration files, dropping associated database tables, and recreating the app from scratchDevelopment · 3 min read
Showing Models of Internal and 3rd Party Apps in Django Admin PageArticlesHow to display the models of Django's internal apps or any 3rd party apps in the admin page.Development · 5 min read
TIL - Postgres MAC Address Data TypeTILPostgres has a data type for mac addresses called macaddrSystems · 3 min read
TIL: Django has a field limitTILThe number of GET/POST parameters exceeded settings.DATA_UPLOAD_MAX_NUMBER_FIELDS.Development · 3 min read
Displaying Human-Readable ArrayField Choices in Django REST FrameworkArticlesHow to Display a Human-Readable Format of a Django ArrayField Containing CharFields with Choices in Django REST Framework.Development · 3 min read
Hide your Nginx VersionArticlesThe Nginx version is exposed by default. Hide it.Systems · 5 min read
Customizing Tab Titles in Oh My Zsh (terminal-profile)NotesAdding custom titles to your terminal tabs when using Oh My Zsh with terminal-profile.Development · 2 min read
Custom Validation Errors in FastAPI with PydanticArticlesLearn how to customize validation errors in FastAPI with PydanticDevelopment · 5 min read
Finding the services companies use via their TXT recordsArticlesHow to use a company's TXT records to discover the products they use.Systems · 4 min read
Modifying LLM responses on the flyArticlesHow to modify LLM responses in Next.js to shape the response the way you wantDevelopment · 9 min read
Modal Routing in NextJSArticlesHow to route to a modal or a detail page in Next.js similar to the way Reddit and Instagram do it.Development · 6 min read
Restricting registrations only to specific users in DjangoArticlesOnly allowing registration to users with emails in an approved list of email providersDevelopment · 2 min read
Creating Different Admin Pages for Different Trusted Users in DjangoArticlesHow to Create Different Admin Pages for Different Trusted UsersDevelopment · 13 min read
Optimizing Queries in Django: Selecting Individual Fields using OnlyArticlesHow to optimize django queries by getting individual fields onlyDevelopment · 4 min read