Forum: Bash / Shell Scripting
Jul 19th, 2006, 8:56 AM
|
|
Replies: 1
Views: 217
Never mind...found it after. The command is...
Never mind...found it after. The command is sync.
Works now for SOME users....there still seems to be an I/O deadlock happening for some. I'll have to go though the rest of my code and make sure...
|
Forum: Bash / Shell Scripting
Jul 19th, 2006, 7:56 AM
|
|
Replies: 1
Views: 217
flushing I/O?
Hi all. :D
I have a little bash script that simply outputs "foo" into a file under the /tmp dir
!#/bin/bash
echo foo &> /tmp/foo.txt
exit $?
|
Forum: Bash / Shell Scripting
Jun 28th, 2006, 2:15 PM
|
|
Replies: 3
Views: 196
Ah ha! The quotes MegaArcon! The quotes! Why...
Ah ha! The quotes MegaArcon! The quotes! Why thank you Infinite Recursion. Looking at your code helped to spark what I was missing. Instead of subbing in "\ " I can just sub in " " and surround my...
|
Forum: Bash / Shell Scripting
Jun 28th, 2006, 1:48 PM
|
|
Replies: 3
Views: 196
String Substiution. Whitespace?
Hi all! :D
I've got a little bash script that basically takes my directory path to the "My Documents" folder. Instead of the space, I've inserted a special sequence that I want replaced with "\ "...
|
Forum: HTML / XHTML / CSS
Jun 5th, 2006, 7:12 AM
|
|
Replies: 11
Views: 466
|
Forum: HTML / XHTML / CSS
Jun 4th, 2006, 7:55 PM
|
|
Replies: 11
Views: 466
My bad, I should have been more specific....
My bad, I should have been more specific. ;)
It's not the web script that will be preforming the actions on the directory. It will basically be a script that python is going to call that will do a...
|
Forum: HTML / XHTML / CSS
Jun 2nd, 2006, 2:27 PM
|
|
Replies: 11
Views: 466
Java Applet, eh? So create an applet to prompt...
Java Applet, eh? So create an applet to prompt the user with a search box and then use that to submit the form?
Tricky...or at least it might be....I've programmed in Java but I've never done so...
|
Forum: HTML / XHTML / CSS
Jun 2nd, 2006, 1:30 PM
|
|
Replies: 11
Views: 466
Allow user to select a directory
Hi all! :D
I've got a web page where I want the user to be able to select a directory so that my script can preform actions on that directory. The problem is that the only form input that I'm...
|
Forum: Python
Jun 2nd, 2006, 1:09 PM
|
|
Replies: 15
Views: 460
|
Forum: Python
Apr 12th, 2006, 7:06 AM
|
|
Replies: 13
Views: 425
|
Forum: Python
Apr 11th, 2006, 7:33 PM
|
|
Replies: 13
Views: 425
|
Forum: Python
Apr 11th, 2006, 1:26 PM
|
|
Replies: 13
Views: 425
|
Forum: JavaScript and Client-Side Browser Scripting
Apr 11th, 2006, 8:11 AM
|
|
Replies: 3
Views: 222
|
Forum: JavaScript and Client-Side Browser Scripting
Apr 10th, 2006, 1:21 PM
|
|
Replies: 3
Views: 222
is element.style w3c compliant?
Hi all!
Quick question. I've googled for it and it seems to be, but I just wanted to make sure that Javascript code like:
e.style.backgroundColor = "teal";
e.style.color = "black";
is w3c...
|
Forum: Python
Mar 30th, 2006, 7:00 AM
|
|
Replies: 8
Views: 384
|
Forum: C
Mar 30th, 2006, 6:49 AM
|
|
Replies: 6
Views: 252
|
Forum: C
Mar 29th, 2006, 2:15 PM
|
|
Replies: 6
Views: 252
I could be root if it was required. Basically,...
I could be root if it was required. Basically, the user would log in to a web interface and ask to do an operation. The web server is run by a different user (apache). So, before I get the server to...
|
Forum: C
Mar 29th, 2006, 1:27 PM
|
|
Replies: 6
Views: 252
changing a user id.
Hi all,
I was wondering if anybody out there could tell me how to change a user id. I'm writing a c wrapper for a java program. Since java does not seem to have any way to do a change uid, I figured...
|
Forum: Java
Mar 16th, 2006, 9:04 AM
|
|
Replies: 1
Views: 181
|
Forum: Python
Mar 15th, 2006, 11:37 AM
|
|
Replies: 2
Views: 163
|
Forum: Python
Mar 15th, 2006, 11:32 AM
|
|
Replies: 2
Views: 163
chmod/chown in python?
Hi all!
Does anybody out there know how to chmod and chown files and directories in python?
Thanks! :D
|
Forum: Java
Mar 15th, 2006, 8:35 AM
|
|
Replies: 1
Views: 181
java cgi - run a root?
Hi all!
I've got a java program written and I'm looking into putting a web user interface on it. I've been looking at how to run java from cgi and it seems pretty straight forward. (I haven't tested...
|
Forum: Java
Mar 2nd, 2006, 11:38 AM
|
|
Replies: 27
Views: 984
|
Forum: Java
Mar 2nd, 2006, 8:25 AM
|
|
Replies: 27
Views: 984
I'm a linux guy myself, so I think that vim is...
I'm a linux guy myself, so I think that vim is the way to go. Although there is a certain charm about using an IDE. Although if your teacher won't let you use ide's then really any of your basic text...
|
Forum: Java
Mar 1st, 2006, 9:34 AM
|
|
Replies: 3
Views: 179
|
Forum: Java
Mar 1st, 2006, 7:04 AM
|
|
Replies: 3
Views: 179
Unchecked you say?
Hi all.
I'm working on a bit of code in java 1.5 and my code is telling me I've got an unchecked exception. I've got a function called lookup that returns an ArrayList<String>, but when I call that...
|
Forum: Python
Feb 21st, 2006, 12:37 PM
|
|
Replies: 4
Views: 272
|
Forum: Python
Feb 21st, 2006, 6:53 AM
|
|
Replies: 4
Views: 272
|
Forum: Python
Feb 20th, 2006, 2:21 PM
|
|
Replies: 4
Views: 272
Adding nodes with minidom
Hi all! ^_^
I'm working on some xml stuff with python and I'm having a bit of trouble. I'm taking in an xml document and trying to add an xml element to the existing document in a paticuar place....
|
Forum: Java
Jan 24th, 2006, 9:26 AM
|
|
Replies: 4
Views: 212
Thanks for the find titaniumdecoy!
Process p =...
Thanks for the find titaniumdecoy!
Process p = Runtime.getRuntime().exec("chmod 444 file.txt");
Process p = Runtime.getRuntime().exec("chown foo:group file.txt");
Does the trick! Let's all do a...
|
Forum: Java
Jan 23rd, 2006, 9:31 AM
|
|
Replies: 4
Views: 212
calling chmod in java
Hi all,
I was wondering if anybody out there has delt with getting java to change permissions in unix. (i.e. able to call things like chmod and chown)
I found a thrid party module that might to...
|
Forum: JavaScript and Client-Side Browser Scripting
Dec 22nd, 2005, 7:15 AM
|
|
Replies: 10
Views: 452
I think you may be posting this in the wrong...
I think you may be posting this in the wrong section. :p Do you want this to be a web interface? Even if you do, this seems more like a server side thing then a client side. A language like Python...
|
Forum: Python
Dec 20th, 2005, 10:41 AM
|
|
Replies: 7
Views: 554
Robocode is really fun to play with. We had a...
Robocode is really fun to play with. We had a robocode tournament here at the university. It was really fun. The first place went to a guy who has actually done work with robot AI. His bot was really...
|
Forum: Python
Dec 15th, 2005, 1:32 PM
|
|
Replies: 24
Views: 705
|
Forum: Python
Dec 14th, 2005, 12:20 PM
|
|
Replies: 3
Views: 312
|
Forum: Python
Dec 14th, 2005, 8:36 AM
|
|
Replies: 3
Views: 312
Form Submit Blues
Hi all! ^_^
I've got two problems with the form I'm working on.
1.) I was having the problem that regardless of what button was pressed inside the form, it submitted the form instead of just doing...
|
Forum: Python
Dec 14th, 2005, 7:31 AM
|
|
Replies: 13
Views: 449
|
Forum: Python
Dec 13th, 2005, 7:50 AM
|
|
Replies: 8
Views: 339
Yea, I was building this with the standars in...
Yea, I was building this with the standars in mind, but IE made my scripts cry. ;) I'm doing some kinda trickey stuff with this project, and unfortunatly, some anti-standard stuff had to be used to...
|
Forum: Python
Dec 12th, 2005, 10:45 AM
|
|
Replies: 8
Views: 339
|
Forum: JavaScript and Client-Side Browser Scripting
Dec 12th, 2005, 10:40 AM
|
|
Replies: 3
Views: 241
|