# h1
h1
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use feature qw/say/; | |
use Encode; | |
use Data::Dumper; | |
use JSON; | |
use File::Slurp qw/read_file write_file/; |
events.js:48 | |
throw arguments[1]; // Unhandled 'error' event | |
^ | |
Error: listen EACCES | |
at errnoException (net.js:670:11) | |
at Array.0 (net.js:756:28) | |
at EventEmitter._tickCallback (node.js:190:38) |
#!/bin/sh | |
npm install -g jshint | |
npm install -g jasmine-node | |
npm install -g node-inspector | |
npm install -g supervisor | |
npm install -g uglify-js | |
npm install -g jake | |
npm install -g jsonlint | |
npm install -g recess # Twitter Bootstrap | |
npm install -g grunt-cli |
$ npm init
$ tree
.
├── bin
│ └── foo
├── docs
Index: termout.c | |
=================================================================== | |
--- termout.c (リビジョン 1253) | |
+++ termout.c (作業コピー) | |
@@ -3,6 +3,7 @@ | |
// Adapted from code from PuTTY-0.60 by Simon Tatham and team. | |
// Licensed under the terms of the GNU General Public License v3 or later. | |
+#include "winpriv.h" | |
#include "termpriv.h" |
主観だからね。
Cookbookすごく分かりにくい。章の構成はそのまま目次というか、左側のメニューになる。どのフレームワークでも同じだと思うけど、この構成が分かりにくい。探したい事を探しにくい。 「入門」の次が「ブログチュートリアル」「ブログチュートリアル - レイヤーの追加」と続いている。 チュートリアルは必要だけど、入門からの流れで順を追っていく読み物的な構成よりも、別個で読んでそこだけちゃんと分かる構成のほうが、フレームワークには必要だと思う。 あと意味がわからないのが「チュートリアルと例」内にも「ブログチュートリアル」「ブログチュートリアル - レイヤーの追加」がある。ダブってる。
#!/bin/sh | |
echo "Finding $1..." | |
# if whereis $1 >/dev/null 2>&1; then 判別出来ない。 | |
# if type $1 >/dev/null 2>&1; then 判別出来る。 | |
# if which $1 >/dev/null 2>&1; then 判別出来る。 | |
if which $1 >/dev/null 2>&1; then | |
echo "$1 found." | |
else | |
echo "$1 not found." |
$option = array();
$option['recursive'] = -1;
$option['joins'][] = array(
'type' => 'LEFT', //LEFT, INNER, OUTER
'table' => 'posts',
'alias' => 'Post', //下でPost.user_idと書くために
'conditions' => '`User`.`id`=`Post`.`user_id`',
);
$option['conditions'] = array('Post.isPrivate' => 1);