2016-09-01から1ヶ月間の記事一覧
(タイトルおかしいと思ったので編集しました) iframeを用いてJavaScriptコードを動的実行する。 やり方は主に3つ(多分)あって、 document.write(content); と document.srcdoc=content; と document.appendChild(content); がある。docは同じとは限らない…
Homebrew編*1 -ビルドツール使わないやり方 clojurescriptを入れる。 brew install clojurescript 必要なディレクトリ、ファイルを作成する。 mkdir -p src/hello_world;touch src/hello_world/core.cljs;touch build.clj Clojureはcljだけど、ClojureScript…
環境を変えてみようと思って思い切ってBashからZshにしてみた。 入れたもの iTerm2 Zsh oh-my-zsh peco enhancd zsh-autosuggestions zsh-syntax-highlighting zsh-completions oh-my-zshとpecoはhomebrewで入れて、他のプラグインは直接取ってきて~/.oh-my-…