Make your own eBooks

Use our Remix App to mix & match content. In minutes make your own course packs, training bundles, custom travel guides, you name it. Even add your own title & cover.


Slices & Articles Get by the slice or add to your own ebook

Medium 9781449343507

A. Leftovers: The top things we wanted to include in this book

Jennifer Greene O'Reilly Media ePub

The funs just beginning!

Weve shown you a lot of great tools to build some really powerful software with C#. But theres no way that we could include every single tool, technology, or technique in this bookthere just arent enough pages. We had to make some really tough choices about what to include and what to leave out. Here are some of the topics that didnt make the cut. But even though we couldnt get to them, we still think that theyre important and useful, and we wanted to give you a small head start with them.

Looking to learn more about programming Windows Store apps? Microsoft has some fantastic resources to help you learn. The first step is downloading the Windows 8 Camp Training Kit, which has presentations, samples, links to really useful resources, and most importantly, a set of hands-on labs that teach you about everything from capturing data from a devices camera to adding live tiles and push notifications to your apps. You can download the installer for the Windows 8 Camp Training Kit here:

See All Chapters
Medium 9781449397227

8. Selectors and Selection Methods

David Flanagan O'Reilly Media ePub

Weve been using the jQuery selection function, $(), with simple CSS selectors. It is now time to study the jQuery selector grammar in depth, along with a number of methods for refining and augmenting the set of selected elements.

jQuery supports a fairly complete subset of the selector grammar defined by the CSS3 Selectors draft standard, with the addition of some nonstandard but very useful pseudoclasses.

The selector grammar has three layers. Youve undoubtedly seen the simplest kind of selectors before. #test selects an element with an id attribute of test, blockquote selects all <blockquote> tags in the document, and div.note selects all <div> tags with a class attribute of note. Simple selectors can be combined into selector combinations such as div.note>p and blockquote i by separating them with a combinator character. And simple selectors and selector combinations can be grouped into comma-separated lists. These selector groups are the most general kind of selector that we pass to $(). Before explaining selector combinations and selector groups, we must explain the syntax of simple selectors.

See All Chapters
Medium 9781574415643

Sight Gags

/products/authors/331981/list /products/publishers/11080/list PDF
Medium 9780596007256

9. The Registry

Robbie Allen O'Reilly Media ePub

The Registry is the primary repository for system, application, and user profile configuration information for the Windows operating system. It is a hierarchical database that is structured and used much like a filesystem. The operating system uses the Registry to store information as static as environment variables and as dynamic as performance data. The Registry is constantly being used by the OS and applications to read, write, and query configuration settings.

You have probably seen this warning or one similar to it in an article, book, or Microsoft KB article:

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

We think this type of warning has made some people overly cautious about modifying or even browsing the Registry. We’re here to say that it doesn’t have to be that way. Sure, you can muck up the Registry, just like you can muck up the operating system or just about any application if you haphazardly delete or modify things. But you are a reasonable person who won’t go around making changes on a production system unless you know the impact, so let’s put concerns about modifying the Registry behind us and move forward. Use the Registry as a great source of configuration information and as a tool for customizing the operating system.

See All Chapters
Medium 9781937538330

15 There’s No Such Thing as Bad Weather

Sandra Petrowitz Rocky Nook-IPS ePub

It’s Just Rain, Fog, Snow, Storms...

“It would have been such a nice day for shooting if only the weather had cooperated.” Who isn’t familiar with this complaint? When we travel, we’re often met with rain and fog instead of sunshine, or ice and snowfall instead of pleasant temperatures, or stormy winds instead of a gentle breeze. But what we call bad weather doesn’t have to put an end to photography. As is so often the case, you get what you make of a situation.

Initially, “bad weather” just means that you need to prepare yourself for the conditions at hand, which implies protecting yourself and your gear appropriately (see the chapter “Better Safe Than Sorry”, page 196). It also means you’ll need to look for photographic opportunities amid the prevailing weather. There were fairly typical weather conditions when I took the picture of a King penguin on the island of South Georgia (opposite) – four seasons represented within a single hour. Rain, sleet, and wind gusts all appeared. It’s partly because of their oiled plumage that King penguins can withstand harsh weather. In the photo of the sleeping animal whose feathers are covered in raindrops, I intended to reveal exactly this.

See All Chapters

See All Slices