This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "string_example":"Rob Hayward", "another_string_example":"[email protected]", "number_example":1, "boolean_example":true }, | |
{ "string_example":"Rob Haywarder", "another_string_example":"[email protected]", "number_example":2, "boolean_example":false }, | |
{ "string_example":"Rob Haywarded", "another_string_example":"[email protected]", "number_example":3, "boolean_example":true } | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.class-for-page-elements').live("hover", function(event) { | |
var imageElement = event.element; | |
var url = $(imageElement).attr('src'); | |
alert('You hovered an element with this url: ' + url); | |
$(imageElement).doSomeCoolZoomPluginStuff(); | |
} | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bookletPreloader(pageNumber, numberOfPagesToPreload, bookletId) | |
{ | |
this.booklet = $(bookletId); | |
this.numberOfPagesToPreload = numberOfPagesToPreload; | |
this.pageNumber = pageNumber; | |
this.createPreloadContainer = function() { | |
var html = '<div class="booklet-preloader-container">ads</div>'; | |
if (!this.containerElement) | |
{ | |
$('body').append(html); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<head> | |
<title>Preloader Idea - (More than one way to skin pussy cat)</title> | |
<style> | |
.preloader-container { display: none; } | |
</style> | |
</head> | |
<body> | |
<div class="preloader-container"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Release script | |
# | |
# A zip file will be produced with a release date and saved to the desktop | |
# | |
if [ "$1" = "" ] | |
then | |
echo "Error: $0 No project name given" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "FASFormationFactory.h" | |
@implementation FASFormationFactory | |
+ (void)test | |
{ | |
FASFormationFactory *factory = [[FASFormationFactory alloc] init]; | |
NSArray *map = [factory formationForContainer:CGSizeMake(320.0f, 400.0f) lines:[NSArray arrayWithObjects:@"1", @"4", @"4", @"2", nil] itemSize:CGSizeMake(67, 100)]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)midPointsForContainerWidth:(CGFloat)containerWidth itemWidth:(CGFloat)itemWidth itemCount:(NSInteger)itemCount | |
{ | |
CGFloat itemSpace = (containerWidth - (itemCount * itemWidth)) / (itemCount + 1); | |
for (int i = 0; i < itemCount; i++) { | |
CGFloat point = itemSpace + ((itemWidth / 2)); | |
if (i > 0) { | |
point += (itemWidth * i); | |
point += (itemSpace * i); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>We appreciate the time spent by many markets to complete our satisfaction survey. Your feedback is still highly appreciated.</p> | |
<p>Unfortunately the survey is now closed however if you would like to provide any general feedback please feel free to email Karen Peeters:</p> | |
<p><a href="mailto:[email protected]">[email protected]</a></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// FASWindowState.m | |
// FAS | |
// | |
// Created by Rob Hayward on 14/11/2012. | |
// | |
#import "FASWindowState.h" | |
#import "FASWelcomeViewController.h" | |
#import "FASTeamsTabBarController.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"dob":"29/01/1984","firstname":"Robin","email":"[email protected]","surname":"Hayward","uid":"0"} |