Skip to content

Instantly share code, notes, and snippets.

View nullpixel's full-sized avatar

nullpixel nullpixel

View GitHub Profile
@nullpixel
nullpixel / gist:9d6ba16592ce2c0ee84f5c09318dc306
Last active January 29, 2017 12:41 — forked from steventroughtonsmith/gist:6763213
Non-opaque application windows in iOS 7, with optional blur. Shows the user's wallpaper under the app, with Parallax if supported.
typedef NS_ENUM(NSUInteger, UIBackgroundStyle) {
UIBackgroundStyleDefault,
UIBackgroundStyleTransparent,
UIBackgroundStyleLightBlur,
UIBackgroundStyleDarkBlur,
UIBackgroundStyleDarkTranslucent
};
@interface UIApplication (UIBackgroundStyle)
-(void)_setBackgroundStyle:(UIBackgroundStyle)style;
@nullpixel
nullpixel / Using Git to Manage a Live Web Site.md
Last active July 15, 2017 09:49 — forked from Nilpo/Using Git to Manage a Live Web Site.md
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents