- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| #!/bin/bash | |
| for file in */ ; do | |
| if [[ -d "$file" && ! -L "$file" ]]; then | |
| echo "----------------------------------------------------------------------------------------" | |
| echo "🍄 Pulling $file" | |
| cd $file | |
| git pull --verbose | |
| cd .. | |
| echo "----------------------------------------------------------------------------------------" |
| <? | |
| // | |
| // [ BUY BTC & ETH DAILY ON BITSTAMP ] | |
| // by @levelsio | |
| // | |
| // 2017-08-23 | |
| // | |
| // 1) buy $40/day BTC | |
| // 2) buy $10/day ETH | |
| // |
A common task when developing iOS apps is to register custom cell subclasses for both UITableView and UICollectionView. Well, that is if you don’t use Storyboards, of course.
Both UITableView and UICollectionView offer a similar API to register custom cell classes:
public func registerClass(cellClass: AnyClass?, forCellWithReuseIdentifier identifier: String)
public func registerNib(nib: UINib?, forCellWithReuseIdentifier identifier: String)| // Created by Andrew on 24.08.13. | |
| // Copyright (c) 2013 Andrew Tokarev. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| #import <MessageUI/MessageUI.h> | |
| @interface MailComposerBuilder : NSObject<MFMailComposeViewControllerDelegate> | |
| + (id) builder; |
| #import <UIKit/UIKit.h> | |
| @interface UIApplication (Notifications) | |
| - (void) registerForAllNotificationTypes; | |
| @end |
| { | |
| "log": ["CRUD", "CRUD+", "HTTP", "HTTP+", "Access", "Cache", "Changes", "Changes+"], | |
| "interface":":4984", | |
| "adminInterface":":14985", | |
| "facebook":{ | |
| "register":true | |
| }, | |
| "databases":{ | |
| "gw":{ | |
| "users": { |
| { | |
| "log": ["CRUD", "CRUD+", "HTTP", "HTTP+", "Access", "Cache", "Shadow", "Shadow+", "Changes", "Changes+"], | |
| "interface":":4984", | |
| "adminInterface":":14985", | |
| "facebook":{ | |
| "register":true | |
| }, | |
| "databases":{ | |
| "gw":{ | |
| "server":"http://localhost:8091", |
| { | |
| "log": ["CRUD", "CRUD+", "HTTP", "HTTP+", "Access", "Cache", "Shadow", "Shadow+", "Changes", "Changes+"], | |
| "interface":":4984", | |
| "adminInterface":":14985", | |
| "facebook":{ | |
| "register":true | |
| }, | |
| "databases":{ | |
| "gw":{ | |
| "server":"walrus:data", |
| # Xcode | |
| .DS_Store | |
| /build/* | |
| */build/* | |
| *.pbxuser | |
| !default.pbxuser | |
| *.mode1v3 | |
| !default.mode1v3 | |
| *.mode2v3 |