This is my list of the best Go packages I have found. They're not always the top search results.
- Worker pool: https://github.com/alitto/pond
- File watcher: https://github.com/cortesi/modd
- Errors: https://github.com/cockroachdb/errors
This is my list of the best Go packages I have found. They're not always the top search results.
| import UIKit | |
| // fixing Bug in XCode | |
| // http://openradar.appspot.com/18448072 | |
| extension UIImageView { | |
| override public func awakeFromNib() { | |
| super.awakeFromNib() | |
| self.tintColorDidChange() | |
| } | |
| } |
Currently, there is an explosion of tools that aim to manage secrets for automated, cloud native infrastructure management. Daniel Somerfield did some work classifying the various approaches, but (as far as I know) no one has made a recent effort to summarize the various tools.
This is an attempt to give a quick overview of what can be found out there. The list is alphabetical. There will be tools that are missing, and some of the facts might be wrong--I welcome your corrections. For the purpose, I can be reached via @maxvt on Twitter, or just leave me a comment here.
There is a companion feature matrix of various tools. Comments are welcome in the same manner.
| # npm using https for git | |
| git config --global url."https://github.com/".insteadOf [email protected]: | |
| git config --global url."https://".insteadOf git:// | |
| # npm using git for https | |
| git config --global url."[email protected]:".insteadOf https://github.com/ | |
| git config --global url."git://".insteadOf https:// |
| class CustomCell: UITableViewCell, Reusable { | |
| class var reuseIdentifier: String { | |
| return "customCell" | |
| } | |
| } | |
| class SupaHotCustomCell: CustomCell { | |
| override class var reuseIdentifier: String { | |
| return "supaHotCustomCell" | |
| } |
Values of macros from TargetConditionals.h.
Xcode 7 / iOS 9.1, tvOS 9.0, watchOS 2.0, OS X 10.11 SDKs
| Macro | 🖥 | 📱 | 📱sim | ⌚️ | ⌚️sim | 📺 | 📺sim |
|---|---|---|---|---|---|---|---|
TARGET_OS_MAC |
1 | 1 | 1 | 1 | 1 | 1 | 1 |
TARGET_OS_IPHONE |
0 | 1 | 1 | 1 | 1 | 1 | 1 |
TARGET_OS_IOS |
0 | 1 | 1 | 0 | 0 | 0 | 0 |
TARGET_OS_WATCH |
0 | 0 | 0 | 1 | 1 | 0 | 0 |
| mysqld.exe --skip-grant-tables | |
| mysql | |
| UPDATE mysql.user SET Password=PASSWORD('TopSecret') WHERE User='root'; | |
| FLUSH PRIVILEGES; | |
| "D:\Programme\mariadb-10.0.12-winx64\bin\mysqld.exe" |
| // | |
| // Swift.IO | |
| // | |
| // Created by Alec Thomas on 25/02/2015. | |
| // Copyright (c) 2015 SwapOff. All rights reserved. | |
| // | |
| // | |
| // This file provides a consistent, simple interface to stream-based data sources. | |
| // It is based on Go's I/O library. | |
| // |