"command to launch" > /dev/null 2>/dev/null &
Showing posts with label tip. Show all posts
Showing posts with label tip. Show all posts
Thursday, July 31, 2014
Saturday, April 12, 2014
CakePHP - Containable Behaviour in Models
Ejemplo básico haciendo el bind del comportamiento on the fly
$this->University->Behaviors->load('Containable');
$containArray = array( 'Course' => array( 'Group' => array( 'Studen' => array( 'Marks' ) ) ) );
$options = array( 'contain' => $containArray, 'conditions' => 'University.name = "Universidad de Sevilla"', );
$sevillaMarks = $this->University->find('all', $options);
Maravilloso add-on incluído en el Core de CakePHP que nos facilita la tarea de cuando las relaciones a buscar empiezan más allá de tercer nivel en profundidad.
http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
$this->University->Behaviors->load('Containable');
$containArray = array( 'Course' => array( 'Group' => array( 'Studen' => array( 'Marks' ) ) ) );
$options = array( 'contain' => $containArray, 'conditions' => 'University.name = "Universidad de Sevilla"', );
$sevillaMarks = $this->University->find('all', $options);
Maravilloso add-on incluído en el Core de CakePHP que nos facilita la tarea de cuando las relaciones a buscar empiezan más allá de tercer nivel en profundidad.
http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
Labels:
almendralejo,
cakephp,
tip
Location:
06200 Almendralejo, Badajoz, España
Thursday, March 20, 2014
Git Tip - Checkout to Remote Branch
Location:
Almendralejo, Badajoz, España
Thursday, January 16, 2014
OS X Terminal Tip: How to go to a custom position in the Terminal?
Alt + Click in position
vía: HackerNews
Useful conditions
- Edit a very long command and want to edit or fix a typo in the middle of the sentence.
- Go to the specific position when you are using nano
Labels:
console,
osx,
productivity,
tip
Location:
06200 Almendralejo, Badajoz, España
Thursday, November 28, 2013
Git Tip: Basic Tag Commands
Crear etiqueta
git tag v2.3.4 -m 'Added new Payment Methods'
Listar Etiquetas
git tag
Listar Etiquetas y Mensajes
git tag -l -n1
Ir al código de una etiqueta concreta
git checkout tags/v2.3.4
A partir de aquí imágenes de resultados y las referencias
Labels:
almendralejo,
beginner,
git,
tip
Location:
06200 Almendralejo, Badajoz, España
Tuesday, September 17, 2013
¡No me funciona 'localhost' en el emulador Android!
Wednesday, July 17, 2013
Evitar recargar Fixtures entre Tests en CakePHP
¿Se puede evitar la recarga de fixtures entre tests en CakePHP?
Respuesta larga: Valora si quieres hacer esto, si sigues con esa intención sigue leyendo...
Friday, March 29, 2013
Git Tip : Ignore changes in tracked file
Location:
06200 Almendralejo, Badajoz, España
Tuesday, December 4, 2012
WebDev Tip: Open IPv6 Address in Browsers
http://[::1]
http://[address]
Tested in: Chrome, Firefox, Safari.
Labels:
almendralejo,
en,
ipv6,
tip,
webdev
Location:
06200 Almendralejo, Badajoz, España
Sunday, November 18, 2012
Subscribe to:
Posts (Atom)
+14.09.28.png)