Skip to Content

develCuy's blog

by Fernando Paredes García


Ubuntu

Howto install Titanium Appcelerator in Ubuntu 10.04

UPDATE 2011-07-19: Following instructions also work with Ubuntu 11.04 Natty Narwhal.

Programming for mobile in Linux was a pain in the neck 6 years ago and it is still a pain in 2011. The following articles may help you in your journey:

  1. http://dalibornasevic.com/posts/14-how-to-install-titanium-and-android-s...
  2. http://developer.appcelerator.com/question/118186/kitchen-sink-not-worki...
  3. http://developer.appcelerator.com/question/35751/error-failed-installing...

If you survive let me know :)


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



Seamonkey / IceApe y Session Manager

Realmente me gusta Firefox y familia(Swiftweasel / Iceweasel), para mi trabajo y uso personal, porque son mis herramientas clave(soy desarrollador y themer Drupal) pero me estresan mucho porque algunas veces pueden consumir todos mis recursos junto a mi servidor web local: Apache, MySQL y PostgreSQL, por eso uso una alternativa ligera: Iceape(versión de Seamonkey en Debian).

HOWTO Debian(testing) to Ubuntu(dapper) Know Bugs

Problem 001:
Can't get Non-US Keymap in X
1. Checking:
/etc/X11/xorg.conf
Option "XkbLayout" "es"
/var/log/Xorg.0.log:
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap


HOWTO Debian(testing) to Ubuntu(dapper)

BEFORE ANYTHING
This is not for begginers!!! follow up if you know exactly what you are doing.
GO TO WORK
A. LIBC6
1. Get following files or equivalent:



Distribuir contenido