Hi,
If an encryption is done, by mistake, using the :X command in Vi, and the encryption key is unknown, is there any way of recovering the file?
Thanks in advance for any replies.
The above solution works perfectly with text, thanks, but if I have an image as a link then a box appears around the image. Any ideas on how to get rid of that??
Thank You
This may be a question with a simple answer but I don't know how to do it. Using a style sheet entry I want to get rid of the link symbol (line under a link) that comes with the <a href=""> tag.
Thank you in advance for any replies.
Ryan
This open a file called "file.txt" for writing to. Hope it helps,
try
{
BufferedWriter out = new BufferedWriter(new FileWriter("/path_to_file/file.txt"));
out.write("whatever");
out.close();
}
catch (IOException ie)
{
System.out.println("whatever");
}...
I don't know if this is possible but I hope someone can help me.
I have a file read into an array. I want to replace every occurance of a tab (\t) with a space. Is there a pattern that represents a tab?
foreach $line (@program)
{
$line =~ s/TAB-PATTERN/ /g;
}
Thanks in advance
Ryan
If I understand your question correctly then I'm almost certain that the following will work.
/interests_[1-9]/
There is no need for the .* but as I said I may have misunderstood your question..
Hope I've helped,
Ryan
Try
if(($FORM{'domain'}!~ /\./) && ($FORM{'tld'} eq ".name"))
{
&error('.name domains must be in the format firstname.lastname');
}
Don't see why that shouldn't work,
Regards
Ryan
Quick question and should be easy to answer.
Suppose I am calling a cgi script (e.g. test.cgi) using the GET method. I want to pass it a string and an array
$string = "hello";
@names = ("mike","fred");
I know to send the string I use
test.cgi?string=$string...
Myself and a colleague are currently developing a performance analyser for java. This is not designed to incease performance but rather highlight its bottlenecks and slowdowns. Don't know if this is any use to you but it will work for GUI applications once fully developed.
Regards
Ryan
When I open a new mainwindow in perl/tk the position of this new window is randomly selected which doesnt look very professional, especially if its a prompt like "Do you want to save?". Is there an option to specify the screen location of the window (Preferably in the middle of the...
I am calling a perl script from within a Java program using :
Runtime.getRuntime().exec("<perl script>");
The perl script is in turn calls a Java program (which works fine from command line).
The problem is the perl script will run but it wont execute the java command in it?
Can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.