Setting up a well-organized directory structure for a PHP project
Certainly! Setting up a well-organized directory structure is essential for a PHP project. Here's a commonly used directory structure that can serve as a starting point
MySQL as smart JSON storage
MySQL as smart JSON storage I’ve been using this semi-relational, or SemiSQL, if you’d like, approach to SQL since around 2009. At first, I’d store the data as text or longtext types using PHP’s serialize() , but then I quickly moved to JSON . In late 2015, with MySQL 5.7.8,
Mount drive in linux and set auto-mount at boot
Before a user can access a file on a Unix-like machine, the file system on the device which contains the file needs to be mounted with the mount command. Guide to mount a drive in linux (deb/ubuntu) and set to auto-mount at boot
Bash tips
To rename all files in a directory from varies UpPerCase to lowercase: for FILENAME in *;do mv $FILENAME ${FILENAME,,};done To be continued...
10 Tips on Developing iOS 14 Widgets
Widgets have been one of the top features of iOS 14 during WWDC 2020, where the biggest change ever of iOS Home Screen has been unveiled. On the user point of view, they represent a new type of interaction, a new entry point for apps; on a technology point of view, they are a manifesto of the way
Flutter - Steps to setup simple Android Launch Screen
1. Create 4096x4096 image on https://pixlr.com/e/ or somwhere else 2. Use tool like https://apetools.webprofusion.com/#/tools/imagegorilla to generate full pack of drawable 3. On Android Studio, open Resource Manager ( View > Tool Windows > Resource Manager ) and add downloaded
Hosting multiple sites or applications using Docker and NGINX reverse proxy with Letsencrypt SSL
So I decided to rehost my homepage and a couple other web pages and apps on a new server. And since we’ve been using Docker and Compose for some projects at work, I thought, hey, this could be a neat clean setup for multiple apps hosted on a single machine without installing a ton of local
Air Passenger Rights in the USA: When Can You Get a Flight Compensation
Most airlines will offer a meal voucher for shorter delays, and hotel accommodation for overnight delays, yet the policies and their implementation varies. It is important to note that, unlike for cases of overbooking and flights in-and-out of Europe, US regulations do not require airlines to pay compensation when a flight is delayed or cancelled.
A great product
Here is the secret to success: have a great product. This is the only thing all great companies have in common. If you do not build a product users love you will eventually fail. Yet founders always look for some other trick. Startups are the point in your life when tricks stop working. A