http://stackoverflow.com/questions/1979915/can-i-check-if-a-file-exists-at-a-url
This link is very good for C#, what about java. I serach but i did not find good solution.
1) i need set different class name for every menu item, based on a menu row (iterating, i need just a number)
<% control Menu(1) %>
<div class="mainmenu-item-$MenuItemRow"><a href="$Link">$MenuTitle</a></div>
<% end_control %>
2) is there a simple way to create an small second menu ?
What are some features of Emacs Lisp that you use to solve real problems?
One feature per answer
Give an example and short description of the feature, not just a link to documentation
Label the feature using bold title as the first line
See also:
Hidden features of Python
Hidden features of Ruby
Hidden features of Perl
Hidden features of Java
Hi ,
I am trying to load hebrew rss using the fllow :
Xml.parse(_InputStream, Xml.Encoding.ISO_8859_1 , root.getContentHandler());
taken from ibm site :
link text
I would like to use other Encoding like "ISO8859_8" rather than :
Xml.Encoding.ISO_8859_1,
Xml.Encoding.US_ASCII,
Xml.Encoding.UTF_16,
Xml.Encoding.UTF_8
Thanks a lot!
Hi,
Mode_rewrite +ssl is not working with ubuntu on zend application.
When i used link like http:// it works fine,but when i tried to used it with https:// it is not working.
I think it is mode_rewrite problem because i had a sample file with text on root of application it works fine with https: and http:,
please any one can help me to solved this.
How to enable mode_rewrite on with ssl.
thanks in advance...
Hello friends,
Is it possible to play the video from youtube channel through iphone sdk code?
If yes please pass on the link or tutorial for the same.
Thanks in advance
I'm using jQuery :contains selector to filter through some link tags. The following code works great.
$('a:contains('string').each(function(i){
//do some stuff
});
I'd like only run this function if the anchor tags are inside a specific class, I've tried the following but it does not appear to work:
$('my_class a:contains('string').each(function(i){
//do some stuff
});
Hi,
I am using the jQuery cycle plugin to fade in and out png images on top of a transparent background. Just from the description you can understand that I'm running into graphic artifacts on explorers. The link to the page is:
http://www.ionline.gr/keavillage
Could you propose an alternative [except flash] or any way I could edit the existing set-up and have a perfect fade-in fade-out of the text?
Thanks
Hi ,
I am doing the small application for link exchange,
so before i approve the URL , i want to check his/her site page rank,
I know , there some site tell the Google page rank position ,
But am looking some API , for page rank checking...
Thanks
Bharanikumar
I am trying to get the html for this link http://slashdot.org/firehose.pl?op=rss&content_type=rss&orderby=createtime&fhfilter="home:vamsivanka"
Dim myRequest As WebRequest
Dim myResponse As WebResponse
Try
myRequest = System.Net.WebRequest.Create(url)
myRequest.Timeout = 10000
myResponse = myRequest.GetResponse()
Dim rssStream As Stream = myResponse.GetResponseStream()
Dim rssDoc As New XmlDocument()
rssDoc.Load(rssStream)
Catch ex As Exception
End Try
But the rssDoc.Load is giving me an error '--' is an unexpected token. The expected token is ''. Line 81, position 5.
Please Let me know your suggestions.
Still trying to get my problems with page loaders firing like crazy in JSF
From this link: http://www.javabeat.net/tips/122-jsf-best-practices.html
It appears that if I put a that it will fire once when entering the page.
However, it fires like 4 times when LEAVING the page, kind of defeats the point. Any ideas?
Looking for a tutorial on how I could make a web interface similar to the Evernote 5 iOS tabbed layout, using CSS3 and jQuery?!
Here is a link showing the tabs: http://www.google.se/search?q=evernote+5+tabbed&hl=en&tbo=d&source=lnms&tbm=isch&sa=X&ei=wxWoUKPxF-TO4QTQk4DwDQ&ved=0CAgQ_AUoAQ&biw=320&bih=416#i=8
Do you guys know any good tutorials/resources for this?
All help appreciated!
Thanks in advance
I've been reading through the Linux kernel (specifically, 2.6.11).
I came across the following definition:
#define unlikely(x) __builtin_expect(!!(x), 0)
(from linux-2.6.11/include/linux/compiler.h:61 lxr link)
What does !! accomplish? Why not just use (x)?
I wrote a simple Qt application (Windows+Mac) that uses QtWebKit to render
a web site inside a window.
But I already saw differences in layout and behavior between our app and Chrome
(that uses WebKit as well), e.g.:
- different fonts are displayed for the same web page
- an html anchor link with "javascript:someFunction()" is not working
Is there somewhere a summary list of all such differences (not the entire QtWebKit bug list)?
Also: is there a way to use a WebKit version more similar to Chrome in my application?
I would like to post my script here, if I get the okay I will post it, or is there another place that I should post my script and link to it?
Please Advise
Could someone provide a good documentation / tutorial/ PDFs/ reference to book link about Net::Pcap in addtion to the module documentation and
this Perl and Net::Pcap article on PerlMonks?
I'm working with a UIWebView loading local (i.e. in the source bundle) html pages, ala Apple's Transweb example. Loading the first page is trivial. However, I have added a second html page and linked to it from the first. Attempting to link to a second page doesn't seem to work.
Anyone know how to make this work?
Thanks.
I'm loading the Bootstrap CSS on my page from the CDN bootstrapcdn.com
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
How can I test if the stylesheet was loaded, and if not provide a local fallback?
I do not want to wait for jQuery or other libraries to load before doing the test; I want all CSS to be loaded on the page first.
I want to run a website where people could see each other through web camera. I can't find anything in google, so, can you give me any suggestions or link to tutorial?
Thanks
Hi,
I need to keep a link tracking for an email message. I am using PHP and IMAP. I need some ID that identify the email over time. Using IMAP UID does not seems to work since the UID changes after expunge(), i know there is a message_id for emails, but how can i retrieve an email using it's message_id with PHP and IMAP?
Is there another identifier i can use?
See here http://www.hanselman.com/blog/InSearchOfThePerfectMonospacedProgrammersFontInconsolata.aspx - for want of a better description - the statement block highlighting - eg in the pics on the link the "statement blocks" are grouped with a vertical line. I understand this is a feature of CodeRush - does R# have either anything similar, or a plugin to do the same?
Hi all this XML file is very unique with SVG tags, I am stuck in writing an XSL-fo for this xml file, can one help me out in writing a XSL FO, if not the exact answer, atleast give me a idea of how to write, please see the xml file in the below link.
Hello ,
I have a php application that saves the pictures on the server and also stores the picture names in the database . The issue that I have is that the picture names include the path/folder where it was saved from (e.g 1220368812/chpk2198933_large-2.jpg) so I need a str_replace pattern to remove "1220368812/" and have the picture name correct stored in the db .
Also I would appreciate if you will send me a good link that explains how exactly the str_replace patterns work or at least how the pattern that you use work .
I currently use Cython to link C and Python, and get speedup in slow bits of python code. However, I'd like to use go routines to implement a really slow (and very parallelizable) bit of code, but it must be callable from python. (I've already seen this question)
I'm (sort of) happy to go via C (or Cython) to set up data structures etc if necessary, but avoiding this extra layer would be good from a bug fix/avoidance point of view.
What is the simplest way to do this without having to reinvent any wheels?