Load blank page with empty memory - memory

I would like to play around with Google Chrome Memory DevTools panel. The problem is, when I load empty (blank) page it already contains some memory (1.4MB) containing nodes such as:
(system)
(array)
(compiled code)
(closure)
Window
Document
...
That causes some noise in my testing. Can I have fully empty site? Is this even possible?

Related

get output in webview application

I can print out using the "window.print" command with javascript, but when I run my web application with webview, this command does not work. I searched for a long time and learned that javascript functions such as print or file are not allowed in webview applications, so I started to search for an alternative way, for example, adding an android button to the field I want to print out. . When I click on this button, I want to be able to output the div whose id I specified and its contents, of course, the css & styles applied to those divs should also appear in the output.

Transferred site doesn't show content with PMWiki

A relatively simple pmwiki site has been copied to a new server. All of the formatting (non-wiki) code works however the wiki content comes up as blank.
If I add a new page, that page shows up just fine.
I have checked the permissions and ownership of the files in wiki.d folder. All files (new and old) look identical.
I have eliminated the search optimization file in hopes that the old would be treated like the new.
Is there another file that references older files that might be keeping them from being seen? Any ideas would be welcome.
I've never had this problem before in copying a pmwiki site.
Here is the site http://pecarru.mobilify.pw/
Here is the new page http://pecarru.mobilify.pw/index.php?n=Main.NewPage
All pages should have text in the white box
The page-source is available by appending &action=source, so that tells us there is no problem accessing the content.
Additionally, the content looks normal -- no weird characters that I can see (which sometime cause trouble on a new server).
However, I do see "smart quotes" in several pages; try changing changing them to dumb-quotes and see if the page will now render.
I see that the WikiSandbox page and content in the PmWiki group renders, so it's not every page that has a problem.
If editing doesn't resolve the issue, try disabling recipes in \local\config.php until the content appears.
Something is choking on render.

Display offline html5 website

For my business I need to be able to show a potential client a website I generate with a program called Pano2VR, which is a virtual tour program. This program takes some panoramic photos linked with each other and can generate a virtual tour out of them (as example: www.casas-fotoart.de/virtualtours ). The output this App gives can be either HTML5, Flash or both (flash if available and html5 for mobile devices, for example).
I need to be able to show that on my iPad while offline. i haven't found any solution for that so I tried to build a easy App for that, which I thought it wouldn't be complicated.
I generated a html5-only virtual tour and I droped the output into the "Suporting Files" group on the Xcode project. I added a UIWebView and on viewDidLoad I set it so it loads the html file.
The files I'm droping are like these (these inside the ipad folder):
The html file loads into the webView, but it just displays "This content requires HTML5/CSS3, WebGL, or Adobe Flash Player Version 9 or higher.", even though when loading these files from the net, it loads perfectly. I know this message comes from the html file.
Any idea on how to make it work will be much appreciated. Thanks in advance.
Your problem is this probably - XCode is mangling the JS files, I assume because it's trying to compile them

umbraco richtext editor deleted

I had a problem with umbraco richtext editor, it was not letting me insert images, so I followed a forum and deleted the richtext editor datatype in the developer section, then i recreated the richtext editor datatype with the same settings.
My problem is: all the properties in the node which were of type RichText editor have disappeared from the content pages. i cant see the text and the editor. But i can still see the content on the website!
so i cannot edit them from the content section but i can see them on the website!
Kindly, help!
Most likely you need to add the bodyText property (or whatever you were using) to the document type(s) again. It's possible that the data was also removed, so beware republishing a node until you have the text back in there.
The reason you can still see the content on the site is because when a node is published, it's properties are cached. When the site has to access a property for the front end, it pulls it from the cache rather than getting it directly from the database. This allows the site to perform faster.
So add the rich text editor back to the document type. Copy the text from the front end back into the backend (hopefully you don't have a million pages), and always perform a backup of the site, database and all, before attempting fixes of this nature.
Have you tried access Developer/Data Types/Richtext editor and set again the options that you want?

how can I prevent Excel 2003 from checking every hyperlink in a document when the document opens?

I have a spreadsheet that has several worksheets, each containing a hundred or so hyperlinks to other documents on our network (file:////server/share/path/to/spreadsheet.xls). Opening these files within Excel 2003 takes a very long time, compared to how long it takes to open in 2007 or 2010. I took a look in Task Manager at the network tab to see what was going on when these files are opened and noticed a lot of steady network traffic while the file was opening, and as soon as the spreadsheet finally displayed on the screen, the network traffic dropped down to almost nothing. As I removed some of those links, the file would open faster, until I finally got rid of all the links and the file opened almost as fast as any other normal spreadsheet. Is there a way to prevent Excel from doing whatever it's doing with those links when the file first opens?
This is a programming-related forum so:
Workbooks.Open AFile, False
See: http://msdn.microsoft.com/en-us/library/ff194819.aspx

Resources