OCaml『プログラミングの基礎』勉強メモ(前編)
環境構築 Ubuntu $ sudo apt-get install ocaml-nox noxは「without X」, GUIがらみのライブラリがないことを意味するぽい Emacs ocam...
110 search resultsShowing 1~20 results
You need to log-in
環境構築 Ubuntu $ sudo apt-get install ocaml-nox noxは「without X」, GUIがらみのライブラリがないことを意味するぽい Emacs ocam...
使い方 hash$ mkpasswd Y2=SzhZ? hash$ mkpasswd 16 6ytG2PY9r=Oj>=ke そのまま実行すると8文字、 引数を渡すと任意の文字数のランダム...
◆ 以下の記事は古くなっています.記事中では v0.6.0 を使っていますが,v0.7.x 以降は Selenium-WebDriver を別途 dependencies に加えないと動きません...
hoge.fuga.comというドメインをホスティングする, hoge.fuga.comという名前のbucketを作成しており, 「hoge.fuga.com bucket内の読み書き」のみを許...
複数人数で開発するときconfig/routes.rbがコンフリクトの温床になりがちなので、任意のファイルに分割したい。AppName::Application.routes.drawブロックを...
Feature #8923: Frozen nil/true/false - Ruby trunk - Ruby Issue Tracking System Ruby2.2からtrue/fals...
$x('//*[text()="テキスト"]/ancestor::table[1]') /ancestorでヒットした要素の親が全部取れて来るのでそこから::で選択,最初の要素を取ればclose...
Ubuntu12.04LTS $ lsb_release -r; sudo service nginx start; echo $? Release: 12.04 Starting...
Mac OS X 10.9.3. 最初 gs, imagemagickをHomebrewで入れてconvertを使おうとしたのだが, convert: no images defined `ou...
なぜ12.04なのというのは置いといて. https://github.com/jonas/tig/releases から最新tarballをwgetで落とす 以前から/usr/bin/tigに...
ag(silver_searcher)で検索してヒットしたファイルのみを対象にsedで置換 $ ag -l HogeClass | xargs sed -i 's/group_result: t...
$ git branch -avv | grep -v HEAD | sed -e 's/.* \([0-9a-z]\{7\}\) .*/\1/g' fc8ce46 892dc61 ab8499...
$ touch /mnt/storage/hoge.txt touch: `/mnt/storage/hoge.txt' に touch できません: デバイスに空き領域がありません 調べてみる...
...ことは出来ないっぽい? ので, go getで普通に入れた後ローカルでcheckout, ビルドする $ cd $GOPATH/github.com/username/repo $ git...
以下をconfig/deploy/production.rbに追加 外部コマンドのawscliとjqを使うと簡単にかけたので横着してしまった. # 常に立ってるサーバ server '10.0....
スライスは[]<型>で定義する. 要素の追加はappend var tasks []string append(tasks, "todo1") スライス同士の結合(concat)もa...
Clazz.any_instance.stubはdeprecatedになった 代わりに allow_any_instance_of(Widget).to receive(:name).and_r...
a.scss $modal-width: 670px; .modal { position: fixed; top: 10%; left: 50%; width: $modal-width; m...
smart-compileに定義を追加し.mlファイルはocamlコマンドで実行できるようにする. (setq smart-compile-alist (append smart-compile...
前編はこちら: OCaml『プログラミングの基礎』勉強メモ(前編) - Qiita 15章: 新しい形の再帰 let take n lst p = filter (fun item -> ...
110 search resultsShowing 1~20 results
Qiita is a knowledge sharing service for engineers.