I wanted to develop a cross platform GUI application.So I thought I would research on Firefox.I havent been able to find out which GUI framework is FireFox using ?Is it GTK, QT, or what ?
I just tried the simplest 'Hello world' example as below.
Code: #include <stdio.h> int main() { printf("Content-type: text/html "); [Code]...
Code: gcc -o hello.cgi hello.c Also grand a+x to the file and enable *.pl and *.cgi for cgi-script at apache2.conf The server reminds me 'Internal Server error' The weird thing is that I have a perl cgi in the same place with same privilege, which works perfect...
I noticed there's a new JRE in town, the upgrade 20, I still use the 13. What will the up to 20 do for the software I write? I use openJDK (came with the Fedora I use) to write software, and the JRE to use it in the browser, I needed to see the Java console, hence the need for the Sun JRE...
So: bottomline: if I upgrade to the new JRE - use the alternatives configurator to use that in the browser, will the software written in the current JDK (1.6) still work? Or: is Java downward compatible?
PS : I dont use anything fancy, just RMI, mySQL connectivity and a bit of Swing...
I'm playing around with a 2D physics game called Phun, which has an "advanced" mode, where you can mess around with scripts. I'm rather new to Thyme, having just started using it a few days ago, lol. I'm just wondering if there's a script I could use to create an oscillating number to use in a spring (in the game) for one of my little builds?
I wan to get this text only from the whole html code. </p></td> From the above code I want to get that english written sentence only using php preg_match or anything other which makes it possible. I've tried following so far but doesn't work
I've been having a lot of problems solving my HDD mounting problems and renaming. It finally worked, but I had to delete everything from fstab. As crazy as it sounds, it worked, when I turn my computer on, they automatically mount. They are all working fine. I will attach screen shots too. As you can see my fstab is blank, I was just wondering, is this a problem? Or is it totally normal?
How do I run a program I've written in C++? I'm new found some tutorials to study from but didn't find anything on how to run it. I'm using text editor too write it and saved it as .cpp but everytime i open it it just shows what i wrote it doesn't run it.
I was attempting to get crontab to kick off a daily job, but the job wont start. I opened /var/log/messages and noticed all the logs were from 6 months ago. I cleared the log and then did a tail -f so I could watch it for activity. I then hit my box with anunsuccessful log in attempt. Nothing happened to the log. The uptime of my box is 22 days and the logs that were in it before I cleared it were from months ago.Is there a daemon I can check or another file I can mod to get logs writing again?
I've been having trouble writing to DVDs on one computer, and I am trying to figure out whetgher the problem is hardware or software related, or, perhaps, both. The brasero CD/DVD writer puts the md5 checksums of each of the original files in a hidden file on the DVD. I think it then calculates the sums of the copies and compares, but the last time I did it, it told me it had permission problems with the drive, and that failed. When I put the DVD in, udev finds it and mounts it in /media with me as its owner. Apparently, brasero mounted it some other way, and presumably that caused the problem.
Secondly, after I brought it up again, I went into the /media mount point and did md5sum on the files there. One of them a gzipped tar file, produced and input/output error. Yet if I use cmp to compare that file with the original it finds no difficulty. So what is going on? Finally, I have tried to write shell scripts which use cmp to compare the original files with the copies. The general form is
cd XXXX find $* >> /tmp/X for i in `cat /tmp/X` do cmp $i YYYY/$i done
where XXX is the mount point in /media and YYY is the original directory containing the relevant files. This works fine except that if the file names have spaces in them, the shell script treats each word as a new file name. So I need some way to arrange things so that `cat /tmp/X` returns the complete file name. Nothing I've tried works.
Trying to use the html editor 'Arachnophilia'... here are the instructions on their website. ".Open a command console (Linux: shell console), move to the Arachnophilia program directory, type "java -jar Arachnophilia.jar" For convenience, this command can be made part of a shell script, and those using X windows can easily make a desktop icon." hoping someone can explain how to run this program.. using a new install of fedora 12 (which has java)...i'm a newbie, trying to go open source on a low end laptop - LOVE Fedora .[URL]..
My company have Linux and mac machines ,so I have mac format (HFS) hdd and linux format (ext3) hdd, In the linux os , mount a mac hdd ,it just can read and can't be written. The mac hdd 's format is HFS OR HFS+ , how to write this hdd in the linux .
I've a problem with the welcome message. As you can see the welcome message with landscape-sysinfo is written twice. The second welcome message is the older one which is something like frozen:
Code: login as: oliver oliver@xx.de's password: Linux xx 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server! Documentation: [URL] System information as of Wed Jun 8 01:40:26 CEST 2011
35 packages can be updated. 0 updates are security updates. Last login: Wed Jun 8 01:30:28 2011 from xx.de oliver@studi:~$
I need to filter the log from a massive wget. I want to remove the progress lines and only leave the last one. Now each progress line starts with a newline '
I don know how this happened, but my system only recognizes an disk when the disk is blank. If thereÅ› anything on it it won mount it. Why is this happening?
I have written a cd with photos and dvd in Linux and then I tried opening in windows xp but it didn't. It says that it is unable to read it.what can I do?
I'm trying to edit mobi files. To do so, I looked for a mobi2html program, which I found here:URL...I followed all the instructions mentioned in the READ_ME file that comes with the zipped source. I strongly believe, as no error messages appeared during the installation, everything went according to plan.My question is simple: having completed all the installation procedures, what should I do next? My general procedure is to look up for the new program name in the "applications" tab, but I know that won't always do the trick.
I went and fdisk'd a USB disk and put the Fat32 filesystem onto it. Then I thought I ran dosfsck over it which I thort formatted the disk - apparently not. Then I copied a bunch of files and directories to it. Now I am unable to recover the files and data. In the rare instances when I perform a sloppy mount I see directories named 001, 002, 003 and 004. These directories variously contain files named 001, 002, 004 (no 003) etc.
Fdisk gives me:
I don't know enough to use dd, kpartx, parted, partmon, partprobe, partx et al
After installing Windows 7, the GRUB got re-written by the windows bootloader. Now after booting into the live cd and mounting /boot partition (sda2), I tried to reinstall the GRUB with this command grub-install --root-directory=/mnt /dev/sda as told by this [URL]
But I got the an error which says, Are you sure /dev is mounted? then i tried the same command on the / partition (sda5) which said, cannot find boot directory, Are you sure /dev is mounted?
And installation failed, now after restarting its just a black screen with grub> prompt.
I have a small ubuntu server setup and I would like to create a directory that can be written to by a select number of users. I have a backup directory setup and I want to enable my account as well as three others to be able to read/write to that directory. So far I haven't had any luck.
The owner of the backups folder, a directory on a separate disk mounted under /srv/storage, was owned by root and under the root group. I added the group backups and then changed the backups directory group to backups. I then used chown to change the backups directory to 775 to enable group members to write to it. I then tried to touch a file in the backups folder but no such luck. I did notice that when I run groups, my user account isn't shown as belonging to backups but is shown under the /etc/group file. I even made sure the GID of backups is in fact below 1000.
Anyone have an idea on how to create a shared directory that everyone can create, modify and delete any file? I believe my problem is related to the fact that root is the owner of the backups directory.
For example, I want to install a texteditor called Editra, i done it like the following
First, I install the Editra sudo apt-get install Editra - success ,its version is 0.5.30
Second, I run it in Terminal Editra - it can work,but with the error infos "(python:1682): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion `GTK_IS_WIDGET (widget)' failed"
Third, I used command line "dpkg -L Editra", and found that the Editra is installed under /usr/share/pyshared/Editra,so i created the .desktop like this sudo gedit /usr/share/applications/Editra.desktop
It showed, and I clicked it for running, but it told me error infos Could not launch 'Editra' Failed to execute child process "/usr/share/pyshared/Editra" (Permission denied) Not just Editra, so many software that written in python have the same question, such as tortoisehg...