コマンドよりipaの作成

xcodebuild -exportArchive -archivePath アーカイブファイルパス
-exportProvisioningProfile プロビジョニング名 -exportPath 書き出し先のパス

アーカイブファイルパス はxcode->product->archiveしたあとに作られたxcarchiveファイルのパス(organizer->archives 右show in finder)。
プロビジョニング名はxcode->build settings->provisioning profileより確認

テーブルのDUMP

テーブルのダンプ
mysqldump -u ユーザ名 -p -h ホスト名 データベース名 [テーブル名 ...] > ダンプファイル名

複数テーブルの場合
mysqldump -u root -p db_name `cat tables.txt` > tables.txt

prefix付きの特定テーブルの場合
mysql -u root -p -N information_schema -e "select table_name from tables where table_name like 'prefix_%'" > prefix_tables.txt

mysqldump -u root -p db_name `cat prefix_tables.txt` > prefix_tables.sql

mysqldump: Got error: 1146: Table 'tablename' doesn’t exist when doing LOCK TABLES
エラーの解決方法:--skip-lock-tables をつける

参考

eclipse + maven + jetty

mvm jetty:runを実行すると
[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
どうやら、add Dependencyの時に最新のjetty-maven-plugin(org.eclipse.jetty)を追加したら、このエラーがでるみたい。

実行するときに、古いmaven-jetty-plugin(mvn org.mortbay.jetty)を明示的に指定すると通る。

mvn org.mortbay.jetty:maven-jetty-plugin:run

参考