Skip to content

Instantly share code, notes, and snippets.

Jaybles / UIDeviceHardware.h
Created Oct 28, 2011
UIDeviceHardware - Determine iOS device being used
View UIDeviceHardware.h
// UIDeviceHardware.h
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
- (NSString *) platform;
Jaybles / jEmbedConfirm.css
Created Dec 23, 2011
jQuery Plugin to Embed Confirmation Dialog into a given object
View jEmbedConfirm.css
/* Styles for the Plugin. These are not required, but suggested highly */
.confirmBox{ /* This is the main class name passed to embedConfirm() */
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#666666), to(#000000));
background-image: -moz-linear-gradient(#666666, #000000);
background-image: -webkit-linear-gradient(#666666, #000000);
background-image: -o-linear-gradient(#666666, #000000);
You can’t perform that action at this time.