I'm looking for a file utilities library that help creating paths, i.e. if I want to create a file in "a/b/c/x/y/z", it will check if each directory exists and creates it if not.
Hi all
I've simply used the following program on the url below
http://jericho.htmlparser.net/samples/console/src/ExtractText.java
My goal is to be able to extract the main body text, to be able to summarize it and present the summarized text as output to the user.
My problem is that, I'm not sure how I'd modify the above program to only get the required text from the webpage, without the links or any other information.
Again, I'd really appreciate any help I could get.
Thanks in advance
Hello all
I have a problem, suprice ;)
i use .htaccess in Apache and have a RewriteRule problem
my code is
RewriteRule ^(.*)$ /system/header_codes.php?oldurl=$1
how can i make if its not have a true ( rewriterule ) soe use this, i will use its becures i create a dyanmic RewriteRule for my customer in my System.
i hobe for help here, sorry for bad spelling.
I wanted a list of my modules and was told:
>>> help('modules')
Would do the trick. But I just get
Please wait a moment while I gather a
list of all available modules...
For over 10 minutes before I killed it.
Anyone know what could be causing this? Or how I could otherwise see my modules? (System Ubuntu 9.10/Python 2.6.4)
Thanks,
Dan
Hi I like to know how to write REGEX for the following code.
<a href="/search?q=user:111111+[apple]" class="post-tag" title="show all posts by this user in 'apple'">Apple</a><span class="item-multiplier">× 171</span><br>
I just need to fetch Apple from the above source code.
Can anybody help me out in writing REGEX.
Thanks
hello sir..
i need your help Sir..
how to interpret dwParam1 from delegate midiInProc into midi status message like note-off, or note-on, control change..
because as long i try dwParam1 is 254, and is not equal to note-off or else...
Can you help in this example? I am a beginner. Thanks
using System;
class Program
{
public static void Mian(string[] args)
{
Console.Write("Your Name?: ");
string name = Console.Read();
Console.WriteLine("Welcome {0}", name);
}
}
Hey all i am trying to figiure out why my code is not triggering the "onShow" function for the tabs. Here is my code:
$(document).ready(function() {
$('#tabMain > ul').tabs({ fx: {height: 'toggle'},onShow: function() {alert('onShow');} });
})
I never see the alert box pop up saying "onShow" so i do not know what i am doing wrong?
Any help would be awesome! :)
David
Hi,
I believe that some one is running shell commands to my server via my site, Could any one offer any help on how the user could be doing this ?
also how could I stop this?
I have been playing around with different data clustering algorithms working on finding clusters between random data points represented an nodes, I keep reading that data clustering is used for image recognition. I am failing to make the connection, how does clustering data help in recognizing an image or in facial recognition. can someone explain this?
http://www.zazzle.com/cr/design/pt-mug
this is just a demo site. i am suppose to do something like this in PHP. can any one tell how this can be done with PHP ? what is the logic behind this ? is this possible with jquery or GD Library ? please help me..
thanks and regards
tismon
Pure Chat looked great but it was discontinued. Damn.
Any other great chat programs for ASP.NET? Looking for one that can be used in Operator Help mode.
How do I show a help popup window on the iPad? I want to show a modal popup window that grays out the background similar to the email applications "Compose New Mail" app.
I am so fed up with this google products I am Ready to give someone my UN and PS and pay them to do it. I keep getting a error message saying Text, I followed the instructions , they said to do it in excel and save as a text please
Help Please microcomputerctr.com
I need help converting a VB.NET handles statement to C#. This is the VB
Private Sub ReceiveMessage(ByVal rr As RemoteRequest) Handles AppServer.ReceiveRequest
'Some code in here
End Sub
I have a method that gets called quite often, with text coming in as a parameter..
I'm looking at creating a thread pool that checks the line of text, and performs actions based on that..
Can someone help me out with the basics behind creating the thread pool and firing off new threads please? This is so damn confusing..
How can i write a cloud-aware application? e.g. an application that takes benefit of being deployed on cloud. Is it same as an application that runs or a vps/dedicated server? if not then what are the differences? are there any design changes? What are the procedures that i need to take if i am to migrate an application to cloud-aware?
Also i am about to implement a web application idea which would need features like security, performance, caching, and more importantly free. I have been comparing some frameworks and found that django has least RAM/CPU usage and works great in prefork+threaded mode, but i have also read that django based sites stop to respond with huge load of connections. Other frameworks that i have seen/know are Zend, CakePHP, Lithium/Cake3, CodeIgnitor, Symfony, Ruby on Rails....
So i would leave this to your opinion as well, suggest me a good free framework based on my needs.
Finally thanks for reading the essay ;)
I want to add twitter oauth just like facebook connect in my site like this site http://mytweeple.com/default.aspx. Need help on this how i can do this.
Regards,
I have added repository and at the time of commit I get error as error: abort: no username supplied (see "hg help config"). I am not getting Mercurial.ini file on my local as well. Does anyone know how I can resolve this error on Fedora?
My sample file is like below:
H343423 Something1 Something2
C343423 0
A23423432 asdfasdf sdfs
#2342323
I have the following regex:
if (line =~ /^[HC]\d+\s/) != nil
puts line
end
Basically I want to read everything that starts with H or C and is followed by numbers and I want to stop reading when space is encountered (I want to read one word).
Output I want is:
H343423
C343423
Output my RegEx is getting is:
H343423 Something1 Something2
C343423 0
So it is fetching the whole line but I just want it to stop after first word is read.
Any help?
I'm digging through Akamai logs, downloading excel sheets, and then manually joining them so that I can do sorting of data to find top videos and referrers. Are there any tools you know of to help with this kind of processing? I'm looking for something like Urchin used to be for Apache logs, but for Akamai logs. Thanks!
Hi,
I believe that some one is running shell commands to my server via my site, Could any one offer any help on how the user could be doing this ?
also how could I stop this?
Could someone help explain what is going on in this precommit hook? I thought changing files would cause them to be restaged.
http://snipplr.com/view/28523/git-precommit-hook-to-fix-trailing-whitespace/
Hi,
Can anybody help me writting a regular expression to replace these characters with a empty string. Character list is given below.
public static char[] delimiters = { ' ', '\r', '\n', '?', '!', ';', '.', ',', '`', ':', '(', ')', '{', '}', '[', ']', '|', '\'', '\\', '~', '=', '@', '>', '<', '&', '%', '-', '/', '#' };
Thanks.
Subrat.