PHP: How to extract string between 2 words phptuts December 13, 2012 How to extract string between two words. How to parse a string between two strings. We offer 3 functions to obtain a string delimited between… Continue Reading
PHP: How to determine the center of a Polygon phptuts December 12, 2012 How to determine the center of a Polygon. Read first: PHP: How to calculate signed area of a Polygon Method 1: Result: array(2) { [0]=>… Continue Reading
PHP: How to check if polygon is concave or convex? phptuts December 12, 2012 How to check if polygon is concave or convex? Note: It is assumed that the polygon is simple (does not intersect itself or have holes)… Continue Reading
PHP: How to check if the vertices of polygon are in clockwise or counter-clockwise order? phptuts December 12, 2012 How to check if the vertices of polygon are in clockwise or counter-clockwise order? There are many of method to check this. We offer some… Continue Reading
PHP: How to calculate signed area of a Polygon phptuts December 12, 2012 Calculating the signed area for an polygon can be found when you know the coordinates of the vertices. We offer 3 methods below: Method 1:… Continue Reading
How to install mytop phptuts November 1, 2012 mytop is a ‘top’ clone for MySQL. mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of MySQL 3.22.x, 3.23.x, and… Continue Reading
LXAdmin: Change the LXAdmin password phptuts November 1, 2012 If you’ve forgotten your LXAdmin ‘admin’ password, you can change it by taking the following steps: 1. Connect to your VPS via ssh: Use Bitvise… Continue Reading
Google Maps JavaScript API v3: method Polygon.getBounds phptuts October 1, 2012 In Google Maps JavaScript API v2, Polygon had a getBounds() method, but that doesn’t exist for v3 Polygon. Here’s the solution: Here, we present a… Continue Reading
Google Maps JavaScript API v3: method Polyline.getBounds phptuts October 1, 2012 In Google Maps JavaScript API v2, Polyline had a getBounds() method, but that doesn’t exist for v3 Polyline. I wrote some methods below: Method 1:… Continue Reading
PHP: detect Point in Polygon phptuts September 30, 2012 PHP function to detect Point in Polygon: Test for convex polygon: Result: IN OUT Test for concave polygon: Result: OUT IN OUT Note: we only… Continue Reading