I'm trying to route watir through a proxy pragmatically -- this means within the script I'd like to change my proxy dynamically before launching the browser.
Here's what I've tried so far (and so far am failing):
I'm running chrome and lucid lynx ubuntu. I chose TREX cause I thought watir might be making use of PROXY or something.
I re...
I have a script which runs inside a while loop and monitors a mysql data source every 2 seconds. If I run if from the command line, it runs and works fine. But If I attach it to a daemon, it throws an error saying "MySQL has gone" or something similar. I checked and found MySQL up and running. I could even execute queries from other tool...
I tried to switch from Java 5 to Java 6 using the "update-java-alternatives" command like explained on this page: https://help.ubuntu.com/community/Java
But afterwards I get the following error when I tried to execute java:
root@webserver:~# java
Error occurred during initialization of VM
Could not reserve enough space for object heap
...
On a Ubuntu 10.04 Server I would like to do the following with a bash script:
Create a service that monitors the ISDN connection and if downtime exceeds 60 seconds forces reconnect.
My current solution looks something like this:
#!/usr/bin/bash
LOGFILE=/home/msw/router/ping-stats.txt
TIME="`date +%C%y%m%d%H%M`"
/sbin/ping -c 1 google.c...
I followed this to get F# on my Ubuntu machine. However, it returned me an error, saying
-- Resigning FSharp.Core.dll with mono.snk
./install-mono.sh: 24: sn: not found
-- Installing FSharp DLLS into the GAC
Failure adding assembly bin/FSharp.Core.dll to the cache: Strong name cannot be verified for delay-signed assembly
...
I run Ubuntu and try to use the ffmpeg wrapper in Java from here:
http://code.google.com/p/javacv/
It seems to work fine on other systems, but in Ubuntu the project crashes
with the following mistake:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up
function 'avcodec_decode_video2': /usr/lib/i686/cmov/libavcod...
Hello,
Are there any real differences between them?
I want to program in java and python. And of corse be a normal user: internet, etc
Which one will give me less headaches/more satisfaction ?
And which is better for a server machine ?
Thank you
...
Problem
Am looking to automatically move the mouse cursor and simulate mouse button clicks from the command-line using an external script. Am not looking to:
Record mouse movement and playback (e.g., xnee, xmacro)
Instantly move the mouse from one location to another (e.g., xdotool, Python's warp_pointer)
Ideal Solution
What I'd li...
In my university there's a certain wlan network open for the students and employees. To use it, however, one must first log in via a website using your own username and password. This can also be done by submitting a http request with the right POST-data to the same website. I already have a shell script that does this but I'm still curi...
While running the C++ code for festival,i am using multiple languages like american diaphone,italian etc. but when after playing for one language,i select another language then the terminal shows the error "SIOD:ran out of storage" and does not do anything.
Can anyone help me??
...
Hi so I am trying to create a deb package for a web application written in Java (it uses Apache Tomcat). My eventual goal is to start a repository that people can add to apt-get the software, but
How do I make it so that the package knows to look for dependencies like tomcat, sun-java6-bin, and ant?
How do I write an installer script ...
Please close this question. I got what I am looking for and some are arguing it doesn't belong here.
All you have to do is zip the files on the mount and drop it in your local HD. All permissions are intact!
Is it possible?
I have a network disk mounted on Ubuntu. How do I save the files (folders and files recursively) from the networ...
A web application has no make file unlike C++ or anything like that. However, it needs to be placed into specific directories...e.g /var/www.
I'm new to linux packaging, so my question is, how do I package my app into a .deb such that when its being installed, it gets put into something like /etc/myprogram/bundles/myprogram-3.4? Mine i...
When I run cucumber from my Ubuntu server I don't get details on why the scenario is failing. For example here is what I get:
.....
cucumber features/messaging.feature:6 # Scenario: Joe can view his inbox
cucumber features/messaging.feature:14 # Scenario: Joe can send a message
cucumber features/messaging.feature:26 # Scenario: Joe can ...
Hi, I am trying to modify the Ubuntu One File syncing python scripts to not including things like .iso's.
I have got as far as finding this file: /usr/share/pyshared/ubuntuone/u1sync/constants.py
Inside is this piece of code:
import re
# the name of the directory u1sync uses to keep metadata about a mirror
METADATA_DIR_NAME = u".ubun...
I am pretty new to Linux. Got a VPS set up yesterday, installed Apache2, PHP5 and MySQL.
When I do apache2 -l I get this:
Compiled in modules:
core.c
mod_log_config.c
mod_logio.c
prefork.c
http_core.c
mod_so.c
When I do sudo a2enmod rewrite I get this:
Module rewrite already enabled
And rewrite.load is in /etc/apache...
Hi,
I am having a few problems getting the example programs that come with the libTao provided in the package manager. I have used ace tao in the past with windows so have some experience with it already.
So far I have all the environment variables set, created a new projects for the "Simple Client" example. I can compile the .idl fine...
I'm trying to build some code on Ubuntu 10.04 LTS that uses OpenSSL 1.0.0. When I run make, it invokes g++ with the "-lssl" option. The source includes:
#include <openssl/bio.h>
#include <openssl/buffer.h>
#include <openssl/des.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>
I ran:
$ sudo apt-get insta...
I'm attempting to use .htaccess in the root folder of an Ubuntu/Apache2 server in order to mask a subdomain to subfolder and I keep getting a 500 Internal Error. I know that I'm doing something stupidly wrong and it is some silly error causing the problem. I've checked all of the similar threads on SO and online and whenever I try their ...
I'm on Ubuntu 10.04 x64, ruby version 1.8.7 (2010-01-10 patchlevel 249)
I've read this thread first: http://stackoverflow.com/questions/1332207/uninitialized-constant-mysqlcompatmysqlres-using-mms2r-gem and tried everything that people suggested:
apt-get install libmysqlclient-dev
export ARCHFLAGS="-arch x86_64"; sudo gem install --no...