Currently I am using Canvas2Image to save the content of my HTML5 canvas. It doesn't appear to work in Google Chrome, however. Any ideas on how to work around the issue are welcome. :)
i ran into thos quesiton in a google search.... they look pretty common, but i couldn't find a decent answer. any tips/links ?
1.Remove duplicates in array in O(n) without extra array
2.Write a program whose printed output is an exact copy of the source. Needless to say, merely echoing the actual source file is not allowed.
Hi,
Is there anything in boost libraries like binary? For example I would like to write:
binary<10101> a;
I'm ashamed to admit that I've tried to find it (Google, Boost) but no results. They're mention something about binary_int< but I couldn't find neither if it is available nor what header file shall I include;
Thanks for help.
Been creating a 3D complete world in OpenGL. For now, it features navigation like Google Earth, making possible the zooming from outter space to meter like level.
My question is: How do you suggest I make this a fun and interesting game?
My initial tought was to have a kind of moon lander where the user simply navigated the lander around the world. Anything better to suggest?
I've searched around for different challenge sites, and most of them seem to be geared towards difficulty in problem solving logically, rather than trying to use your language of choice to do something you haven't used it for. Their center is around mathematics rather than function design.
Some kind of point system for correctly solving challenges, or solving them the most efficient/smallest would be neat as well.
Listed sites
Project Euler
TopCoder
UVa Online Judge
Challenges with Python
Google Code Jam
Programming Challenges
Less Than Dot
ACM's Programing Contest archive
USACO problems
ITA Software's puzzle page
Refactor My Code
Ruby Quiz
I'm having trouble trying to use Volley's NetworkImageView with an InfoWindow of Google Maps API v2.
My markers shows an InfoWindow with an image fetched from the internet. As you know, the only way to do this is to show the InfoWindow and refresh it when finished downloading the image.
So I need a way to know when the NetworkImageView have finished downloading the image so I can refresh that view.
I'm looking for something like onLoadComplete
Any ideas?
I recently upgraded my MacBook Pro to Snow Leopard and "git pull" returns:
rakudo $ git pull
git: 'pull' is not a git-command. See 'git --help'
Did you mean this?
shell
rakudo $ git-pull
-bash: git-pull: command not found
I've tried reinstalling via macports, but to no avail. Then I saw this
rakudo $ git --exec-path
/Users/ovid/libexec/git-core
That surprised me as that directory does not exist, nor has it ever existed. Google is not helping here. Hopefully you can :)
In my web application (ASP.NET MVC), I need to do a certain function (refresh a table with data) every sunday at 12:00 am.
How can I do that?
We meet it everywhere. For example Google Adsense's stats update only every hour or so. How can you set up this interval update?
On our web site, users enter free form text like "Ribeye steak at Safeway for $8.99. Great deal in Palo Alto."
Does anyone know of APIs that can take free form text and return an image that best represents the text?
Right now, we're feeding the whole text to Google Image Search, but sometimes the extraneous words (e.g., at, for, $8.99) skew the query and induce weird results.
Hi,
Could someone tell me how to get the parent directory of a path in Python in a cross platform way. E.g.
C:\Program Files --- C:\
and
C:\ --- C:\
If the directory doesn't have a parent directory, it returns the directory itself. The question might seem simple but I couldn't dig it up through Google.
Thanks.
I'm working on a project that will require me to take various .vbproj and .csproj files and determine which version of Visual Studio they were built with and then to get information such as the output dll name etc.
Does anyone know if there is a schema available for these files? Google and MSDN searches are coming up a bit blank.
I have a string and I need to find out whether it is a unix timestamp or not, how can I do that effectively?
I found this thread via Google, but it doesn't come up with a very solid answer, I'm afraid. (And yes, I cribbed the question from the original poster on the aforementioned thread).
http://www.sitepoint.com/forums/showthread.php?t=585963
Can anyone please help me out...
I need to convert a vox file to wav...
I have tried the google, codeguru, codeproject etc...
vox file encoding is: A-Law mono at 8000 HZ....
any reference, any clue, almost anything goes.
Except, c, c++. yea... thats correct can't handle c, c++...
regards...
I know it's a really simple question, but I have no idea how to google it.
how can I do
print '<a href="%s">%s</a>' % (my_url)
So that my_url is used twice? I assume I have to "name" the %s and then use a dict in the params, but I'm not sure of the proper syntax?
just FYI, I'm aware I can just use my_url twice in the params, but that's not the point :)
$ cat MultiTest.java
import com.*;
// CODE
$ javac Code.java
MultiTest.java:1: package com does not exist
import com.*;
^
Google Collections Com-dir in the dir where the MultiTest.java -file is located.
I've read a little about comet and also APE.
Which one is better? I want the users to see other users updated content. Like Google Wave.
And in comet, there are 2 versions: iframe vs traditional ajax. what is the difference and which is better. I dont quite understand it.
Thanks.
What alternatives exist for VSTO?
What does managedxll do that VSTO does not - When would you use one vs the other
Google does not bring much up on this subject
We're going to investigate GWT for our project. When searching for an Eclipse GWT plugin I got many.
Google Eclipse Plugin
GWT Designer
Cypal studio
None, run GWT in hosted mode
GWT-Tooling
Other?
In your view, what is the best GWT plugin for Eclipse and why?
[27 Nov: Editied to reflect the answers below...]
Hello,
I searched through Google and there was little to no information about how to integrate Smarty 2.x into Zend Framework 1.10. Can anyone teach me how to do so?
hi all,
i hv a question.
my url is some thing like this
http://www.google.com?to=shishir&from=friend
and i hv 2 textfeild from where i m getting value of to and from.
i need to set those values of 2 textfeiilds into the URL
to="values from textfeild" from="value from textfeild"
to create a somewhat called a dynamic URL.
how can i do it
quick reply is always appreciated
regards
shishir
Are there any robust and mature HTML parsers available for PHP? A quick skimming of PEAR didn't turn anything up (lots of classes for generating HTML, not so much for consuming), and Google taught me a lot of people have started and then abandoned a variety of parser projects.
Not interested in XML parsers (unless then can consume non-well formed HTML) or hacking it on my own with regular expressions.
Clarification of Intent: I'm not interested in filtering of HTML content, I'm interesting in extracting information from HTML documents.
We have a javascript funtion named "move" which does just "windows.location.href = any given anchor".
This function works on IE, Opera and Safari, but somehow is ignored in Firefox. Researching on Google doesn't produce a satisfactory answer why it doesn't work.
Does any javascript guru knows about this behavior, and what would be the best practice to jump to an anchor via javascript?
Hi all
I developing a Ipad application I am trying to use Webview but not able to open the URL in webview I am using following code
NSURL *fileURL = [[[NSURL alloc] initWithString:@"http://www.google.com/"] autorelease];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:fileURL];
[webview loadRequest:requestObj];
this code working well for Iphone app not not working for Ipad app. Is anything wrong.
Thanks Amit Battan
Does anyone know of a quick color picker widget that I could grab to use in my application? I've seen one in a few different applications that has a wheel with colors, and that you tap in the center to select, but I'm not sure where to find it. Google brings up nothing. Any color picker would be fine though.
Thanks.
I have this:
_launcherView.pages = [NSArray arrayWithObjects:
[NSArray arrayWithObjects:
[[[TTLauncherItem alloc] initWithTitle:@"New Note"
image:@"bundle://Icon.png"
style:TTSTYL
URL:@"http://www.google.com/" canDelete:NO] autorelease],
[[[TTLauncherItem alloc] initWithTitle:@"To Do Items"
image:@"bundle://Icon.png"
URL:@"http://www.yahoo.com/" canDelete:NO] autorelease],
nil],
nil];
How can I set the width and height for the items? I want all items to be 64x64 pixels.
Thanks