Open Source

interesting jQuery alternative – laroux.js

interesting jQuery alternative – laroux.js

If we are talking about jQuery alternatives there is not much on the market. With age jQuery put a little bit on weight, not mentioning it’s speed. If we are talking about weight and speed we have Zepto.js and… we can use pure JavaScript which isn’t especially convenient in larger  projects. But definitely it’s much more but… it’s faster.

PHP 5.4.x on CentOS 6.5

PHP 5.4.x on CentOS 6.5

Quick copy and paste list of commands to get PHP 5.4 on CentOS boxes

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Enable remi repo

sudo nano /etc/yum.repos.d/remi.repo

Update

sudo yum update
sudo yum info php
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.optus.net
 * epel: fedora.mirror.serversaustralia.com.au
 * extras: ftp.swin.edu.au
 * remi: remi.kazukioishi.net
 * updates: ftp.swin.edu.au
Available Packages
Name        : php
Arch        : x86_64
Version     : 5.4.33
Release     : 2.el6.remi
Size        : 2.7 M
Repo        : remi

done…

How to manage logs

How to manage logs

Capturing and storing longs it’s bit painful task. It’s not so bad if you are running one application on one server, but if you go with multiple servers, or just don’t want to “login” to check logs – you have to go with remote logging tools. I know only 2 and didn’t look for more. First of them is tool called Sentry  second one is LogEntries .