A Common Man in India

A common man in an uncommon world…..

Setting priority to tasks in Ubuntu / Linux

leave a comment »

Giving priorities to a task in Ubuntu/Linux

Using “nice” command.
-10 is highest priority
+9 is the lowest priority
0  is the normal priory at which all your tasks will be running; system level tasks run at high priority such as -5
Eg:
nice -n -4 ffmpeg_audio -ss $start_time -t $duration -i $infile -vn -acodec libfaac -ar $SAMPLINGRATE -ab $ABITRATE -ac $CHANNELS -f adts -y ->audiofifo${core}  &
Learn Linux, Share Linux ;)

Written by valluryphani

July 24, 2009 at 6:13 am

Posted in Technical

“|” unrecognised error with QProcess in Qt – Solved

leave a comment »

In Qt, QProcess does not recognise the “|” ( pipe ) symbol when the
process is started. We can solve this by doing like this in linux.
In windows, i am sorry i do not have an answer.
Before starting the QProcess ( say for example proc ) ;
proc->start(“your process name here”), open a file and send the
whole command string to that file ( for example open a file called cmd.sh
and send the command string to cmd.sh) and then start your process as
proc->start(“bash cmd.sh”). This will not produce an error “|” unrecognised
and complete the process because it is a shell script.

*( Normally we use system when | does not work with QProcess, but the problem
here is using system, we can not connect a slot for ProgressBar or Progress-
Bar dialog. So by doing running the process as a script now we can connect
the slot of progress bar. :-) ).

** If any better solutions than the above, please mail to ramvvs@gmail.com.

Written by valluryphani

July 8, 2009 at 8:50 am

Posted in Qt Programming.

Vim – auto-completion feature

leave a comment »

For all the C programmers using vim – editor,
On highlight syntax using the command ” :syntax on “.

and also auto-completion can be found using “ctags”. ubuntu users can install it using the command ” sudo apt-get install ctags”.

and while programming, type “Ctrl+N” to on the auto-completion where ever it is necessary. :)

Happy Programming.
Learn Linux, Share Linux :)

Written by valluryphani

July 7, 2009 at 6:38 am

Posted in Technical

Everything about “Makefile”

leave a comment »

A good article on makefile HowTo’s

http://www.d.umn.edu/~gshute/make/home.html

Learn Linux, Share Linux :)

Written by valluryphani

June 16, 2009 at 5:55 am

Posted in Technical

For Kubuntu Fans…

leave a comment »

K-Jaunty 9.04 is out in the wild now… :)
www.kubuntu.org

Learn Linux, Share Linux :)

Written by valluryphani

May 18, 2009 at 9:40 am

Posted in Uncategorized

Tagged with ,

Alphabets from Google Earth

leave a comment »

Simply Superb !!
http://rhettdashwood.com.au/#16575

Written by valluryphani

April 30, 2009 at 5:17 pm

Posted in Uncategorized

Be a App Creator with Zembly

leave a comment »

zembly is a new kind of application development environment that lends the power of the crowd to you, so you can do more, faster. It’s kind of like a wiki, but for applications. Here’s how it works:

http://zembly.com/ui/about#what

zembly is from Sun Microsystems

Sun Microsystems, Inc. is a pioneer and key innovator in just about everything related to the Internet and the modern computer. Over two decades ago, Sun’s motto, “The Network is the Computer”, foreshadowed the advent of today’s cloud computing movement.

We like to say that zembly is the development environment for Sun’s bold vision—an application development environment that not only targets the web as its native platform, but uses cutting-edge web innovations such as web services, social networking, and Web 2.0, to change the way applications are built, deployed, scaled, and delivered to where users congregate.

Written by valluryphani

April 25, 2009 at 7:33 am

Posted in Uncategorized

GUI with OpenCV and Qt

leave a comment »

A small tutorial on how to design GUI for OpenCV projects with QtCreator.

http://sites.google.com/site/techgeekorg/opencv_qt

Learn Linux, Share Linux :)

Written by valluryphani

April 15, 2009 at 8:51 am

Posted in Technical

Tagged with , ,

From my Pages

leave a comment »

A lot to convey about terminal !!

There is no subsitute for commandline... they get you what you want
exactly!

Share Linux, Learn Linux :) 

Written by valluryphani

April 8, 2009 at 9:10 am

Ubuntu-restricted-extras offline installer

with one comment

Cool Link for downloading the restricted packages in ubunutu.
Download and install

http://hacktolive.org/wiki/Ureoi

Share Linux, Learn Linux :)

Written by valluryphani

April 7, 2009 at 5:33 am

Posted in Technical