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
- (CGFloat)cellWidthForStyle:(UITableViewStyle)style accessoryType:(UITableViewCellAccessoryType)accessoryType { | |
CGFloat width = self.view.frame.size.width; | |
CGFloat accessoryWidth; | |
CGFloat margin; | |
if (IOS7) { | |
if (accessoryType == UITableViewCellAccessoryDisclosureIndicator) { | |
accessoryWidth = 33; | |
} | |
} else { | |
if (accessoryType == UITableViewCellAccessoryDisclosureIndicator) { |
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
; Given a list of permutations, only keep the highest scoring option | |
; for each unique key as returned by the key function and the score | |
; function. | |
(defn prune [s key-f score-f] | |
(map (fn [[k v]] (apply max-key score-f v)) (group-by key-f s))) | |
; Iterate over the provided starting value until the condition is met. | |
(defn iterate-until [f until-f start] | |
(first (drop-while (complement until-f) (iterate f start)))) |
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
.bot_message { | |
background: #F2F2F2 !important; | |
border-top: 8px solid #F2F2F2; | |
color: #666; | |
margin: 0 !important; | |
} | |
.message { | |
margin: 4px 0; | |
} |
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
Notes apps I have tried | |
- Evernote | |
- way too busy | |
- tags | |
- skitch garbage | |
- no nested folders | |
- limited features unless you pay a subscription | |
- OneNote | |
- not really a text editor (weird text box stuff) | |
- too heavy |
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> G.K. Chesterton, The Thing</p> | |
<p>CONTENTS</p> | |
<p>1. INTRODUCTION</p> | |
<p>2. THE SCEPTIC AS CRITIC</p> | |
<p>3. Is HUMANISM A RELIGION?</p> |
OlderNewer