I have a website and when I check page speed with Google plug-in, I receive:
Leverage browser caching
The following resources are missing a cache expiration
Where can I change the settings for this?
Looking for ideas on how to detect when our Windows application is running in one of the following VM environments. Some starter ideas for detection are in parentheses. There may be (much) better detection techniques - the starter ideas I've come up with are based on my Google research.
VMWare (looking for the presence of optional VMware Tools is one way)
Microsoft Virtual PC (have a device named "Virtual HD" for their IDE disks, "MS Virtual SCSI Disk Device" for their SCSI disks)
Citrix Xen
Sun Virtual Box
Thank you,
Malcolm
As the title said:
Is it possible to send an email (using php mail()) and after sending the email, auto redirect to another page. All the codes will be in single php file?
Code-wise, should be something like this:
if(mail(argument...)){
header("Location: www.google.com");
}
I think I would get a: "Error: header information already sent" or something like. But what if I want to send email and then auto-redirect on that page?? Possible?
Which of IDE's I'm more likely to meet in an office? Borland or Visual Studio? I wouldn't ask this question here (I could use google and type which is better) only for a reason that in my previous cariere as an engineer I worked (and most of my friends) all the time on AutoCAD not on Microstation even though Microstation had always been better software (stability, conforming to standards, ease of use etc.).
Thanks for answers.
Let's say there's a table created as follows:
create table testTable ( colA int not null )
How would you drop the not null constraint? I'm looking for something along the lines of
ALTER TABLE testTable ALTER COLUMN colA DROP NOT NULL;
which is what it would look like if I used PostgreSQL. To my amazement, as far as I've been able to find, the MySQL docs, Google and yes, even Stackoverflow (in spite of dozens or hundreds of NULL-related questions) don't seem to lead towards a single simple SQL statement which will do the job.
Simple question: is there a character that looks either like Pac-Man, or like the ghost in Pac-Man?
With Google's recent Pac-Man logo, everyone should know what these look like, but in case you don't here are some sample images:
If you answer "no" please provide a little more proof that you actually searched all unicode characters...
i am looking after a autosuggest with debounce feature and i have been looking around search on this site and also google but did not find anything that is working.
i am looking for sample code work with asp.net web forms autosuggest.
any help?
Every 15-30 minutes Netbeans shows a "java.lang.OutOfMemoryError: PermGen space". From what I learned from Google this seems to be related to classloader leaks or memory leaks in general.
Unfortunatly all suggestions I found were related to application servers and I have no idea to adapted them to Netbeans. (I'm not even sure it's the same problem)
Is it a problem in my application? How can I find the source?
<?php
$url = 'http://google.com/';
header('Location: ' . $url);
The xdebug setting in php.ini is:
zend_extension=path_to_xdebug.dll
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
The above header() redirection will work as long as I remove the xdebug setting.
Anyone met this problem?
I've tried integrating sfPHPOpenIdPlugin but that hit a dead-end since it's built for Symfony 1.2 and relies on deprecated PHP functionality; I also had a go with sfGoogleLoginPlugin which did authenticate correctly but lacks extended capability to retrieve user details (+ would restrict me to Google; obviously).
I'm thinking the most viable solution is to link in one of the various PHP libraries available into my model.
I'm wondering if anyone else has had any success/tips with such an integration and what libraries to consider?
Looking at http://www.nearmap.com/,
Just wondering if you can approximate how much storage is needed to store the images?
(NearMap’s monthly city PhotoMaps are captured at 3cm, 5cm, 7.5cm, or 10cm resolution)
And what kind of systems/architecture is suitable to deliver those data/images?
(say you are not Google, and want to implement this from scratch, what would you do? )
ie. would you store the images in Hadoop, and use memcache to deliver etc ?
Could somebody please explain to me why people warn about commit conflicts occuring from a rebase operation?
I tried reading about this by searching google but had some trouble understanding. If it matters, I am using ClearCase revision control.
I am referring to the popup window that asks the user to submit a review/rating.
I know it can be done since the Aardark app does it...it asks several times in fact! (Almost too spammy.) But there has to be an API to trigger the rating request? Google is giving me no love on this one.
This question is along the same lines as What are some funny loading statements to keep my users amused, I want screenshots of all the coolest "error" pages site's throw up when something's broken.
I know pandora.com talks about a panda ravaging it's way through the office, twitter's has the little birds floating around or something, sourceforge had one with some funny robots the other day.
I'm sure I saw a blog once that had a bunch of them, but it's kinda hard to google "error pages".
Community Wiki, of course :)
Hi all,
I wish to create a view like
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<System.DateTime?>" %>
but I get an error saying that DateTime must be a reference type in order to use for parameter TModel.
Fair enough, but I google plenty of examples that implement just what I try to achieve.
Any clues as to what I need to change/install/update?
Any comments welcome,
Anders, Denmark
Inspired by this question and answer, how do I create a generic permutations algorithm in F#? Google doesn't give any useful answers to this.
EDIT: I provide my best answer below, but I suspect that Tomas's is better (certainly shorter!)
Hello,
Does anyone know of a good javascript DOM ready library that I can use without loading an entire framework? I found one on google code that seems to work, but the library was posted in 2008 and I can't find any confirmation on up-to-date cross browser support.
Thanks, Brian
I want to build the toolchain for iphone on the snow leopard.I search on google and the answer is always for leopard.I replant it on snow leopard but there are some error.I can't build it.Does somebody had build it?
When I study about cloud-computing, I usually see these terms: on-premise, off-premise applications. I tried to search them on Google, but no luck. Can anyone please explain me these terms?
Thank you so much.
I'm trying to learn the MapKit with Monotouch and I'm having difficulty figuring out how to search for an address. I finally found this snippet of Objective-C code that might help but it has a line where they use a URL to get a return value and I have no idea how to use this code in C#:
NSString *urlString = [NSString stringWithFormat:@"http://maps.google.com/maps/geo?q=%@&output=csv",
[addressField.text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
If anyone could give me some advice that would be helpful.
i just noticed the guard method/class mentioned in this question and i don't really get the concept from the answers. And alas, Jon Skeet's link to an MS site never loaded. A few quick Google searches seemed to yield only products, not software engineering concepts.
Any explanation and/or samples would be appreciated. (Especially from the .Net side of things.)
I need to set a PHP $_SESSION variable using the jQuery. IF the user clicks on an image I want to save a piece of information associated with that image as a session variable in php.
I think I can do this by calling a php page or function and appending that piece of info to the query string.
Any ideas. I have found little help through google.
thanks
mike
I used psubst drive1: drive2:path /P to create the persistent virtual drive, I found that's greate, but when I delete files in those drives, they didn't appeared in the Recycle Bin, so How can I restore them?
you can find more detail about psubst here:
http://code.google.com/p/psubst/