You woke up one day and your Android phone contacts disappeared. You try to perform a Google Search but you only find strange solutions, mostly related to some Samsung stuff, factory resets, uninstalling some app, etc… Suddenly you realise that your Google Contacts was empty! Ok, too much context, the solution. Open your browser to … Continue Reading
Node, body-parser and Shopify webhooks verification
Introduction: Node + express + body-parser + Shopify? Are you using Node/express/body-parser and Shopify, and (you would like to use) its webhooks? If the answer is YES to the questions above, I am going to suggest here a way to solve a common problem. NOTE: This and much more is covered in the Coding Shopify webhooks and API usage: a … Continue Reading
Exploring Firebase CLI with some Firestore tips
Introduction: Firebase CLI According to the github page of the firebase-tools project, the firebase cli can be used to: Deploy code and assets to your Firebase projects Run a local web server for your Firebase Hosting site Interact with data in your Firebase database Import/Export users into/from Firebase Auth The web console is fine for … Continue Reading
Handling execution time for PHP (FPM)
The problem: setting max_execution_time / using set_time_limit() I don’t get the wanted results If you are here, you are probably looking for an answer to the question: why set_time_limit() is not working properly and the script is killed before? or why ini_set(‘max_execution_time’, X), is not working properly and the script is killed before? The answer is not exactly … Continue Reading
jQuery selects combination and submit
I had to help a friend solving a very common problem for, for example, booking websites. The example is basically the selection of options based on two <select>s elements: number of adults and number of children for a possible booking. So, what we are going to do is to create a very simple HTML with … Continue Reading
Remote Debugging Android Devices with VirtualBox through port forwarding
Introduction If you are developing a brand new project on your VirtualBox instance, it is very useful to use the developer tools and the device toolbar on Chrome (or the Responsive Design Mode on Safari). But is of course much more useful to perform real tests on real devices. The Remote Debugging Android Devices is a great opportunity for … Continue Reading