Skip to Content

develCuy's blog

by Fernando Paredes García


Linux

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 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


EXA, XAA, Xorg and Firefox memory leak

One month ago I was experiencing memory leaks with Firefox.
I did a fast check with "top" command and seen that when Firefox was running it started to overcharge Xorg, making it to use more and more CPU and Memory resources, near 95%!!!!!!!!
So I've decided to use Opera. That was a nice experience to use that super-fast browser. The problem is that Firefox is a key tool for my working day (I'm web developer).
Today I've launched Opera from the command line, and noticed this warning:
"opera: X Shared memory extension is not available. ZPixmap not supported"


Access Visual Foxpro Tables(Vfp Dbf) from Linux

It is one of my first posts in english(recovered from: http://www.linuxforum.com/forums/index.php/topic,137025.0.html): I don't know if it is new, but today, alfer a large week of intensive research, finally i had discover a way to access visual foxpro databases directly from linux. What do you need? download, compile and install CLIP from http://sourceforge.net/projects/clip-itk/ then put the vfp table into the same directory of the next script:

file: testdbf.prg

use dbftable
list columnname


GLX fix for i915, benefits for OpenGL applications on many Intel Graphics chipsets

Today I decided to upgrade my debian(leny) box. The process was a classic/easy:

# apt-get dist-upgrade

Then I restarted my computer and Oh! my God!!! there seems to be something diferent, my hearth speed up and then I decided to test compiz-fusion.... Great! this is finally working!!!

Please forgive me, I've forget to explain that I use a relative old HP laptop: Compaq nx9030, that comes with i915 compatible Intel Graphics chipset:

# lspci


How to fix: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout (Debian/lenny)

Finally I got some hours to rest and play my guitar. Then I opened my xterm and tried to run tuxguitar(to practice: ysellamaperu.mid from "El Rincón Musical Peruano") but.... There is a terrible and poor in expression "bug":


Safari on Linux? Yes! but terrible!!

One day after Safari's launch, Wine team was able to run Safari for Windows XP/Vista, look at this screenshot. As an alternative you can try Konqueror (that uses WebCore based on KHTML) or, until they fix wine to get Safari running OK, try with BrowsrCamp. Anyway, now web developers(me too!) have to test AJAX under Internet Explorer, Firefox, Opera and Safari!!! r_r Blessings!

HOWTO install DBDesigner4 on Ubuntu

1. download from http://www.fabforce.net/ I get DBDesigner4-0.5.4-0.i586.rpm

2. apt-get install rpm alien

3. alien --to-deb DBDesigner4-0.5.4-0.i586.rpm you must get a file: dbdesigner4_0.5.4-1_i386.deb

4. dpkg -i dbdesigner4_0.5.4-1_i386.deb

5. fix missing simlinks ln -s /usr/lib/DBDesigner4/libsqlmy.so /usr/lib/

6. from http://cesar.plug.org.ve/?p=41 :

wget http://www.silcom.com.pe/soft/xlibs_6.8.2-77_all.de

sudo dpkg -i xlibs_6.8.2-77_all.deb



Syndicate content