Add console to your path and copy the file console_autocomplete.sh to /home/$USER and add it to source
then run this
echo 'PATH="./app:./bin:$PATH"' >> ~/.bash_aliases
echo . ~/.console_autocomplete >> ~/.bash_aliases
<?php | |
namespace Core\MediaBundle\Form\Type; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Core\MediaBundle\Form\DataTransformer\EntityToIdentifierTransformer; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
var plot1 = $.jqplot('plotId', [data], { | |
seriesDefaults: { | |
renderer:$.jqplot.DonutRenderer, | |
rendererOptions:{ | |
highlightMouseDown : false, | |
highlightMouseOver: true, | |
sliceMargin: 0, | |
innerDiameter: 165, | |
startAngle: -90, | |
shadow: false |
#!/bin/sh | |
echo "### Mise | jour de la préprod ###" | |
echo "##################################" | |
echo "déploiement d'une branche de release" | |
echo "##################################" | |
echo "Branche ou Tag ?" | |
read answer |
# Regarde toutes les URLS appellées : | |
grep -a access.log |awk '{print $8}'| sort |uniq -c | sort -rn | |
# Regarde toutes les URLS appellées pour le sous domaine widgets | |
grep -a access.log -e ^widget.tournikoti.com |awk '{print $8}'| sort |uniq -c | sort -rn |
#!/bin/sh | |
echo "### Mise | jour de la préprod ###" | |
echo "##################################" | |
echo "Indiquez le nom de la version (Ex : 0.6)" | |
read CURRENT_VERSION | |
svn sw https://cronos.stadline.com/repos/iepeiv2/tags/$CURRENT_VERSION ./current | |
echo "### Export ###" |
uasort( | |
$returnArray, | |
function ($a, $b) { | |
return $a["total"] < $b["total"] ? 1 : -1; | |
} | |
); |