Nacho Martín

Blog about Symfony and more…

  • HOME

Archive for February, 2010

Grabar lo que está sonando (con pulseaudio)

  • February 24th, 2010
  • Posted in linux

A veces interesa grabar en un fichero lo que está sonoando. Por ejemplo, yo me grabo una sesión de spotify para oirla cuando voy a correr. Aquí está el cómo hacerlo en Linux con pulseaudio: Encontré este script que explicaba cómo hacerlo, pero no me iba por tener el sistema en español. Un par de [ READ MORE ]

Forcing a javascript file to be loaded at the end in symfony

  • February 23rd, 2010
  • Posted in symfony

Very often, we  want javascript files to be loaded after another. For instance, you may your files containing jquery functions to be loaded after the main jquery.js file to avoid the typical error: $ is not defined use_javascript (and addJavascript) accepts a ‘position’ parameter to deal with this. Position can be ‘first’ or ‘last’. For instance: <?php use_javascript('file-you-want-to-load-at-the-end.js', [ READ MORE ]

My projects

  • list&check
  • Makoondi
  • Trecetas
Rss feed

Twitter

Blogroll

  • David Castelló
  • Iván de Benito
  • Javier López

Categories

  • analytics (1)
  • diem (1)
  • git (1)
  • linux (3)
  • ruby (1)
  • symfony (13)
  • webdev (1)

Archives

  • September 2010 (1)
  • July 2010 (1)
  • May 2010 (4)
  • March 2010 (1)
  • February 2010 (2)
  • January 2010 (1)
  • December 2009 (1)
  • November 2009 (1)
  • October 2009 (6)
  • September 2009 (1)
  • Copyright ©  2009-2010  Nacho Martín
  • Theme designed by mono-lab
  • Powered by WordPress