Skip to content

Instantly share code, notes, and snippets.

@Jaybles
Jaybles / jEmbedConfirm.css
Created December 23, 2011 14:56
jQuery Plugin to Embed Confirmation Dialog into a given object
/* 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:#333;
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);
@Jaybles
Jaybles / UIDeviceHardware.h
Created October 28, 2011 19:33
UIDeviceHardware - Determine iOS device being used
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
- (NSString *) platform;