Monthly Archives: June 2013

yum priorities override

you can override yum priorities by using enablerepo to force a yum rpm repo with a lower (higher value) priority to be included for example if epel priority=10 and remi priority=20 you can include packages from the remi yum repo with

# yum check-update --enablerepo=remi

oracle #gnu/#linux 6 #php 5.4 yum repos

oracle #gnu/#linux 6 (& centos 6 & red hat 6) #php 5.4 is available in yum repos provided by remi and webtatic

#mysql #unixtime quirk unixtime(123) = 01:02:03

#mysql #unixtime quirk unixtime(123) = 01:02:03

mysql> select from_unixtime(0);
+---------------------+
| from_unixtime(0)    |
+---------------------+
| 1970-01-01 01:00:00 |
+---------------------+
1 row in set (0.00 sec)


mysql> select from_unixtime(123);
+---------------------+
| from_unixtime(123)  |
+---------------------+
| 1970-01-01 01:02:03 |
+---------------------+
1 row in set (0.01 sec)

#sitepoint #webdev #html5 development centre

the sitepoint webdev html5 development centre http://www.sitepoint.com/tag/html5-dev-center/ contains some useful html 5 tutorials such as