はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    iPhone 17

『qiita.com』

  • 人気
  • 新着
  • すべて
  • [Rails 4.x] エラーページの作り方 - Qiita

    3 users

    qiita.com/colorrabbit

    エラーページを作ります オシャレなエラーページがあるととても素敵だなぁと思います。 何がほしい メンテナンス中 Maintainance 貴方はこのページを見る権限ないよー Forbidden IP制限引っかかってるよー IpAddressRejected そんなURL無いよー RoutingError URLの:idのトコとか勝手にいじっても、レコードないもんはないよー ActiveRecord::RecordNotFound 仕組み 各処理の中で、エラーをraiseさせて、それをapplication_controllerで拾ってエラーページを出力させてあげる感じ。 とりあえずview app/views/errors ディレクトリを作成し、その中に forbidden.html.erb not_found.html.erb internal_server_error.html.erb

    • テクノロジー
    • 2018/07/24 12:01
    • Rails
    • ネット回線を変えたら、サーバーにssh出来ず、ssh_exchange_identification: read: Connection reset by peer になった時の対応 - Qiita

      3 users

      qiita.com/colorrabbit

      Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

      • テクノロジー
      • 2018/06/19 19:17
      • [MySQL] "Cannot truncate a table referenced in a foreign key constraint" 外部キー制約でtruncate tableできなかった時の対応 - Qiita

        3 users

        qiita.com/colorrabbit

        Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

        • テクノロジー
        • 2018/03/14 16:14
        • MySQL
        • tips
        • database
        • [Ruby 2.x] SecureRandom を利用した乱数の生成方法 - Qiita

          3 users

          qiita.com/colorrabbit

          Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

          • テクノロジー
          • 2018/01/03 19:19
          • Ruby
          • [heroku] 環境変数の操作 - Qiita

            3 users

            qiita.com/colorrabbit

            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

            • テクノロジー
            • 2017/12/16 10:00
            • CentOS 6系 で lv を使う方法 - Qiita

              3 users

              qiita.com/colorrabbit

              Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

              • テクノロジー
              • 2017/11/13 15:58
              • シンボリックリンクの作成と削除 - Qiita

                12 users

                qiita.com/colorrabbit

                Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                • テクノロジー
                • 2017/09/30 02:55
                • Linux
                • [VirtualBox 4.3] 複製したゲストOS (CentOS) がネットワークに繋がらない: Device eth0 does not seem to be present, delaying initialization が表示された際の対応 - Qiita

                  6 users

                  qiita.com/colorrabbit

                  Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                  • テクノロジー
                  • 2017/08/31 17:57
                  • .gitignore が反映されない時の対応 - Qiita

                    3 users

                    qiita.com/colorrabbit

                    Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                    • テクノロジー
                    • 2017/07/10 23:44
                    • git
                    • Apacheのログの表示形式を設定する方法 〜調べてみた編〜 - Qiita

                      6 users

                      qiita.com/colorrabbit

                      Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                      • テクノロジー
                      • 2017/07/07 22:15
                      • [ssh, git] git や ssh で Bad owner or permissions とエラーが出たら。 - Qiita

                        5 users

                        qiita.com/colorrabbit

                        Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                        • テクノロジー
                        • 2017/06/29 16:56
                        • git
                        • vim tips: 1. 複数行の先頭に文字を挿入したり、コメントアウトしたり、もはや正規表現のtips^^; - Qiita

                          3 users

                          qiita.com/colorrabbit

                          Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                          • テクノロジー
                          • 2017/06/06 13:30
                          • vim
                          • qiita
                          • tips
                          • [GithubとBacklogの連携] Backlogでissue管理して、Githubへのコミット内容をBacklogにも反映させる様に連携する方法 - Qiita

                            10 users

                            qiita.com/colorrabbit

                            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                            • テクノロジー
                            • 2017/05/23 19:06
                            • Backlog
                            • git
                            • github
                            • [Swift] CocoaPodsの代わりにCarthageを使って、RealmやReactiveCocoaなどを入れてみた。 - Qiita

                              4 users

                              qiita.com/colorrabbit

                              Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                              • テクノロジー
                              • 2017/05/05 00:44
                              • 覚えておきたい Vim コマンド 備忘録 - Qiita

                                76 users

                                qiita.com/colorrabbit

                                Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                • テクノロジー
                                • 2017/04/29 15:22
                                • vim
                                • vi
                                • あとで読む
                                • 備忘録
                                • コマンド
                                • Qiita
                                • git
                                • deviseでconfirmable設定をした際の確認メールをスキップさせる skip_confirmation! は、対象のオブジェクトをsaveする前に書く - Qiita

                                  3 users

                                  qiita.com/colorrabbit

                                  Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                  • テクノロジー
                                  • 2017/04/18 13:53
                                  • Rails
                                  • web制作
                                  • [Rails 4.x] FormのSelect プルダウンメニューの項目をDBから引っ張ってくる方法 - Qiita

                                    3 users

                                    qiita.com/colorrabbit

                                    Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                    • テクノロジー
                                    • 2017/03/27 17:58
                                    • rails
                                    • Postgresでパスワードを忘れた場合の対策 - Qiita

                                      8 users

                                      qiita.com/colorrabbit

                                      Postgresでパスワードを忘れました。 やばいやばいと思いつつ、アンインストールしなきゃかなぁ...ヽ(´Д`ヽ)(/´Д`)/イヤァ~ とか思っていたら、意外となんとかなりました。 環境は Vagrant 1.6.5 Virtual Box 4.3.16 CentOS6.5 Postgres: psql 8.4.20, server 9.3 です。 アクセス権限の変更 & パスワードなしでのログインを可能に アクセス権限ファイルを修正 まずはpg_hba.confを探して編集します。

                                      • テクノロジー
                                      • 2017/03/20 18:28
                                      • PostgreSQL
                                      • trouble
                                      • tips
                                      • MySQLパーティショニングの設定、追加、削除、再構成 - Qiita

                                        9 users

                                        qiita.com/colorrabbit

                                        まずこんなテーブルを作るとします。ここに毎月10万件以上のレコードが入ってくる予定です。 1レコードが57byteなので、月に5.7Mbyte、プライマリーキーを入れると60Mbyteくらいが入ってきます。 年間にすると720Mbyteなので、まぁデータ量的には余裕だと思うのですが、 100万レコードを超えるとレスポンスが鈍化するという印象があります。 というわけで、MySQLにあるパーティショニング機能を使い、データを振り分けたいと思います。 【参考】DB設計時のサイズ見積もり | よねのはてな テーブル作成 注意する点として、パーティショニングのキーにしたいカラムを、プライマリーキーに含める必要があるようです。 なので、オートインクリメントのカラムがあるテーブルだと辛い。構成を考えなおした方がいいかも。 CREATE TABLE `list_rtx` ( `member_id` var

                                        • テクノロジー
                                        • 2017/03/19 13:16
                                        • mysql
                                        • Qiita

                                        このページはまだ
                                        ブックマークされていません

                                        このページを最初にブックマークしてみませんか?

                                        『qiita.com』の新着エントリーを見る

                                        キーボードショートカット一覧

                                        j次のブックマーク

                                        k前のブックマーク

                                        lあとで読む

                                        eコメント一覧を開く

                                        oページを開く

                                        はてなブックマーク

                                        • 総合
                                        • 一般
                                        • 世の中
                                        • 政治と経済
                                        • 暮らし
                                        • 学び
                                        • テクノロジー
                                        • エンタメ
                                        • アニメとゲーム
                                        • おもしろ
                                        • アプリ・拡張機能
                                        • 開発ブログ
                                        • ヘルプ
                                        • お問い合わせ
                                        • ガイドライン
                                        • 利用規約
                                        • プライバシーポリシー
                                        • 利用者情報の外部送信について
                                        • ガイドライン
                                        • 利用規約
                                        • プライバシーポリシー
                                        • 利用者情報の外部送信について

                                        公式Twitter

                                        • 公式アカウント
                                        • ホットエントリー

                                        はてなのサービス

                                        • はてなブログ
                                        • はてなブログPro
                                        • 人力検索はてな
                                        • はてなブログ タグ
                                        • はてなニュース
                                        • ソレドコ
                                        • App Storeからダウンロード
                                        • Google Playで手に入れよう
                                        Copyright © 2005-2025 Hatena. All Rights Reserved.
                                        設定を変更しましたx