Skip to content

Instantly share code, notes, and snippets.

// This file is part of the jQuery formatCurrency Plugin.
//
// The jQuery formatCurrency Plugin is free software: you can redistribute it
// and/or modify it under the terms of the GNU General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// The jQuery formatCurrency Plugin is distributed in the hope that it will
// be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
**Privacy Policy**
David Olesch built the Book Scan app as a Free app. This SERVICE is provided by David Olesch at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Book Scan unless otherwise defined in this Privacy Policy.
@davidolesch
davidolesch / TenSwiftStyleRules.swift
Last active March 8, 2019 00:53
Good Swift Style and Conventions
/*
____ _ __ _
/ ___|_ _(_)/ _| |_
\___ \ \ /\ / / | |_| __|
___) \ V V /| | _| |_
|____/ \_/\_/ |_|_| \__|
Good Swift Style and Conventions
import Foundation
protocol Randomizable {
init?(rawValue:Int)
static var min:Int { get }
static var max:Int { get }
}
extension Randomizable {
static var random:Self? {
#import "AppDelegate.h"
@import AcceptSDK;
@interface AppDelegate ()
@end
@implementation AppDelegate
<a href="alertsenseapp://alertsense.com/Polling/119571">alertsenseapp://alertsense.com/Polling/119571</a>
@davidolesch
davidolesch / AlertID.html
Last active January 29, 2016 17:21
AlertID
<a href="alertsenseapp://alertsense.com/Alerts/116810">alertsenseapp://alertsense.com/Alerts/116810</a>
<a href="alertsenseapp://alertsense.com/login?UserName=david.rabbit">alertsenseapp://alertsense.com/login?UserName=david.rabbit</a>
@davidolesch
davidolesch / gist:9309862
Last active November 16, 2015 17:19
Lesson 2 presented March 4th 2014
//action connected to Random Location button
- (IBAction)touchedRandomLocation:(id)sender {
//create a list of cities
NSArray *cities = @[@"New York, NY",@"Los Angeles, CA",@"Chicago, IL",@"Philadelphia, PA",@"Phoenix, AZ",@"San Diego, CA",@"San Jose, CA",@"Jacksonville, FL",@"Indianapolis, IN",@"San Francisco, CA"];
//choose a random integer less than the count of cities
int randomIndex = arc4random_uniform((int)[cities count]);
//choose the city from the cities list at the random integer index
NSString *city = [cities objectAtIndex:randomIndex];
@davidolesch
davidolesch / Best-iOS-engineering-and-indie-business-blogs
Last active August 29, 2015 14:12
High quality iOS engineering and indie business blogs that continuously release new good content.
News Sources
============
(https://twitter.com/DavidOlesch/following)[https://twitter.com/DavidOlesch/following]
http://hn.algolia.com/legacy#!/story/sort_by_date/prefix/0/ios
http://www.watchkitresources.com/
Technical Blogs
===============
http://subjc.com/
http://petersteinberger.com/blog/archives/