Category Tech and IT

Set of commands for a quick Laravel install on RedHat 7.3

If you want to install Laravel on a RedHat 7.3 OS, you will have to use PHP 7.0.* as this is a Laravel minimum requirement, so this is the set of commands that I used in order to configure the needed software for Laravel. ( you can also download the set of commands as a text file below).

Also, I would like to mention that I generally prefer Nginx over Apache, and HTTPS obviously, but this is just a quick setup.

Commands:

#--- AutoStart network interface nmtui #--- Open FireWall 80 firewall-cmd ...
View full article

PHP 7.0.24 Curl Bug on Windows

As you probably know running PHP on Windows is a bad idea as you can get into a plethora of problems even for a simple development setup but, when you want to test a quick script or you just want to write maybe a solution to an algorithmic problem found on some type of programmer improvement site that accepts solutions in PHP you can use of course some prebuild windows binaries from windows.php.net. Anyway, the main gist of this mini-post is that I found a recurring bug with the CURL library, th... View full article

Ionic 2 overwrite back button function my way

I guess that most APP developers would not prefer a crude exit of their APP when the back button was pressed, and as you may already know using ionic you can register a callback on the back button pressed event. That is pretty straightforward, but what comes in the registered callback is mostly a matter of preference, but nevertheless, this method that I lately used works on the newest 3.1.1 Ionic version.
I will explain in just two phrases, what is the expected behavior:

The first thing that it...

View full article

How to implement a CAPTCHA for Google Forms

Is it possible to make a random captcha for a google form? You may search and find on google groups and other sources a hard no to this question but, in fact, there is one method that I made that works pretty well. Unfortunately, there are some catches with the method that I am about to show you, but until we get to that, we first have to ensure that we can meet a requirement that this method has.  This primary requirement is an URL/server that can generate dynamically a captcha image fro...

View full article