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
resource "random_password" "db_master_pass" { | |
length = 40 | |
special = true | |
min_special = 5 | |
override_special = "!#$%^&*()-_=+[]{}<>:?" | |
keepers = { | |
pass_version = 1 | |
} | |
} |
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
brew services start mysql |
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 <Foundation/Foundation.h> | |
@interface NSArray (SafeAccess) | |
- (instancetype)withoutNulls; | |
- (instancetype)arrayByRemovingObjectsOfClass:(id)obj; | |
- (id)objectAtIndex:(NSUInteger)index ifKindOf:(Class)kind; | |
- (id)objectAtIndex:(NSUInteger)index ifKindOf:(Class)kind defaultValue:(id)defaultValue; |
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
Personal Hub Ideas (work in progress) | |
features: | |
* get RSS updates/twitter timeline/emails/notifications/search alerts/... | |
* remove duplicates/copy&paste articles | |
* server based - to be able to read from desktop/iphone | |
* easy to import/export data - apml | |
* quick glance - see quickly if it is worth reading now (tag cloud sorted by occurrence) | |
* postrank - highlight important items (see postrank.com) and discover new sources | |
* easy to bookmark/share. |