例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
| import Foundation | |
| final class SafeSyncQueue { | |
| struct QueueIdentity { | |
| let label: String | |
| } | |
| let queue: DispatchQueue |
| // | |
| // SpinlockTestTests.swift | |
| // SpinlockTestTests | |
| // | |
| // Created by Peter Steinberger on 04/10/2016. | |
| // Copyright © 2016 PSPDFKit GmbH. All rights reserved. | |
| // | |
| import XCTest |
以下転載:
| { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "#064", | |
| "@brand-success": "#5cb85c", |
facebook/flux 2.0.32.1.0で追加されたflux/utilsについて
see also 2015-08-17のJS: redux 1.0.0、flux-utils、Firefox 40 - JSer.info
はてなブックマーク検索を作りながらFlux Utilsについて学ぶ | Web Scratchにもっと具体的な解説を書きました
| //////////////// | |
| // on iPad Air 2 | |
| //////////////// | |
| // Boot as portrait | |
| 2015-06-15 19:57:47.597 ios9[16003:229076] viewDidLoad() | |
| 2015-06-15 19:57:47.598 ios9[16003:229076] viewWillAppear - false | |
| 2015-06-15 19:57:47.601 ios9[16003:229076] traitCollectionDidChange - nil | |
| 2015-06-15 19:57:47.602 ios9[16003:229076] viewWillLayoutSubviews() | |
| 2015-06-15 19:57:47.602 ios9[16003:229076] viewDidLayoutSubviews() |
Reposted from Qiita
For almost a year now, I've been using this "flux" architecture to organize my React applications and to work on other people's projects, and its popularity has grown quite a lot, to the point where it shows up on job listings for React and a lot of people get confused about what it is.
There are a billion explainations on the internet, so I'll skip explaining the parts. Instead, let's cut to the chase -- the main parts I hate about flux are the Dispatcher and the Store's own updating mechanism.
If you use a setup similar to the examples in facebook/flux, and you use flux.Dispatcher, you probably have this kind of flow:
Upgrading to Lion or Yosemite and WebStorm 9, I noticed key repeat was
turned off for the IdeaVim plugin h j k l keys.
defaults write -g ApplePressAndHoldEnabled -bool false in a terminal will enable
key repeat for every app. This can alternatively be found in the accessibility
settings in OS X' preferences.
| - (NSString *)text6Compatible | |
| { | |
| return self.text; | |
| } | |
| - (void)setText6Compatible:(NSString *)text6Compatible | |
| { | |
| self.text = text6Compatible; | |
| if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(7)) { |