ubuntu

How to get F# working with Mono?

I can't seem to find a compiler/plugin for mono. Does one exist? ...

ubuntu: manipulating wireless networking

Is there an API (or command line) in Ubuntu to see the available wireless networks, their strength, etc, and connecting to one? ...

How to start and position multiple applications on Ubuntu/Linux?

At my new job I am doing rails development and I am on Ubuntu (my choice). I want to start up emacs, and 2 or 3 terminals, position them, and possibly cd to directories. I have been looking all over but can't seem to find any application which will do this. I am asking this here, because if there isn't an app somebody knows about, it w...

Anyone knows the algorithm for this kind of rubbery effect?

Hey guys, I'm doing some animations and I want to implement something like this on the web. I was thinking that the HTML canvas can do this kind of job. Because I can scale part of an image. I just need the algorithm to actually make it work. The effect is elastic, if the window is small, the greater the elasticity of the window when y...

How do I remap META to ALT?

I am using emacs in Ubuntu. How can I remap META to the ALT key? ...

Ubuntu: "Could not find rails locally or in a repository"

I'm following these instructions to set up Ruby on Rails on my Ubuntu machine. For now at least, I'm planning to use Mongrel. When I get to this step: sudo gem install rails ...I get this message: Bulk updating Gem source index for: http://gems.rubyforge.org/ ERROR: could not find rails locally or in a repository What should I do...

Can I SSH to MySQL with the GUI tools?

I have a ubuntu server which I've locked down to only HTTP, HTTPS and SSH (port 30000). On this box I have a MySQL server which 99.9% of the time is only used locally. Every now and then I want to connect to the MySQL instance with the GUI tools, but without touching the firewall. Therefore, it is possible to set things up so that I c...

Learning OpenGL in Ubuntu

I'm trying to learn OpenGL and improve my C++ skills by going through the Nehe guides, but all of the examples are for Windows and I'm currently on Linux. I don't really have any idea how to get things to work under Linux, and the code on the site that has been ported for Linux has way more code in it that's not explained (so far, the o...

Correct Putty configuration for Ubuntu 9.04

I often use Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) to connect to Ubuntu boxes (9.04 now). It works well, but I can't figure out the correct combination of Putty font, character encoding, character translation, and terminal configuration on the Ubuntu end so that the terminal displays everything correctly. The proble...

How can I install amf extension in PHP 5 using Ubuntu 8.10?

Hi Guys, I am trying to find out on how to install the amf extension in Ubuntu 8.10 in order for the amf flash to work. I can't seem to find a good tutorial in google. Thanks :) ...

A good place to read & write data used by a cron script?

Hi, I'm writing a script which is to be executed hourly. It basically works as: Read the datafile if it exists. Perform an action if the datafile has certain contents. Write over or create the datafile. I will put the script in /etc/cron.hourly/ on Ubuntu which will make it execute once each hour. What would a good place to store t...

How I can map a service running on a specific port number to an alias on Unbuntu?

How I can map a service running on a specific port number to an alias on Ubuntu 8.10? For example, I have a webservice which I can access like this: http://localhost:3000/ But I want to access like this: http://myservice/ I only want to access the service from the same machine. I am running Ubuntu 8.10 and I thought at first I coul...

Running apt-get on EC2 without coughing up for a bunch of bandwidth charges

I'm running Ubuntu on EC2 (using the alestic community AMI) and on startup my new instances use up a bunch of bandwidth running apt-get upgrade etc. Bandwidth between EC2 instances is free... anyone know if there's a mirror of the Ubuntu packages somewhere on EC2 I can use instead? ...

Lost modified /etc/hosts file on Amazon EC2 every reboot instance?

I have setup an Ubuntu 8.10 server instance on Amazon EC2. I install ejabberd on server, but I face some problems on ejabberd node can't start because hostname on cloud changes each time we relaunch the instance. After I follow this link http://blog.kenweiner.com/2008/05/ejabberd-on-amazon-ec2-ubuntu-ami.html to edit and add hostname in ...

Using apt-get to install an instance of a web application

Is it possible to have many instances of MediaWiki or Wordpress on a web server, installed and automatically upgraded by apt-get? If so, would Ubuntu LTS upgrade with security-only patches? Thanks! ...

Cron Job on Ubuntu Hardy Executing But Not Deleting Files As Expected

I have a bit of a pickle here and wonder if anyone can give me some pointers: I have a cron job which executes for a particular user daily and is supposed to sweep files in a particular directory. Technically, it is two jobs. I've turned on cron.log to verify they're actually executing, and they are: May 24 11:03:01 AppNameGoesHere /...

Linux - communicating with a process? rejoin process in action?

I feel somewhat dumb asking this, but I'm relatively new to linux (more in terms of experience than time), and one thing that i've always wondered is if I can 'rejoin' (my own term) a process while it's running. For example, if I set a game server or eggdrop IRC bot to run in the background, is there a command I can use to view that pr...

Unable to have '0700'-protected programs startable at login in Zsh

I have the following code which should put programs startable in Bash. if [ "`uname`" = "Darwin" ]; then compctl -f -x 'p[2]' -s "`/bin/ls -d1 /Applications/*/*.app /Application:/*.app | sed 's|^.*/\([^/]*\)\.app.*|\\1|;s/ /\\\\ /g'`" -- open alias run='open -a' fi However, it does not work in my Zsh at all. I ...

I'm using Zend Studio for Eclipse and I'm trying to save my file but it failed!

Hi guys.. I'm new to PHP development and I just used Zend yesterday. One problem I'm having is saving the file in a directory that is read-only. I'm using Zend studio to develop PHP scripts. I have XAMPP installed in my Ubuntu in /opt/lampp/ directory. Now the /opt/lampp/htdocs directory requires privilege access. I can't save anythin...

Gems and Ubuntu 9.04

Hi, I recently upgraded to Ubuntu 9.04 and I have issues using gems. I have installed ruby, ruby gems and rails using apt-get The rails command do work. I have then installed capistrano and other gems (such as heroku). In order to do that, I have used the command sudo gem install XXX When I want to use the cap command it does not w...