Django AWS s3 enable file_overwrite only for some files
Here’s a conundrum: what if I want most files to not overwrite in S3, but I want some specific files to be unique and keep …
Here’s a conundrum: what if I want most files to not overwrite in S3, but I want some specific files to be unique and keep …
Since iPhone 8, a new image format has been around. HEIC files are unfortunately not supported by many frontend tools. While some solutions have been …
The previous post covered image file optimisation to AWS S3, using Django/Python. But a lot of frontend editors will only give us the image as …
Image uploads are problematic to store if the files are too big. Our requirements in this case were: convert uploaded images to JPG before upload …
Here is a neat trick for Python numeric values: you can improve readability of large numbers by using underscores as separators, like this: caption taken …
Image: infinite realities nexus point by TellOfVisions Let’s say we have an entity nexus point, i.e. many other entities that have o2m relations to the …
Usain Bolt, famous sprinter. If he were a programmer, he’d definitely be a sprintf-er. I’ve seen many developers steer clear of the sprintf function. In …
How do we keep a readable and manageable .gitignore in a team of many members? The following solution takes advantage of the 3 different files where …
I’m embarrassed to have only found out about this cool gimmick. Using the command line, when you cd to a given path, you can always …
Just like my previous article on the meaning of COALESCE, the following problem is one of those brain teasers that keeps developers busy for a …