ubuntu

How do you manually install the eclipse-CDT plugin from an archive/zip on ubuntu?

I have successfully installed Eclipse 3.5 and Java 1.5. I would like to install CDT without using Eclipse's "install new features" (nor can i use the Eclipse-CDT installer) option because this computer is offline. What I did: I downloaded the archive of cdt from CDT's official download page. I used file-roller to unzip everything into...

how to cut columns of csv

I have a set of csv files (around 250), each having 300 to 500 records. I need to cut 2 or 3 columns from each file and store it to another one. I'm using ubuntu OS. Is there any way to do it in command or utility? ...

Ruby wont recognize Haml under ubuntu64 while using jekyll static blog generator.

I have been trying, quite unsuccessfully, to run henrik's fork of the jekyll static blog generator on ubuntu 64 bit. I just can't seem to figure this out and I've tried a bunch of different things. Thanks!! The base stats of my machine: Ubuntu 9.04, 64 bit, ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux], rubygems 1.3.1. When I ...

Can you recommend a free light-weight MySQL GUI for Linux?

I'm setting up my first development Linux box - a netbook actually. I'm quite fond of MySQL Yog for Windows, but that's not on linux. I've checked these two threads What is the best free SQL GUI for Linux (MSSQL, MySQL, Oracle, Etc…) and Developer tools to directly access databases I'm not interesting in something large and resource hu...

Special considerations for using Python in init.d script?

Are there any special considerations for using Python in an 'init.d' script being run through init? (i.e. booting Ubuntu) From what I understand through googling/testing on Ubuntu, the environment variables provided to an 'init.d' script are scarce and so using "#!/usr/bin/env python" might not work. Anything else? ...

How do I run all my PHPUnit tests?

I have script called Script.php and tests for it in Tests/Script.php, but when I run phpunit Tests it does not execute any tests in my test file. How do I run all my tests with phpunit? PHPUnit 3.3.17, PHP 5.2.6-3ubuntu4.2, latest Ubuntu Output: $ phpunit Tests PHPUnit 3.3.17 by Sebastian Bergmann. Time: 0 seconds OK (0 tests, 0 asser...

Perl Ora2Pg on Ubuntu

I just tried Ora2Pg on my Ubuntu Jaunty Jackalope. First of all, the installation was hard, but after downloading a few debs & rpms here & there, I was finally managed to install ora2pg via synaptic. However, when I try to run this command ora2pg /tmp/ora2pg.conf I am getting a install_driver(Oracle) failed: Can't load '/usr/l...

How to create a rounded window in Ubuntu?

How to create a rounded window in Ubuntu? Lang: C++ For example like the tipper plugin from Miranda. ...

Socket server ip/port problem

I'm trying to set up a socket server on a ubuntu machine. I've been setting up the same server-script on my own machine where it works perfectly. In my router i forwarded port 10007 to the right machine and bind the ip to my local ip (192.168...:10007). Now i need to set it up on a dedicated server though and that is where the problems ...

Emacs FTP not working for certain sites in Ubuntu

This is really confusing me, because however much I search I don't seem to be able to come across this problem on Google. I'm trying to edit files on a web server using Emacs Ange-FTP on Ubuntu. I type in /[email protected]:/, Emacs then prompts for a password, which I give, and then it says: Listing /[email protected]:/... forever. ...

RubyODBC Cannot allocate SQLHENV

I'm trying to connect to SQL Server on Ubuntu 9.04 using Ruby. I translated and followed all the steps outlined in getting OSX talking to SQL Server from here: http://toolmantim.com/articles/getting_rails_talking_to_sqlserver_on_osx_via_odbc Everything is working on the FreeTDS and unixODBC end. I can see and query the database using t...

Installation of eclipse php in ubuntu

How to install eclipse php in ubuntu platform using apt get install. Any other utilities are required to do that ...

Starting a screen session on startup with ubuntu

I'm using amazon EC2 for a service that I'm starting, however when I try and start a screen session during the startup script (which is ran during the bootup process) the screen never gets started. I've made sure to run apt-get install screen -y, however I'm not sure how to make the screen start correctly. Any help? -UPDATE- here's th...

What Rails deployment techniques best overcome environmental differences?

I work on Ubuntu developing a Rails app for my church. We use a hosted VPS also on Ubuntu. I use Capistrano to deploy periodic updates. Inevitably, however, an app that works on my local box, always has a handful of problems after deploying to the host, most likely because the environments differ. What are some practices/techniques t...

xampp server (How to get up and running)

Hello all. I've been developing locally on a little ubuntu netbook with xampp for about 7 months. Two weeks ago I got a computer I'd like to use as a server. I've installed the latest Ubuntu distribution and xampp, moved all my files over, and forwarded port 80. I've also got a domain name from dyndns.com which is being updated by a clie...

cannot find -lsocket, compiling problem in client-server program?

I am trying to do some socket programming, writing a simple client-server program. But when I try to compile the program, I get this error. gcc -o showip showip.c -lnsl -lsocket -lresolv showip.cc: In function ‘int main(int, char**)’: /usr/bin/ld.real: cannot find -lsocket collect2: ld returned 1 exit status I try to install lib doing...

How do you enable 32 binary compatability in JDK?

Is there a vm option option to enable 32bit compatibility mode? I've googled but couldn't find how to do it anywhere! The reason I am doing it is I'm trying to run the GWT on Linux Ubuntu 64 as the link below indicates is possible. Issue 134: GWT hosted web browser does not work in 64-bit Linux ...

Less gets keyboard input from stderr?

Hello! I'm taking a look at the code to the 'less' utility, specifically how it gets keyboard input. Interestingly, on line 80 of ttyin.c, it sets the file descriptor to read from: /* * Try /dev/tty. * If that doesn't work, use file descriptor 2, * which in Unix is usually attached to the screen, * but also...

Anything comparable to Visual Basic to use in Ubuntu?

Is there anything comparable to Visual Basic to use in Ubuntu? ...

org.eclipse.swt dependency when updating Eclipse PDT (Ubuntu)

Hi! I'm trying to update Eclipse PDT on Ubuntu (through the Eclipse Interface), and I'm getting the following error: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.0.v3448f]. This message only shows if I try to update WST Server UI (3.1.0). AFAIK, SWT ...