This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# vim:sts=4:sw=4 | |
/* | |
* Feel free to improve it. | |
* Original by Janich: https://gist.github.com/janich/6121771 | |
* | |
* @requires PHP 5.3+ MySQL 5.6+ | |
* @package ExportMySQLUsers | |
* @author Zaid Daba'een | |
* @license http://www.dbad-license.org/ DBAD license |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | |
sudo yum install -y apache-maven | |
mvn --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function YOURTHEMENAME_breadcrumb($variables) { | |
$breadcrumb = $variables['breadcrumb']; | |
$crumbs = ''; | |
$sep = ' > '; | |
if (!empty($breadcrumb)) { | |
$crumbs = '<div id="breadcrumbs">'; | |
foreach ($breadcrumb as $value) { | |
$crumbs .= $value . $sep; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set git autocompletion and PS1 integration | |
if [ -f /usr/share/doc/git-1.7.7.6/contrib/completion/git-completion.bash ]; then | |
. /usr/share/doc/git-1.7.7.6/contrib/completion/git-completion.bash | |
fi | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' |