ubuntu

How to add Solr PECL extension into lampp (xampp) stack

Is it possible to add PECL extensions into a lampp stack? If so, how can it be done? I am specifically interested in http://www.php.net/manual/en/book.solr.php extension. EDIT: when installing this extension using: /opt/lampp/bin/pecl install -f solr everything seams to go as it should except at the end: checking for cURL support...

How to programmatically invert screen colors in Linux

In Ubuntu, for example, you can use Super-M to invert the screen colors (requires desktop effects, see [1]). Other OSes have similar abilities, although I'm not really concerned with anything other than Linux. Which API should I look into if I want to write a simple program that, when run, inverts the screen colors? The language that I...

Bind Address and Mysql Server

Hi all, I came across the bind address while trying to configure the mysql server. The details of why I want to configure the bind address is in the link below. http://stackoverflow.com/questions/3540051/multiple-hostnames-and-multiple-privileges Now, I wan to understand the purpose of the bind address. In the sense, is a bindi...

VLC from source Ubuntu Lucid

hey guys i'm getting and error when compile VLC from source using ubuntu lucid configure: error: Could not find libavcodec or libavutil. I have isntall both of the -dev packages for the requeired libs but still get the same error ...

Light Weight File System

I am trying to develop my own version of ubuntu to use in a real time system that will display parameters of your vehicle. Capabilities of the system, no media, logging of vehicle metric will take place, script that update application and interface files from flash drive and main application. Would a lightweight file system free up res...

No Project to Select for Build Target in Android Test Project

I followed the instruction for "Hello, Testing" tutorial but could not found any project to select for build target at this instruction "Test Target: Set "An existing Android project", click Browse, and then select "HelloAndroid" from the list of projects." Ok, let type the location of an existing project: ~/workspace/HelloAndroid, the ...

how to have login in WebSVN

Hi All, Can some one tell me how to do I enable LOGIN function for WebSVN in Ubuntu 9.1? I was tasked to create a SVN for my team, and the following is one of the link i followed which helped me successfully setup my first repos. http://agilior.pt/blogs/pedro.rainho/archive/2010/02/06/11698.aspx But after installing WebSVN, i can see...

How to set proxy authentication type as "digest" in the terminal?

Hi, I'm using Ubuntu 10.04 LTS. I have my institution running a squid proxy server, only that the authentication mechanism is digest mode. How do I set this in the terminal? If I say "export http_proxy=http://user:passwd@proxy:port", it gives me an error "407 Proxy Authentication Required". Why is this so? I'm guessing it is because th...

A good Linux based text editor, with FTP editing, and ability to keep alive ftp connection.

I need a text editor for linux with the following features: Syntax Highlighting for PHP, Javascript (most have these) Autocompletion of braces, parenthesis, and Most important of all, editing via FTP. Even more important of all, have a 'keep alive' function when editing via ftp. I have a not so fast internet connection and many editor...

In C (Linux) how will I be able to find out whether squareroot(n) = Integer

In C (linux) how will I be able to find out if the squareroot of a number is and integer or a floating point. I want to write a program using a function pointer which adds up all the Perfect squares upto the limit sepcified. ...

Mercurial http interface under Ubuntu Hardy. Doesn't work

Hello, I am trying to deploy mercurial under Ubuntu 8.04. Mercurial packages were installed correctly, but when I've configured http interface I always get 500 error. I enabled outputting debug info to error.log and got: mod_wsgi (pid=21159): Exception occurred within WSGI script '/home/hg/rep/hgwebdir.wsgi'. Traceback (most recent ca...

Can't run "gem list"!

I get an error when i run: vagrant@vagrantup:~$ sudo gem list ERROR: Loading command: list (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::ListCommand Even if I don't use sudo I get the same error message. It's on Ubuntu 10.4 and I have installed zlib...

What is the best Linux distro for System Programming?

I want to work with low level system programming and virtualization for my research. I tried Ubuntu 10.04 + Xen 4.0.0 but they weren't going quite well right from the installation. One of my friends suggested to take up Gentoo. Any more suggestions? ...

Assembly - Array (Linux)

In assembly how do i Print the values of an Array? Now in this program I also have to print its values < Index entered in by the user. .intel_syntax noprefix .include "console.i" .data index: .long 0 array: .long 1,2,3,4,5,6,7,8,9,10,11,12 # Array initialized value: .long 0 .text ask1: .asciz "Enter an...

Programming with C/C++ in Ubuntu linux

How to display beginning sector of each partition in ubuntu ?like in windows there is an API to call disk structure in c/C++ .. any suggestions will be help full. ...

ubuntu - sudo apt-get install build-essential fails

I'm trying to update my gcc, so Linux Forums recommended that I run sudo apt-get install build-essential. Here's the output when I try to run sudo apt-get install build-essential: The following packages have unmet dependencies: bunch of packages listed here E: Unmet dependencies. Try 'apt-get -f install' with no pack...

The "dev" suffix in package names?

When using apt-get I see some packages have a "dev" suffix after their names: libreadline5 libreadline-dev zlib1g zlib1g-dev What are these exactly and should I install them? ...

Adding fonts to JEdit

I'm trying to add Monaco true type font on JEdit under Ubuntu Linux. ...

Best Python text editor on Ubuntu?

I'm new to Ubuntu and know it has a command line version of python already installed. However, I want a full text editor. What python editor would be best? How do I install it? ...

Ubuntu drag windows to top maximization

One of my favorite features on Windows 7 was how when a window is drug to the top it maximizes, then when it pulls down it restores. Is there any way to get something similar on Ubuntu? ...