All posts by Nisipeanu Mihai

MySQL: Select today, yesterday or day before yesterday records

Usually when you work with records where a date or time-stamp field is present you need to select records from: today records yesterday records day before yesterday records Lets say

Continue reading

How to restart an Activity on Android (Java)

Using the function bellow in a activity class you can restart the current activity.

Android: Load array of Strings from Resources

It is remanded to keep your strings in xml resources, but how do you get them as a String[] ?

Unable to find the wrapper “https”

Today I had to put a simple script on one of my hosting server where a “Facebook Login” button was available for login. However when I had to run it

Continue reading

“Progress bar” for long running cron scripts in PHP

Long running scripts can be a pain if you don’t know how much will be running. If you need to see a progress and flush() or ob_flush() do not work

Continue reading

Neural Networks in PHP

Browsing phpclasses.org I had found a very interesting article Neural Networks in PHP . For anyone who don’t know yet “Neural networks allow emulating the behavior of a human brain

Continue reading