Skip to Content

develCuy's blog

by Fernando Paredes García


COMO ...

Cómo programar el Control Remoto Universal Westminster BT-400

Instrucciones

Tal cual comentó Sinclair Flodoardo en slog.com:

"Por fin pude programar mi control remoto [WM] Westminster BT-400 para TV de marca LG, se debe hacer lo siguiente: presionar el botón CODE SEARCH hasta que parpadee [o se encienda] el indicador [es decir la luz roja], luego presionar el botón TV hasta que parpadee el indicador, y por ultimo colocar el cóodigo de 3 dígitos: 004, 005, 006, 156, 172, en mi caso solo me bastó con el primer codigo, el 004, luego presionar el boton de apagado-encendido (OFF-ON) y listo. Ahora puedo ver plácidamente desde mi cama el canal deseado. Saludos."


HOWTO phplua + PHP 5.2 on Ubuntu

Lua is an embeddable scripting language. If you are trying to embed it in PHP follow this instructions that may help you:

$ sudo apt-get install phpize liblua5.1-0-dev 
$ git clone git://repo.or.cz/phplua.git src
$ cd src/
$ phpize
$ ./configure

At this point you are almost done, BUT please edit the file Makefile and change the line:

LUA_SHARED_LIBADD = -llua

by:

LUA_SHARED_LIBADD = -llua5.1

Then is time to finish cooking:

$ make
$ sudo make install

Almost done, do a test:

<

pre>
$ make tests #all will fail, that is fine by now


HOWTO Apache 2 + Lua 5.1 + FastCGI in Ubuntu

Install basement

$ sudo apt-get install apache2-mpm-worker liblua5.1-0-dev
$ sudo apt-get install libfcgi-dev libapache2-mod-fcgid

Install Luarocks

Download latest version from: http://luarocks.org/releases/, extract it, open a terminal and do a "cd" into its directory, then:

$ ./configure --with-lua-include=/usr/include/lua5.1/
$ make
$ sudo make install

Install WSAPI

$ sudo luarocks install wsapi-fcgi

Configure Apache


HOWTO recordmydesktop+jack in Ubuntu Karmic

If you are an screencaster, for sure you know that there are not much options to grab your desktop + microphone at the same time. Perhaps you have tried some java programs, or simply switched back to windows and used a virtual machine. Too complicated!

Hopefully, there is still an opportunity: recordmydesktop+jack. I will not describe how to install jack here, sorry, google is your friend :)
But once you have jack up & running, do the following:

Download sources
$ apt-get source recordmydesktop

Install development dependencies
$ sudo apt-get build-dep


Tips de supervivencia para empezar a usar la XO de OLPC

Todo empezó con las actividades de mi tesis, en las que incluí realizar pruebas en equipos de bajo rendimiento para tener una aproximación realística a los resultados de mejorar el rendimiento de Drupal. Es simplemente saber "como se siente".


COMO instalar WebDeveloper en Windows XP (sin reiniciar)

Un buen servidor de aplicaciones web WAMP no es fácil de identificar. Pero definitivamente, WebDeveloper es una buena alternativa, y en el caso de usuarios inexpertos que quieran probar Drupal en Windows es muy viable, porque incluye Drupal 5.3 listo para usar.

El Problema

Hoy decidí probarlo en un computadora victima de DeepFreeze, lo cual me impide instalar software que necesite reiniciar para completar el proceso. WebDeveloper se portó muy bien, pero hacía falta reniciar Windows, de otra forma PHP no puede "ver" las librerias de MySQL, cual es la solución?


Cómo Instalar SK1 en Debian Sid

Sí, todavía estoy vivo y trabajando en SLPOR 2008, razón por la cual tengo problemas editando el diseño del banner donado por Proyect-One el cual estaba en AI.
Probé varios programas, incluido SK1 pero tuve algunos lios, aquí cómo instalarlo en Debian Sid:
$ sudo apt-get install tk8.5 tcl8.5 python-liblcms zenity python2.4
$ sed "s/python /python2.4/ " /usr/bin/sk1 > /tmp/sk1 && sudo mv /tmp/sk1 /usr/bin
$ rm -rf /tmp/sk1 && sudo chmod 755 /usr/bin/sk1


Accesar tablas de Visual Foxpro (Vfp Dbf) desde Linux

Este es uno de mis primeros mensajes en inglés(recuperado desde: http://www.linuxforum.com/forums/index.php/topic,137025.0.html): No se si esto es nuevo, pero hoy, después de una larga semana de investigación intensiva, finalmente descubrí una forma de accesar las bases de datos de visual foxpro directamente desde Linux. Que necesita? descargar, compilar e instalar CLIP desde http://sourceforge.net/projects/clip-itk/, luego poner la tabla vfp en el mismo directorio que el sgte. script:

file: testdbf.prg

use dbftable
list columnname


HOWTO Screencasting from console with sox and ffmpeg

I'm consternated with my Debian sid, I can't capture my screen with xvidcap or istanbul anymore, marvil told me that they work in Ubuntu, why not in Debian?

It was a pain the ass to research for a good an usable solution for me, because I have an old laptop CPU(Centrino 1.8Ghz), but 2 weeks later, here is the best solution I found at the moment. Sox is a "Swiss army knife of sound processing" with sound recording capabilities and ffmpeg is a "multimedia player, server and encoder" with screen capture capabilities.

Screencast: Howto install Fivestar Multiaxis and Karma hand up&down

Video thumbnail. Click to play
Click to Play
Video only demonstration. References: http://drupal.org/node/213967#comment-743009 http://drupal.org/node/211803#comment-742985


Distribuir contenido