Tag Archives: linux

SCALE 15x

Went to the SoCal Linux Expo today.  First time attending and it was pretty neat.  I went to the Reactor8 guys talks/workshop.  Didn’t know anything they were talking about at first but eventually got an idea of their talks.  Beginning … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Linux: upstart job

Made a newbie mistake on my aws server.  Started a node.js server as a user (node server.js &) and didn’t realize that after I logged out the node.js server would go down with it.  Once I set the node.js to … Continue reading

Posted in Linux | Tagged , | Leave a comment

Android AVD emulator not starting on Ubuntu

Ran into this error where the Android Emulator API 8 or 10 on Ubuntu 12.04 would not start. It just looks like it’s hanging there. The solution is this: in android-sdk you need to rename the libOpenglRender.so library. cd /path/to/android-sdk-linux/tools/lib … Continue reading

Posted in Android, Linux | Tagged , , , , , , | Leave a comment

Linux: opkg download package and then install

1. I suggest the first way because its better for packages with dependencies. To download package: # opkg –cache /path/to/save/folder –download-only install <package> To install off-line package: # opkg –cache /path/to/save/folder install <package> or Edit in /etc/opkg/opkg.conf (helpful if you … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Linux: diff two directory to create patch

diff -b -r -w <DIR1> <DIR2> -N  -x ‘*.o’ -x ‘*.cmd’ -x ‘*.builtin’ -x ‘*.order’ > g_ncm.patch The -N option copies into the .patch files that exists in only one of the directory. Option: `-b’ Ignore changes in amount of … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Linux: Buildroot

Man, I need Buildroot to only rebuild Qt. No sure how to do that. What I ended up doing was using the emptypackage config, add in the toolchain and then qt. Then have it make from there. Then to change … Continue reading

Posted in Linux, Qt | Tagged , , , | Leave a comment

Linux: Big Endian Little Endian test from command line

If it return 0, it’s Big Endian If it returns 1, it’s Little Endian Reference: http://serverfault.com/questions/163487/linux-how-to-tell-if-system-is-big-endian-or-little-endian  

Posted in Linux | Tagged , , | 2 Comments

Linux: Meld Diff Viewer

I’ve searched high and low for a usable GUI diff program for Linux. Think I found my answer with Meld Diff Viewer. It’s usable not as nice as WinMerge but easier and cleaner than other Linux ones I’ve tried. Two … Continue reading

Posted in Linux, Productivity | Tagged , , , , | Leave a comment

Linux Qt: Boxes demo gluPerspective

I was compiling the Linux Qt Demo: Boxes for Qt4.8.1 and ran into these errors. Here’s how I fixed them: /home/mfang/dev/QtSDK/Demos/4.7/boxes/qtbox.cpp:329: error: ‘gluPerspective’ was not declared in this scope In qtbox.cpp and scene.cpp add: #include “GL/glu.h” Explanation: According to the … Continue reading

Posted in Linux, troubleshooting | Tagged , , , , , , | Leave a comment

Linux: Finding OpenGL version

Had to look through lots of webpages for this for a pretty simple problem. All you need is this: glxinfo | grep version May need to install: sudo apt-get install mesa-utils Src: http://en.wikibooks.org/wiki/OpenGL_Programming/Installation/Linux

Posted in Linux | Tagged , , | 1 Comment