I am looking for a way to comment the current selection in an xml file in eclipse (STS 2.3.2).
ctrl+/ gets seems to get ignored when editing XML.
Google left me on my own.
Currently, most of the popular websites, like google, yahoo detect if the user connection speed is slow and then give a option to load basic version of the website instead of the high end one.
What are the methods available to detect slow internet connections?
P.S. I think this is achieved through javascript, so I will tag it as a javascript question? However, I am looking for answers oriented more towards PHP, if this is also server related.
What is the best implementation of Markdown for C or C++?
I found these via Google, and would appreciate comments about which ones work well and which ones don't (and which ones I may have missed):
peg-markdown
Discount
Cpp-Markdown
Hi, people. For a academic exercise i have to implement a program in c for nix platform which is to synchronize multiple processes through signal handling, using only signal,pause,kill and fork basic functions.
I searched google and have not found any clear example: I hope the wisdom of one of you will light my way.
Thanks!
I sew the Google Pacmen and I think it's the most amazing JavaScript application that I ever sew!
What other application do you sew, that are in this level of profession?
I'm being an idiot.
Someone cut and pasted some text from microsoft word into my lovely html files.
I now have these unicode characters instead of regular quote symbols, (i.e. quotes appear as <92 in the text)
I want to do a regex replace but I'm having trouble selecting them.
:%s/\u92/'/g
:%s/\u5C/'/g
:%s/\x92/'/g
:%s/\x5C/'/g
...all fail. My google-fu has failed me.
Duplicate: Is there any form designer available for Google Android?
I would like to move a CheckBox, so it displays in a different location than the top-left corner under Absolute Layout inside main.xml, for 'Android'. I'm using Eclipse to edit my views. How would I do this?
On an iPhone they have a tool called Interface builder that allows you to move things in a WYIWYG fashion.
Does Eclipse have similar functionality?
Regards
ShotSimon
Since content of web applications is dynamically generated it would appear that AdSense is not going to produce relevant ads.
Is there a way to increase relevancy of the AdSense ads for the web application?
Is it possible to achieve Gmail-like ad functionality at all for third-party applications?
Is there a better ad provider for web apps than Google?
I have a Perl script to open this page http://svejo.net/popular/all/new/ and filter the names of the posts but except headers everything seems encrypted. Nothing can be read. When I open the same page in a browser everything looks fine including the source code. How is it possible to encrypt a page for a script and not for a browser? My Perl script sends the same headers as my browser (Google Chrome).
How do I do a search and replace of text within a module in Access from another module in access? I could not find this on Google.
FYI, I figured out how to delete a module programatically:
Call DoCmd.DeleteObject(acModule, modBase64)
Would it be possible to integrate Python (and/or Perl) and Ruby? I've looked at http://www.goto.info.waseda.ac.jp/~fukusima/ruby/python/doc/ and http://code.google.com/p/ruby-perl/ , but they both seem rather outdated.
Has someone generated a Ruby interface for Python's C API?
just like google as the number GOOGL (46645) i would like to also set up a server like this that will have the ability to receive text messages.
how do i do this??
Hi,
i want to get the domain extention (at least i hope it is called this way) from the site name the user is currently on.
so from www.bbc.co.uk it's co.uk and
www.google.com = .com
http://stackoverflow.com/questions/ask = .com
etc.
especially the ones with the double name (like co.uk) gives me headaches....
EDIT
as i understand from the comments, co.uk is not a top level domain? that makes life easier!
EDIT
new name (top level domain) in the title
This is a difficult question to search in Google since it has other meaning in finance.
Of course, what I mean here is "Drawing" as in .. computer graphics.. not money..
I am interested in preventing overdrawing for both 3D Drawing and 2D Drawing.
(should I make them into two different questions?)
I have seen this in a few places, and to confirm I wasn't crazy, I looked for other examples. Apparently this can come in other flavors as well, eg operator+ <>.
However, nothing I have seen anywhere mentions what it is, so I thought I'd ask.
It's not the easiest thing to google operator<< <>( :-)
Hi everyone!
Recently I was asked by someone if there is such a magic framework that will allow one let's say to design and build once a single library of controls and then use them separately to build web and desktop applications.
Does Google, Microsoft or other company have such a RAD framework and tools?
Thx
I have been looking at http://code.google.com/p/openid4java/wiki/SampleConsumer and it is hardcoded to work with type "fetch_request". Does it matter which type one wants, is there a way to tell or can one just use Fetch requests.
Is it really possible, with Google's V8 Engine, to compile JavaScript into Native Code, save it as a binary file, and execute it whenever I want through my software envorinment, on any machine?
I want to check if an IE is already opened or not
If IE is opened so i.e. Goto("WWW.GOOGLE.COM");
else open new IE and goto Yahoo.com
for example:
br = new WatiN.Core.IE(@textBox1.Text);
then when I press a button I want to check if IE is opened or not and perform the previous scenario.
I heard from various sources that J2EE is highly scalable, but to me it seems that you could never scale a J2EE application to the level of the google search engine or any other large website.
I would like to hear the technical reasons why it is so scalable.
There have been numerous posts on string algorithms:
http://stackoverflow.com/questions/246961/algorithm-to-find-similar-text,
http://stackoverflow.com/questions/451884/similar-string-algorithm,
http://stackoverflow.com/questions/613133/efficient-string-matching-algorithm
However, no general literature was mentioned.
Could anyone recommend a book(s) that would thoroughly explore various string algorithms?
The topic which is of special interest is approximate string matching [things like google-offered corrected search string variants :) ].
Thanks a lot for advice.
I have a merging conflict, using Mercurial 1.0.2:
merging test.h
warning: conflicts during merge.
merging test.h failed!
6 files updated, 0 files merged, 0 files removed, 1 files unresolved
There are unresolved merges, you can redo the full merge using:
hg update -C 19
hg merge 18
I can't figure out how to resolve this. Google search results instruct to use:
hg resolve
but for some reason my Mercurial (v1.0.2) doesn't have a resolve command:
hg: unknown command 'resolve'
How can I resolve this conflict?
This should be a simple question but I haven't managed to find the answer on google.
I would like to know, in terms an idiot can understand, exactly what application lifetime means in ASP.NET (and therefore when you can expect application start and end events to run).
I assumed it would be when you run and stop the app in IIS, but I've read things that suggest it's related to number of requests.
I've scoured Google and this site pretty extensively, and I must be missing something. None of the suggestions I've found worked.
The problem is simple. I have links coming in to my site using http://domain.name./ but I want all visitors redirected to http://domain.name/ without the trailing dot.
How can I do that?
I have been trying to setup Android Honeycomb (3.2) with VirtualBox according to this tutorial:
http://androidspin.com/2011/01/24/howto-install-android-x86-2-2-in-virtualbox/
but using this iso instead:
http://code.google.com/p/android-x86/downloads/detail?name=android-x86-3.2-RC1-tegav2.iso&can=2&q
When I type netcfg if gives me: 127.0.0.1/8, so apparently it is not connecting in the network.
I tried setting the network to NAT and Bridge, but no results..
Is there anything I am missing?