$ rake generate
## Generating Site with Jekyll remove .sass-cache/
remove source/stylesheets/screen.css
create source/stylesheets/screen.css
Configuration from /Users/user/Dropbox/documents/git/MyGit/octopress/_config.yml
Building site: source -> public
/Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.4/lib/pygments/popen.rb:354:in `rescue in get_header': Failed to get header. (MentosError) from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.4/lib/pygments/popen.rb:335:in `get_header' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.4/lib/pygments/popen.rb:232:in `block in mentos' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/timeout.rb:68:in `timeout' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.4/lib/pygments/popen.rb:206:in `mentos' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/pygments.rb-0.3.4/lib/pygments/popen.rb:189:in `highlight' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/pygments_code.rb:24:in `pygments' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/pygments_code.rb:14:in `highlight' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/backtick_code_block.rb:37:in `block in render_code_block' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/backtick_code_block.rb:13:in `gsub' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/backtick_code_block.rb:13:in `render_code_block' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/octopress_filters.rb:12:in `pre_filter' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/octopress_filters.rb:28:in `pre_render' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/post_filters.rb:112:in `block in pre_render' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/post_filters.rb:111:in `each' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/post_filters.rb:111:in `pre_render' from /Users/user/Dropbox/documents/git/MyGit/octopress/plugins/post_filters.rb:166:in `do_layout' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/post.rb:195:in `render' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:200:in `block in render' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:199:in `each' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:199:in `render' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:41:in `process' from /Users/user/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:264:in `<top (required)>' from /Users/user/.rbenv/versions/1.9.3-p374/bin/jekyll:23:in `load' from /Users/user/.rbenv/versions/1.9.3-p374/bin/jekyll:23:in `<main>'
$ which easy_install
/Users/yuki/.pythonz/pythons/CPython-3.2.3/bin/easy_install
$ which pip
/Users/yuki/.pythonz/pythons/CPython-3.2.3/bin/pip
$ which virtualenv
/Users/yuki/.pythonz/pythons/CPython-3.2.3/bin/virtualenv
# Path to your oh-my-zsh configuration.ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.# Look in ~/.oh-my-zsh/themes/# Optionally, if you set this to "random", it'll load a random theme each# time that oh-my-zsh is loaded.ZSH_THEME="robbyrussell"# Example aliases# alias zshconfig="mate ~/.zshrc"# alias ohmyzsh="mate ~/.oh-my-zsh"# Set to this to use case-sensitive completion# CASE_SENSITIVE="true"# Comment this out to disable bi-weekly auto-update checks# DISABLE_AUTO_UPDATE="true"# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)# export UPDATE_ZSH_DAYS=13# Uncomment following line if you want to disable colors in ls# DISABLE_LS_COLORS="true"# Uncomment following line if you want to disable autosetting terminal title.# DISABLE_AUTO_TITLE="true"# Uncomment following line if you want red dots to be displayed while waiting for completion# COMPLETION_WAITING_DOTS="true"# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/# Example format: plugins=(rails git textmate ruby lighthouse)plugins=(git)source$ZSH/oh-my-zsh.sh
# Customize to your needs...
$ nodebrew
nodebrew 0.6.0
Usage:
nodebrew help Show this message
nodebrew install <version> Download and install a <version> (compile from source) nodebrew install-binary <version> Download and install a <version> (binary file) nodebrew uninstall <version> Uninstall a version
nodebrew use <version> Use <version>
nodebrew list List installed versions
nodebrew ls Alias for`list` nodebrew ls-remote List remote versions
nodebrew ls-all List remote and installed versions
nodebrew alias <key> <version> Set alias to version
nodebrew unalias <key> Remove aliasnodebrew clean <version> | all Remove source file
nodebrew selfupdate Update nodebrew
nodebrew migrate-package <version> Install global NPM packages contained in <version> to current version
Example:
nodebrew install v0.6.0 Install a specific version number
nodebrew use v0.6.0 Use a specific version number
最新をインストール
123456
$ nodebrew install latest
$ nodebrew list
v0.9.4
current: none
$ nodebrew use v0.9.4
これでnpmコマンドも使用出来るようになっているので、npmでTypeScriptをインストール
1
$ npm install -g typescript
TypeScript -> JavaScriptの変換
123456789101112131415161718192021
$ tsc
Syntax: tsc [options][file ..]Examples: tsc hello.ts
tsc --out foo.js foo.ts
tsc @args.txt
Options:
-c, --comments Emit comments to output
--declaration Generates corresponding .d.ts file
-e, --exec Execute the script after compilation
-h, --help Print this message
--module KIND Specify module code generation: "commonjs"(default) or "amd" --nolib Do not include a default lib.d.ts with global declarations
--out FILE Concatenate and emit output to single file
--sourcemap Generates corresponding .map file
--target VER Specify ECMAScript target version: "ES3"(default), or "ES5" -w, --watch Watch output files
@<file> Insert command line options and files from a file.
$ tsc test.ts