Please click below to be redirected!
http://blog.mdnsolutions.com/
Thanks!
Tudo a respeito do mundo PHP, MySQL, Frameworks e outros. Sem uma ordem específica.
$ \curl -L https://get.rvm.io | bash -s stable --ruby
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/Library/WebServer/Documents"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
<Directory /Users/<youruser>/Sites/vhOne>
AllowOverride All
</Directory>
DocumentRoot "/Users/<youruser>/Sites/vhOne"
ServerName vhOne.local
</VirtualHost>
127.0.0.1 vhOne.local
I hope it is userful. See ya around!$ wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_i386.deb
Instalando o mod_pagespeed desta forma um repositório do google será adicionado ao seu sistema automanticamente mantendo assim o módulo sempre atualizado. Caso você não deseje esse recurso basta apenas digitar o comando "touch /etc/default/mod-pagespeed" antes de instalar o pacote.
$ dpkg -i mod-pagespeed-*.deb
$ apt-get -f install
$ yum install at # if you do not already have 'at' installed
$ rpm -U mod-pagespeed-*.rpm
$query = Doctrine_Query::create()
->select('t1.*')
->from('entityName t1')
->where('t1.columnName is NULL');
$resultSet = $query->execute(array(), Doctrine::HYDRATE_ARRAY);
$dql = $entityManager->createQueryBuilder()
->select('t')
->from('ns:Entity', 't')
->where('t.columnName is NULL ');
$arrayOfData = $dql->getQuery()->execute();