#并发,core.async 和 JavaScript .footnote[http://git.io/js-csp]
layout: false
;;; ob-clojure.el --- org-babel functions for clojure evaluation | |
;; Copyright (C) 2009-2014 Free Software Foundation, Inc. | |
;; Author: Joel Boehland | |
;; Eric Schulte | |
;; Keywords: literate programming, reproducible research | |
;; Homepage: http://orgmode.org | |
;; This file is part of GNU Emacs. |
#并发,core.async 和 JavaScript .footnote[http://git.io/js-csp]
layout: false
; 当要打开一个symbolink的时候,如果symbollink到一个被git(或者其他vc)管理的文件时,emacs老问 | |
; Symbolic link to Git-controlled source file; follow link? (y or n) | |
; 配置下这个变量就好了 | |
(setq vc-follow-symlinks nil) | |
; nil 表示 不要问,no | |
; ask 表示每次都问 | |
; t 表示follow |
#!/bin/bash | |
if [[ -n ${bamboo_pull_num} ]]; then | |
echo 'stoping bamboo' | |
curl "http://${bamboo_BAMBOO_USER}:${bamboo_BAMBOO_password}@your.bamboo.domain/build/admin/stopPlan.action?${bamboo.planResultKey}-${bamboo.buildNumber}" | |
fi |
如果把每个Component想象成一个函数,那么props就是这个函数的参数。在有类型检查的语言中,很容易在编译期间就可以对参数类型检 查来避免一些不必要的错误。
javascript没有类型检查,但是我们仍然能筒高React的Prop Validation在运行期间检查props的类型。
只需要在Component声明里加上
propTypes: {
TRAVIS_TEST_RESULT=0 | |
TRAVIS_COMMIT=e7090ffc4ef844d1a066a34037c913b429d7dc2a | |
TRAVIS_OS_NAME=linux | |
TRAVIS_LANGUAGE=node_js | |
TRAVIS=true |
mac 记录了你的所有下载记录
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
> sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/20.0/mac/en-US/Firefox%2020.0.dmg
http://download.sparrowmailapp.com/appcast/Sparrow-latest.dmg
eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96, | |
# | |
# The code here is forced by the interface, and is not subject to | |
# copyright, constituting the only possible expression of the algorithm | |
# in this format. | |
# | |
# When updating this file, etc/e/eterm-color should be regenerated by | |
# running "make e/eterm-color" in the etc directory. | |
# Any change to this file should be done at the same time with a | |
# corresponding change to the TERMCAP environment variable in term.el. |