Jump to content

johnnyv

Members
  • Posts

    960
  • Joined

  • Last visited

Everything posted by johnnyv

  1. Yes please that would be great!
  2. Mine was Cute_teddy_bear Ph33r the teddy bear! :lol:
  3. I have php scripts that do that sort of thing if you want i could post some examples. For example i have one that searches through all directories from a specifiec base directory and finds all pdf files then runs ps2ascii on all the pdfs via shell_exec().
  4. I have done several installs of 9.2 on different systems now and apart from the menus bug which "update-menus" fixes i haven't had a problem that i can think of.
  5. yes there is some junk but it is a limited set of junk have not seen more than 8 different occurances so you could just filter your text file to remove them. One thing you can't help is when you type a mistake the backspace to delete it and start again, script records all you typing, which can look odd.
  6. Ugh i wan't to be able to use something equivalent to .mht (multipart html files) in linux, html with encoded pictures file attachments etc all in the same single file. Mozilla doesn't even support opening .eml files correctly which is funny as you can use Mozilla to save as .eml anyway if Mozilla can't handle encoded pictures in a multipart text/html file what am i to do? create my own format? perhaps a tar.gz archive of the normal saved html page which contains the page.html and a folder page_files which has the pictures etc in it. call it say page.gzwp associate .gzwp file extension with a shell script that extracts the files into the /tmp directory and launches your default web browser with the extracted .html file. Thats about the best thing i can think of, waiting for Mozilla to support .mht or even .eml which has had many bug fillings over the years is just futile. The bad thing about this is how to save the files initially. Sure you could write a script and feed it the url of the page but you probably downloaded it to view it in your browser, it would be an extra step and a waste of bandwidth/time. Maybe a quick hack would be to write a printer driver for outputing the files. Any ideas/existing alternatives?
  7. Well of course it will be possible! ;) had another look for you. try script man:/script in konq
  8. http://docs.mandragor.org/files/Programmin..._en/x11830.html I know you can pipe your standard output & or standard error to a file but then i think it wont appear in the console which would be a problem. I don't know how to pipe to a file and still display in the console, but there are plenty here who are more experienced than me with bash so someone will know.
  9. johnnyv

    ET

    just filter by ping and is not full and is not empty that way you just run xqf and check it regulary while you do other things on your computer. I thought that was what you were wanting? to be able to do other stuff untill a server came free.
  10. johnnyv

    ET

    Ok you may find XQF is good for you then. its a server browser like gamespy http://www.linuxgames.com/xqf/
  11. do you start the machine at runlevel 3 or 5? if 3 you usually only log out of your window manager and can then use the "halt" command to shutdown.
  12. johnnyv

    ET

    Are you saying it takes 30 minutes for the server list to finish being retrieved? You could use XQF to browse server lists and launch ET from there, or does ET take a long time to load on your machine?
  13. my vote konquerer with extra large icons picture thubnails but there are heaps of image apps for linux play with them all.
  14. ping -c 144 -i 600 ipaddress will ping ipaddress 144 times with a 600 second interval between pings, adjust -c and -i values to taste. The current ping will last an entire 24hr period. You could writes a bash script and either create and icon to execute it daily or schedule a cronjob to do it every day etc.. #!/bin/sh # ping address every ten minutes for 24hrs # change address to your isp's ping -c 144 -i 600 192.168.0.1
  15. ctrl+enter works fine for me with 1.1 calc you had the cursor flashing in the cell your editing when you pressed ctrl+enter? not in the input line box?
  16. i got about 20 games checking the game station but not all of them
  17. rekall has been released under a dual lisence It is somewhat similar to ms access www.rekallrevealed.org
  18. Just installed 9.2 on one of my computers looks good so far. Awaiting eventual disaster ;)
  19. here's my 3 button wheel mouse Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/psaux" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection your device option paths are missing a / before the dev, /dev/mouse not dev/mouse ??
  20. No! Next question ;) I prefer kde but not greatly.
  21. Will had the idea but in c the log fuctions don't work with ints and you can't get the modulus of a double division only an int division AFAIK. this function returns 0 if the number is not a power of 2 and it's power if it is. There must be an existing function for this sort of thing (i really know bugger all about c and c++). #include <math.h> #include <stdio.h> int power_of2(double x) { double y = (log(x)/log(2)); int z = y; if((y/z) != 1) { return 0; } else { return z; } } int main() { double a=45; double b=64; printf("%.f is 2^%d \n",a,power_of2(a)); printf("%.f is 2^%d \n",b,power_of2(b)); return 0; }
  22. basically what you want to do is for a given value of x calculate the (log(x)/log(2)) and see if its a whole number greater than or equal to 1. double x = 64; double y = (log(x)/log(2)); y = 6 the function log2(double x) is equivalent to (log(x)/log(2)) supposedly There must be a fuction to see if a double is not a whole number but i don't know it all i can think of is making an int the value of the double then dividing them and seeing if it equals 1 int z = y; if((y/z) != 1) { /* the double y is not a whole number! */ }
  23. You think Perl looks human readable!!!!!! :P PHP or Python are human readable sometimes but Perl! j/k :)
  24. what do you mean "won't shut the program down"? you may want to use the wait function look at man:/wait(2) in konq. also for a higher resolution sleep look at nanosleep man:/nanosleep take a look at this if you havent. http://www.gnu.org/software/libc/manual/ht...node/index.html
  25. Apache with mod_php accessing a mysql/pgsql database (you could use adodb for abstracting database access so you can easily swap databases in the future). Thats about the fastest way to code a working app that i can think of especially if you need clients on windows/linux/mac etc a browser app is easily created/updated. Still its a lot of new stuff to learn good luck
×
×
  • Create New...