例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
RUN cd /usr/local/share/fonts/ \ | |
&& wget "https://github.com/googlei18n/noto-cjk/blob/master/NotoSansCJKsc-Medium.otf?raw=true" \ | |
&& fc-cache -f -v |
以下転載:
<ABToggleButton isEditing={true}/>
createToggleButton(a, b);
We are building a Node.js service which will need asynchronous support for tasks like sending emails. Here's our evaluation:
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
package vending; | |
public class Drink { | |
public static final int COKE = 0; | |
public static final int DIET_COKE = 1; | |
public static final int TEA = 2; | |
private int kind; |
Option Explicit | |
Dim max | |
Dim min | |
'=============================================================================== | |
':: 最大(max)・最小(min)のパスワード長を設定してください | |
max = 10 | |
min = 3 | |
'=============================================================================== | |
':: ここから下はいぢらないでください |
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
import webapp2 | |
import mimetypes | |
import os | |
import time | |
from datetime import datetime | |
import base64 | |
_here = os.path.dirname(__file__) | |
USERNAME = 'foo' |