You need Views if You like the default front page view, but you find you want to sort it differently. You like the default taxonomy/term view, but you find you want to sort it differently; for example, alphabetically. You use /tracker, but you want to restrict it to posts of a certain type. You like the idea of the 'article' module, but it doesn't display articles the way you like. You want a way
本番データの一部を書き戻す必要があり、巨大なダンプデータから必要なテーブルのデータだけを抽出する必要があったのでメモ。 cat <ダンプファイル> | sed -n '/DROP TABLE IF EXISTS `<対象テーブル名>`/,/Table structure for table `<対象テーブルの次のテーブル名>`/p' > ~/<対象テーブル名>.sql ※ダンプデータがgzip圧縮されている場合 zcat <ダンプファイル> | sed -n '/DROP TABLE IF EXISTS `<対象テーブル名>`/,/Table structure for table `<対象テーブルの次のテーブル名>`/p' > ~/<対象テーブル名>.sql 例 chatsテーブルの書き戻し [ダンプデータ内でchatsテーブル、diariesテーブルの順に並んでいると仮定] zcat
なんかですね、ある時↓のようなrakeコマンドを実行しようとしたら、 $ rake hogehoge[1000,fuga] zsh: no matches found: hogehoge[1000,fuga] みたいなエラーが出るわけですよ。 他にも $ curl http://111.222.33.44/hoge/fuga?piyo=trueとかやっても zsh: no matches found: http://111.222.33.44/hoge/fuga?piyo=true みたいなの出るわけですよ。 …なんかなーと思って調べたらあっさり解決策が見つかりまして。 .zshrcに setopt nonomatchと書いて読み込み直せばOKでした。 〜参考になりました!〜 zsh: no matches found について - えいちゃダイアリー どうやらコマンドにglobでされるメ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く