Profile cover photo
Profile photo
rizvi iqubal
382 followers
382 followers
About
Communities and Collections
View all
Posts

Post has attachment
Run Apache As "Specific User" in Ubuntu
Access Below Command From Terminal sudo nano /etc/apache2/envvars Modify Below Lines export APACHE_RUN_USER=specific_user
export APACHE_RUN_GROUP=specific_user

Post has attachment
Convert Mysql Time Stamp To Formatted Date
Select DATE_FORMAT(FROM_UNIXTIME(`user.registration`), '%e %b %Y') AS 'date_formatted';

Post has attachment
Find The Distance Between Two Lat/Long using mysql functions
CREATE DEFINER=`root`@`localhost` FUNCTION `mm_calc_distance`(`lat1` double, `long1` double, `lat2` double, `long2` double) RETURNS double
BEGIN
DECLARE distance_in_km double;
SELECT
111.1111 *
DEGREES(ACOS(COS(RADIANS(lat1))...

Post has attachment

Post has attachment

Post has shared content

Post has attachment
Wait while more posts are being loaded