Delete WordPress users with no posts by MySQL query

(4)

Back up your database regularly, and always before any upgrade. This query delete wordpress users (and they meta info) with no posts: This query select users with no posts: This query select users with no … Continue reading

Text language detection with php

(5)

Previously was Google Language API for language detection but it is now paid. I found an alternative way to detect the language of text using Text_LanguageDetect pear package with 52 supported languages. Here is lithuanian … Continue reading

CodeIgniter VS Zend Framework

Just made two simple empty CodeIgniter 2.0.3 and Zend Framework 1.11.11 applications to compare time elapsed for script execution. CodeIgniter about 0.01s and Zend Framework about 0.07s. CodeIgniter Wins.

Android geolocation application demo using PhoneGap, jQuery Mobile and Google Maps

(69)

This android geolocation application uses PhoneGap api for phone geo position and displays the phone position point on Google Maps. jQuery Mobile is used to display the page header, footer and content map. Page is … Continue reading

Alice: Madness Returns

Alice's parents were killed in a fire. Further only pain, suffering, loss of memory, emotional trauma and mental health clinic. After clinic Alice lives in a shelter for the mentally traumatized orphans. But hallucinations continue … Continue reading

Check if event exists on element

To check whether the event exists on element is possible with jQuery function date(). For example there is a form and if I need to bind an event submit() but before check submit event exists … Continue reading

Mediawiki 1.17.0 $wgSharedUploadDBname error

(1)

I tried Mediawiki 1.17.0 and set common database for all upload files by variable $wgSharedUploadDBname, and uploading file got warnings and fatal error. So if you need $wgSharedUploadDBname, it is better not to use Mediawiki … Continue reading

JQuery Mobile listview error calling method refresh

Made two pages on JQuery Mobile library, put on every page listview. Lists are dynamically generated. But notice if I call the refresh on the invisible list, an error is returned: Uncaught cannot call methods … Continue reading