Mar 8, 2014

Installing RHEL EPEL Repo on Centos 5.x or 6.x

[ CentOS 5.x ]
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
sudo rpm -Uvh epel-release-5*.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm


[ CentOS 6.x ]
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm



remi repo is disabled by default, don't forget to enable it!

Feb 22, 2014

Some stupid keywords....

mod_vhost_alias

git archive

find -regex -exec

$EUID

yum --enablerepo=repo,repo,repo --disablerepo=repo,repo,repo --nogpgcheck

Feb 21, 2014

Yum temporarily disable Key check

yum install --nogpgcheck XXXXXXXXX

Feb 19, 2014

Remove app from Security & Privacy -> Accessibility

sudo sqlite3 /Library/Application\ Support/com.apple.TCC/Tcc.db 'delete from access where client like "%appnamehere%"'

Replace "appnamehere" with the name of the app as it appears in the Accessibility list (keep the % signs).

That's all...

Jan 29, 2014

HTML Vertical Align Middle Techinque

I've been encounter some critical layout structure requirements - Vertical Align Middle.
Luckily, I found a solution on 

In case that I'll need them in the future, I decide to leave myself some breadcrumbs here...

Here's the final example in jsFiddle.
And here's the referenced original post.

And the followings are contents in jsFiddle...