2015-02-01から1ヶ月間の記事一覧
ssh -i ~/.ssh/secret_keys/sshkey_private.pem -p 9022 -f -N -L 55432:localhost:5432 [username]@[remot host] こんな感じ。 参考サイトはこちら SSH でトンネリング » nksg.org SSH でトンネリング » nksg.org
AppModelクラスに以下を実装する。 public function alphaNumeric($check) { $value = array_values($check); $value = $value[0]; return preg_match('/^[a-zA-Z0-9]+$/', $value); } cakephpのバグらしく、alphaNuericのバリデーションのメソッドを上書き…
postgresでSQLたたいて、取得したいときに! 結論だけ テーブルリスト \d カラムリスト \d table_name これだけ! mysqlは、、、2年位扱ってないから忘れた。。