##Twig Twig for : For loop and index helpers list
##Mopaboostrap Bundle Mopa BootstrapDocumentation
##Web Resources
- Bootstrap Components
- Font-Awesome Icons
- Glyph Search : Search for icons from Font Awesome, Glyphicons, IcoMoon, and Ionicons
server { | |
listen 80; | |
server_name mautic.somedomain.com; | |
root /usr/share/nginx/mautic; | |
index index.php; | |
access_log /var/log/nginx/mautic.access.log; | |
error_log /var/log/nginx/mautic.error.log; | |
server { | |
listen 80; | |
server_name __project_hosts__; | |
root __project_path__; | |
index index.php; | |
access_log /var/log/nginx/__project_name___project_dev.access.log; | |
error_log /var/log/nginx/__project_name___project_dev.error.log; | |
// this is the background code... | |
// listen for our browerAction to be clicked | |
chrome.browserAction.onClicked.addListener(function (tab) { | |
// for the current tab, inject the "inject.js" file & execute it | |
chrome.tabs.executeScript(tab.ib, { | |
file: 'inject.js' | |
}); | |
}); |
PS1='${debian_chroot:+($debian_chroot)}\u@www-nginx:\w\$ ' |
TMPDIR=$( mktemp -d 2>/dev/null ) | |
cd $TMPDIR | |
VERSION=5.3.29 #latest php released stable version in 5.3.X | |
wget http://in1.php.net/distributions/php-$VERSION.tar.bz2 | |
tar xvf php-$VERSION.tar.bz2 | |
cd php-$VERSION |
apt-get update && apt-get upgrade | |
sudo apt-get install libdate-manip-perl libterm-readkey-perl libterm-readkey-perl libdigest-hmac-perl libdigest-hmac-perl libdate-manip-perl libmail-imapclient-perl makepasswd rcs perl-doc git | |
cd /tmp | |
git clone git://github.com/imapsync/imapsync.git | |
cd imapsync | |
sh examples/install_modules_linux.sh | |
apt-get install build-essential | |
sh examples/install_modules_linux.sh |
#!/bin/bash | |
# add vhost for a new nginx project | |
# use like this : do_nginx_proxy_vhost subdir.example.com http://192.168.0.20:8080 | |
function do_nginx_new_vhost() { | |
[ -z $1 -o -z $2 -o "$3" ] && echo "Give name, path and hosts" && return | |
name=$1 | |
path=$2 |
git config --global core.excludesfile ~/work/.gitignore_global | |
Content of the .gitignore : | |
.idea |
##Twig Twig for : For loop and index helpers list
##Mopaboostrap Bundle Mopa BootstrapDocumentation
##Web Resources
Some of the links and tool we always need when doing Database Design with Symfony
$ php app/console doctrine:generate:entities Acme/StoreBundle/Entity/Product