background preloader

PopupTest

Modifying File Downloads Dynamically in ASP.NET Often we have to provide our customers with downloading links which must allow them to download specific files for each customer depending for example on the previously entered account or any registration information. Introduction Often we have to provide our customers with downloading links which must allow them to download specific files for each customer depending for example on the previously entered account or any registration information. The web page has following interface: on the first web page user must enter user name and on the next page we providing this user with the link to download a copy of an application. There are lots of methods for implementing such functionality. This task can be performed in three simple steps: Load the downloadable file into the memory. Lets go ahead and explore each of these steps. Customizing the downloading process The whole process consists of two steps: combining of the web Response steam and providing this response with correct HTTP headers.

Welcome to BugGuide.Net! How To Raise a "File Download" Dialog Box for a Known When you serve a document from a Web server, you might want to immediately prompt the user to save the file directly to the user's disk, without opening it in the browser. However, for known MIME (Multipurpose Internet Mail Extensions) types such as Microsoft Word ("application/ms-word"), the default behavior is to open the document in Internet Explorer. You can use the content-disposition header to override this default behavior. Its format is: Content-disposition: attachment; filename=fname.ext Content-disposition is an extension to the MIME protocol that instructs a MIME user agent on how it should display an attached file. When Internet Explorer receives the header, it raises a File Download dialog box whose file name box is automatically populated with the file name that is specified in the header. There are two ways that you can use Internet Explorer to specify a content-disposition header for a file: dynamically and statically. ( )

What's That Bug? Coding4Fun Getting started with Cinder for Windows Store Apps Rick Barraza will present a high level overview of the state of creative coding on Windows Store apps and then walk through setting up and working with the Cinder library in Visual Studio for creating amazing computational art. MissionControl - A Flexible API for Remote Device Control In a race to optimize everything, developers often go to extremes to build software that performs routine tasks. MissionControl is a system that allows users to program a control center that stores interfaces with attached hardware sensors, allowing the users to control any other devices that can be activated via the underlying protocol. Panoramic Camera Head The Pano Head is a rotating platform for a camera that mounts on a tripod and is controlled from your Windows Phone 8 device over Bluetooth. Articles 3 minutes, 49 seconds See More How-To Articles…

Primate Info Net Google Web Accelerator: Hey, not so fast - an alert for web app Google’s web accelerator seems like a good thing for the public web, but it can wreak havok on web-apps and other things with admin-links built into the UI. How’s that? The accelerator scours a page and prefetches the content behind each link. This gives the illusion of pages loading faster (since they’ve already been pre-loaded behind the scenes). Here’s the problem: Google is essentially clicking every link on the page — including links like “delete this” or “cancel that.” We discovered this yesterday when a few people were reporting that their Backpack pages were “disappearing.” This wouldn’t be much of a problem on the public web since it’s pretty tough to be destructive on public web pages, but web apps, with their admin links here and there, can be considerably damaged. Update: If you use Ruby on Rails for your web-apps, here’s some code to just say no to Google Accelerator.

Belize  -  Travel Photos by Galen R Frysinger, Belize Belize - Order FREE Brochure! the country Photos from 1990 Belize City Colonial style restoration Other Photos from Belize City Fish Market Waterfront Orange Walk Town More Photos of Orange Walk Town Photos of the Countryside Mask Temple, Lamanai More Photos of Lamanai (2011) Xunantunich Maya site Photos of other Mayan sites in Belize Abandoned Sugar Mill local transport Ambergris Caye Other Photos from Ambergris Caye Recommended Guide Books Return to People and Places Photos of other Central American countries Costa Rica El Salvador Guatemala Honduras Nicaragua Panama Return to People and Places

Joel on Software - Making Wrong Code Look Wrong by Joel Spolsky Wednesday, May 11, 2005 Way back in September 1983, I started my first real job, working at Oranim, a big bread factory in Israel that made something like 100,000 loaves of bread every night in six giant ovens the size of aircraft carriers. The first time I walked into the bakery I couldn’t believe what a mess it was. The sides of the ovens were yellowing, machines were rusting, there was grease everywhere. “Is it always this messy?” “What? Oh boy. It took me a couple of months of cleaning the bakery every morning before I realized what they meant. Clean did not mean the paint on the ovens was nice and white. The whole concept of clean in the bakery was something you had to learn. After two months in the bakery, you learned how to “see” clean. Code is the same way. When you start out as a beginning programmer or you try to read code in a new language it all looks equally inscrutable. For example, in C: char* dest, src; Even more subtle: if (i ! if (i ! 1. 2. 3. 4. An Example Right.

View Flickr slideshows Cover Flow style - Download Squad One of the things that makes Flickr so mesmorizing is the ability to watch image sets using Flickr's slick slideshow feature. But if you're looking for an alternative slideshow viewer, you might want to check out Flickr Cover Flow or Flickr Guckn. Both sites essentially do the same thing. They let you view Flickr sets using a Apple Cover Flow-style slideshow player. Guckn is probably the easier site to use. Basically you can take any Flickr photoset and replace "flickr" in the URL with "guckn." Flickr Cover Flow gives you a few more options. Neither site offers an embeddable player, which is a little disappointing. [via BrentEvans Geek Tonic] Tags: cover-flow, flickr, guckn, images, slideshows

BrowserCam : Screen capture and Remote Access service for cross Hover Flies - All About Hoverflies Fig 1 The Drone Fly Eristalis tenax (Left) & Honey Bee - Apis melifera (Right) feeding on everlasting Daisy Fig 2. The Common Wasp ( paravespula vulgris ) Left compared to the Hover Fly Right (Chrysotoxum cautum - female) Fig 3. The Bumblebee (Bombus ) Below Left compared to the Hover Fly Below Right (Volucella bombylans) Comments (a) In the Eristalis species there are more subtle varieties as they attempt to emulate the various form the honey bee takes Merodon equestris var naricisus, var equestris. . Fig 8: Hover Fly Larvae Grazing on aphids

CrazyEgg - Measuring Web Site Usability In Jakob Nielsen's latest book, Prioritizing Web Usability, the usability guru presents his latest discoveries on how to design usable web sites. His meticulous research is based on lab experiments, with thousands of users of diverse backgrounds. Dr. Getting advice from the book is great, but how can you measure the usability of your site? The idea behind CrazyEgg Like most good ideas, the idea behind CrazyEgg is simple - show the hotspots where users click on in a site. Traditional site tracking tools offer you a ton of information, including: Popular pagesEntry pagesExit pagesCame fromVisitor PathsVisit Length Ironically, it is not possible to use this information to understand what users actually do on the page. Setting up CrazyEgg The service setup is straightforward and similar to all tracking services. After you start the test, it runs automatically and you can check the results while it is running - as well as after the test is finished. Interpreting CrazyEgg's information Conclusion

Related: