Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up
I am getting the following error using curl: curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none How do I set this certificate verify locations?
WordPressで、下記のように、query_postsを使って1記事あたりに表示するエントリー数を設定したページのページ送りで「次のページ」がNot Foundになる件ですが(ややこしくてすいません)。 <?php query_posts($query_string .'&posts_per_page=表示させるエントリ数'); ?> どうやら、下記のようなことが起こってるみたいです。 たとえば、全部で10件の投稿記事があるカテゴリで 管理画面での設定ページあたり10件になってるのに、 発行クエリでは以下のように2件だった場合、 $numPerPage = 2; if (have_posts()) : query_posts($query_string.'&posts_per_page='.$numPerPage.'&cat=7'); 発行クエリベースで考えると全部で5ページ(2件/1
After debugging for 6-hours - I am giving this up :| We have a nginx+php-fpm+mysql in LAN with almost 100 wordpress (created and used by different designers/developers all working on test wordpres setup) We are using nginx without any issues from long. Today, all of a sudden - nginx started returning "504 Gateway Time-out" out of the blue... I checked nginx error log for a virtual host... 2010/09/
ウェブから入力されたデータを、WindowsのExcelで開けるcsvファイルに変換しようとして行き詰まった話。 Google日本語入力なんかを使っていると機種依存文字なんかも候補に出てきてしまいますよね。 それを、UTF-8ならまだしも、shift_jisとかcp932(Windowsの日本語拡張エンコーディング)なんかに変換しようとすると、エラーを吐いて終了するわけです。 UTF-8にエンコードしてファイルに出力 #!/usr/bin/env python # -*- coding:utf-8 -*- f = open("file.txt", "w") kishu_izon = u"機種♫依存✓文字が⊿含まれています" f.write(kishu_izon.encode('utf-8')) f.close() file.txt 機種♫依存✓文字が⊿含まれています 問題なく出力 cp93
Google グループでは、オンライン フォーラムやメール ベースのグループを作成したり、こうしたフォーラムやグループに参加したりすることで、大勢のユーザーと情報の共有やディスカッションを行うことができます。
I'm trying to find the cause of a crash in of our python scripts. The main structure is this: def main() try: dostuff except Exception as ex: import traceback tb = traceback.format_exc() import platform node = platform.node() sendMail([DEBUG_EMAIL], "Alarm exception on %s" % node, str(tb), []) I get this stacktrace in our main error handling, not in an error email which I'm supposed to. Traceback
「スタート」>「コントロール パネル」を選択します。 「ユーザー アカウントと家族のための安全設定」をクリックします。 「ユーザー アカウント」ウインドウで、「ユーザー アカウント」をクリックします。 Windows Vista の場合、「ユーザーアカウント制御の有効化または無効化」をクリックします。 Windows 7 の場合、「ユーザー アカウント制御の設定」をクリックします。 Windows Vista の場合、「ユーザーアカウント制御 (UAC) を使ってコンピュータの保護に役立たせる」の選択を解除します。 Windows 7 の場合、スライダのつまみを一番下 (「通知しない」) に移動します。 「OK」をクリックします。 コンピュータを再起動します。 「スタート」>「コントロール パネル」を選択します。 「ユーザー アカウントと家族のための安全設定」をクリックします。 「ユーザー
MySQL に iOS の絵文字など、4バイトUTF-8 の文字を入れると、そこで途切れるという現象がありました。 残念ながら発生したサーバの MySQL バージョンは5.1系でバージョンアップせずに対応したのですが、最近構築したサービスイン前のサーバは5.5系だったので設定してみました。 ■設定内容 1. 文字コードを utf8 → utf8mb4 に変更 2. skip-character-set-client-handshake を設定 ■詳細 1. 文字コードを utf8 → utf8mb4 に変更 MySQLの UTF-8 は4バイトに対応していません。 ですが、絵文字や中国漢字、日本語でも特殊漢字などは4バイトが含まれています。 詳しくはこちら↓ iOS の絵文字(4bytes UTF-8)が入った文字列を MySQL に INSERT/UPDATE すると絵文字以降の文字がぶ
I'm trying to load a .csv file with baseball schedules into a table of games. The csv file contents look like this: 5/17/2011,8:10 PM,14,13,Kansas City,MO 5/18/2011,8:10 PM,14,16,Chicago,IL 5/19/2011,8:10 PM,14,16,Chicago,IL 5/20/2011,7:05 PM,26,14,Columbus,OH and my sql statement to try and insert them is: LOAD DATA LOCAL INFILE 'c:/ftpsite/comp.csv' INTO TABLE game FIELDS TERMINATED BY ',' ENCLO
C:\Users\abc>vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Box 'precis64' was not found. Fetching box from specified URL for the provider 'virtualbox'. Note that if the URL does not have a box for this provider, you should interrupt Vagrant now and add the box yourself. Otherwise Vagrant will attempt to download the full box prior to discovering this error. Downl
I looked at other questions and can't figure it out... I did the following to install django-debug-toolbar: pip install django-debug-toolbar added to middleware classes: MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'd
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く