<?xml version="1.0" encoding="UTF-8" ?>
<feed xml:lang="ja" xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="text">あらゆるメモ</title>
  <subtitle type="html">NINJA</subtitle>
  <link rel="self" type="application/atom+xml" href="http://tottoco.tsuyushiba.com/atom"/>
  <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/"/>
  <updated>2011-05-16T15:44:33+09:00</updated>
  <author><name>おかざき</name></author>
  <generator uri="//www.ninja.co.jp/blog/" version="0.9">忍者ブログ</generator>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
  <entry>
    <id>tottoco.tsuyushiba.com://entry/29</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/29/" />
    <published>2014-12-12T23:21:34+09:00</published> 
    <updated>2014-12-12T23:21:34+09:00</updated> 
    <category term="Photoshop" label="Photoshop" />
    <title>Photoshopで画像を切り抜く方法</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<a href="http://techacademy.jp/magazine/1330" title="" target="_blank">http://techacademy.jp/magazine/1330</a><br />
<br />
切り抜き]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/28</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/28/" />
    <published>2014-12-12T23:20:10+09:00</published> 
    <updated>2014-12-12T23:20:10+09:00</updated> 
    <category term="Photoshop" label="Photoshop" />
    <title>Photoshopで鉛筆風のイラスト</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<a href="http://techacademy.jp/magazine/4288" title="" target="_blank">http://techacademy.jp/magazine/4288</a><br />
<br />
線画の色変えにもできる]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/27</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/27/" />
    <published>2014-10-05T17:39:45+09:00</published> 
    <updated>2014-10-05T17:39:45+09:00</updated> 
    <category term="CMS" label="CMS" />
    <title>CMSのサイトデータバックアップ方法</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[sqlite版の場合のデータベースファイルは　.dbディレクトリ下の sqlite.db<br />
あとは画像をimageファイルにupしてるのでそれも。<br />
めんどいからサイトディレクトリごとに全部ダウンロードしとけばいいんじゃないかな。<br />
（ftpソフトで「新しい場合は上書き」。）<br />
<br />
参考：<a href="http://www.soycms.org/viewtopic.php?f=9&amp;t=1167" title="">http://www.soycms.org/viewtopic.php?f=9&amp;t=1167</a>]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/26</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/26/" />
    <published>2012-08-13T00:53:54+09:00</published> 
    <updated>2012-08-13T00:53:54+09:00</updated> 
    <category term="CMS" label="CMS" />
    <title>SOY CMS の引越し</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[SOY CMS を引越ししたいとき<br />
※サーバー移行や同一サーバー内の場合<br />
<br />
<br />
サーバー移行の場合<br />
１．移行先のサーバにSOY CMSをインストールし、移行前のサイトIDとサイト名のサイトを作成<br />
２．移行前のサイトディレクトリ内にあるフォルダのみを、すべて新サイトディレクトリに上書き<br />
（index.php等のファイルを上書きすると、サイトが表示されなくなる。）<br />
<br />
同一サーバー内で別フォルダに同じ内容のものを作りたい時は１．のSOY CMS インストールを省いてあとは同じことをする。<br />
<br />
ここ参照<br />
<a href="http://www.soycms.org/viewtopic.php?f=9&amp;t=560">http://www.soycms.org/viewtopic.php?f=9&amp;t=560</a>]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/25</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/25/" />
    <published>2012-08-13T00:35:09+09:00</published> 
    <updated>2012-08-13T00:35:09+09:00</updated> 
    <category term="CGI・PHP・SSI" label="CGI・PHP・SSI" />
    <title>flockについてわかりやすい記事</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[CGIやDBのロックと同時実行制御<br>
<a href="http://jn.swee.to/cano/lock/">http://jn.swee.to/cano/lock/</a><br><br>


安全にファイルを読み書きするにはどうしたらいいかがわかる。
長いけどおもしろい。]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/24</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/24/" />
    <published>2012-08-13T00:07:15+09:00</published> 
    <updated>2012-08-13T00:07:15+09:00</updated> 
    <category term="CMS" label="CMS" />
    <title>SOY CMS を独自ドメインで運用する</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[/www<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LSOY CMS（ここがインストーラの場所）<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lsite（作ったサイトのフォルダ）<br />
<br />
<br />
こうなっていて、siteに独自ドメインを割り当てたい時<br />
<br />
１．サイトID/.htaccessに <span style="color: #0000ff;">RewriteBase /</span> を付け加える（RewriteEngine onの次の行あたりに）<br />
２．サイトID/index.phpの &lt;?php の次の行に <span style="color: #0000ff;"><code>$_SERVER["DOCUMENT_ROOT"] = dirname(__FILE__);</code></span> を付け加える<br />
<br />
1のみだとブログ記事のURLが変になって表示されなくなってしまうので、2もやること。<br />
環境はさくらのライト。スタンダードでも同じもよう。<br />
<br />
ポイントはこれだそう<br />
<span style="color: #0000ff;">重要なのは管理画面のドメインを/home/your-account/www/に割り当てること（もしくはデフォルトのドメインをつかうこと）です。<br />
/home /your-account/www/cms/や/home/your-account/www/cms/adminなどにドメインを割り当てると、スタ ンダードでは管理画面がうまく動作しません。ビジネスプロではサイトがそのディレクトリ以下に作られてしまいます。</span><br />
<br />
<br />
詳しくはこちら<br />
<a href="http://www.soycms.org/viewtopic.php?f=6&amp;t=36">http://www.soycms.org/viewtopic.php?f=6&amp;t=36<br />
</a><br />
<br />
さくらのスタンダードで複数ドメイン運用<br />
<a href="http://www.soycms.net/blog/article/%E3%81%95%E3%81%8F%E3%82%89%E3%81%AE%E3%82%B9%E3%82%BF%E3%83%B3%E3%83%80%E3%83%BC%E3%83%89%E3%81%A7%E8%A4%87%E6%95%B0%E3%83%89%E3%83%A1%E3%82%A4%E3%83%B3%E9%81%8B%E7%94%A8" title="">http://www.soycms.net/blog/article/%E3%81%95%E3%81%8F%E3%82%89%E3%81%AE%E3%82%B9%E3%82%BF%E3%83%B3%E3%83%80%E3%83%BC%E3%83%89%E3%81%A7%E8%A4%87%E6%95%B0%E3%83%89%E3%83%A1%E3%82%A4%E3%83%B3%E9%81%8B%E7%94%A8</a><br />
<br />
<br />
さくらのドメイン設定と他サイトラベルの読み込み<br />
<a href="http://www.soycms.org/viewtopic.php?f=9&amp;t=515&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a&amp;sid=9c526d7f3d7a2651f693981dc2ad048f" title="">http://www.soycms.org/viewtopic.php?f=9&amp;t=515&amp;start=0&amp;st=0&amp;sk=t&amp;sd=a&amp;sid=9c526d7f3d7a2651f693981dc2ad048f</a>]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/23</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/23/" />
    <published>2012-03-10T15:32:33+09:00</published> 
    <updated>2012-03-10T15:32:33+09:00</updated> 
    <category term="css" label="css" />
    <title>親要素のボックスの高さが出ないとき</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[親要素のボックスの高さが、中の子要素にあわせてくれないときの対処法。<br />
<br />
原因は、子要素にfloatを指定している場合、親要素が子要素の高さを認識してくれないため。<br />
<br />
解決方法：<br />
子要素の高さにあわせたい親要素のスタイルに、下記のように追加する<br />
<br />
<font style="color:#0000cd;">&nbsp;&nbsp; _zoom: 1;<br />
&nbsp;&nbsp; overflow: hidden; </font><br />
<br />
<br />
くわしくはこちら <a href="http://css-happylife.com/archives/2009/1102_0115.php" target="_blank"><br />
とっても使えるoverflowプロパティ。その使い方色々。</a> ]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/22</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/22/" />
    <published>2012-01-15T17:19:31+09:00</published> 
    <updated>2012-01-15T17:19:31+09:00</updated> 
    <category term="CGI・PHP・SSI" label="CGI・PHP・SSI" />
    <title>ActivePerlのperl.exeへのパスの通し方（Win7）</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[スタート＞コントロールパネル＞システムとセキュリティ＞システム＞システムの詳細設定<br />
<br />
でシステムのプロパティダイアログが開くので<br />
詳細設定のタブを選択。<br />
環境変数　ボタンを押して出た　環境変数ダイアログの下のほうにある「システム環境変数」から<br />
「Path」をさがして選択、編集ボタンを押す<br />
<br />
「システム変数の編集」ダイアログが出るので「変数値」の欄の一番最後にperlのパスを入れる。<br />
たとえばperlをデスクトップのwwwというフォルダに移動させたら<br />
;C:￥Users￥username￥Desktop￥www￥bin<br />
と追加する。<br />
<br />
その後、コマンドプロンプトを起動させると新しいパスが有効になる。<br />
perl -v<br />
でパスが通ったか確認できる。<br />
（perlのバージョン情報が出てくればパスが通っている。）]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/21</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/21/" />
    <published>2011-12-17T14:19:28+09:00</published> 
    <updated>2011-12-17T14:19:28+09:00</updated> 
    <category term="CGI・PHP・SSI" label="CGI・PHP・SSI" />
    <title>メルフォのテスト送信でSPAM BLOCKになってしまう</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<a href="http://www.synck.com/contents/download/cgi-perl/mailform.html">メールフォームCGI</a>　（ver.6.1）<br />
ローカルでメルフォのCGIテストをしたらSPAM BLOCKになってしまい送信できない。<br />
Ｑ＆Ａで参考になりそうだったもの<br />
<br />
--------------------<br />
<span class="bbs_res_body" id="bodyrwHHd0fwwej3G9Ft8o7JZg">スパムブロックはリファラが 該当ドメインと異なる場合、又はリファラが無い場合にブロックするものなので、send.cgiに直接アクセスした場合にスパムブロックと表示されるのは 正常です。</span><br />
<br />
<span class="bbs_res_body" id="bodyrwHHd0fwwej3G9Ft8o7JZg">基本的に環境変数を用いてド メインを取得しているのですが、サーバの設定によってはドメイン名を正常に取得できない場合があり、予期せずスパムブロックになる場合もあります。<br />
<br />
#01. リファラー(送信元)のURLの一部か全部<br />
$conf{&rsquo;domain&rsquo;} = $ENV{&rsquo;SERVER_NAME&rsquo;};<br />
<br />
とい う部分があるので<br />
<br />
#01.リファラー(送信元)のURLの一部か全部<br />
$conf{&rsquo;domain&rsquo;} = &rsquo;applicraft.com&rsquo;;<br />
と変更する事でうまく動作するかもしれません。</span><br />
<span class="bbs_res_body" id="bodyrwHHd0fwwej3G9Ft8o7JZg">--------------------<br />
<br />
&uarr;変更してみたけどローカルでは送信できなかった。<br />
前も送信できなかったんだっけ&hellip;？<br />
<br />
<br />
参考</span><br />
<a href="http://www.synck.com/contents/faq/r7k1uJnNsFktlFRh9toPug.html">スパムメール排除　セキュリティ</a><br />
<a href="http://www.synck.com/contents/faq/_rzeaBhIMDuzpZEZGdUhAA.html">メールフォーム、送信時にエラーがでてしまう</a><br />
]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
  <entry>
    <id>tottoco.tsuyushiba.com://entry/20</id>
    <link rel="alternate" type="text/html" href="http://tottoco.tsuyushiba.com/Entry/20/" />
    <published>2011-12-17T14:05:47+09:00</published> 
    <updated>2011-12-17T14:05:47+09:00</updated> 
    <category term="CGI・PHP・SSI" label="CGI・PHP・SSI" />
    <title>Perl5.12.xで生じるjcode.plの「defined(%hash) is deprecated」エラー</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[CGIのエラーで<br />
<br />
<font style="color: rgb(178, 34, 34);">defined(%hash) is deprecated at jcode.pl line 684. (Maybe you should just omit the defined()?)<br />
defined(%hash) is deprecated at jcode.pl line 693. (Maybe you should just omit the defined()?)</font><br />
<br />
というのが出てしまう。<br />
原因はPerlのバージョンアップ？5.10までくらいなら問題ない。らしい。<br />
<br />
１．Perlのバージョンダウン<br />
２．エラーのあるdefined部分の削除<br />
<br />
のいずれかで解決するっぽい？？<br />
<br />
参考<br />
<a href="http://tomak-masakazu.tumblr.com/post/8377933277/828-2011-02-03-03-17-19">perlのバージョンを5.10から5.12に上げたら、jcodeのエラーが出るようになった。</a><br />
<a href="http://xexar.com/blog/?p=505">ＣＧＩ全体でエラー（コメント欄に回答？がある）</a><br />
<br />
<br />
<br />
<br />
で、jcode.plからエラーのあったdefinedの部分を削除しようとしたけどうまくいかず、というかどこまで削除していいのかわからなくて不安だったので、他の対処法を探している時に、<font style="color: rgb(0, 0, 0);">Perl5.12.xで生じるエラー「defined(%hash) is deprecated」に対する修正を含んだjcode.plファイル</font>を添付してくれているのをみつけた。<br />
<a href="http://www.ln-lab.net/bbs/hstbbs1/hstbbs.cgi?threadid=0000000248-5NQbm2MM8i&amp;type=Res">ここの掲示板</a>　　のRe3記事に添付されてるファイルをダウンロードして、その中のjcode.plファイルだけを拝借して、自分の動かしたいCGIのjcode.plと置き換える。<br />
<br />
エラーの出たところを抜き出すと<br />
-------------------------------------------------------------------------------<br />
<font style="color: rgb(178, 34, 34);">&amp;init_z2h_euc unless defined %z2h_euc;</font>　　（684行目）<br />
&darr;<br />
<font style="color: rgb(0, 0, 255);">&amp;init_z2h_euc unless defined $z2h_euc_inited;</font><br />
<br />
<br />
<font style="color: rgb(178, 34, 34);">&amp;init_z2h_sjis unless %z2h_sjis;</font>　　（693行目）<br />
&darr;<br />
<font style="color: rgb(0, 0, 255);">&amp;init_z2h_sjis unless defined $z2h_sjis_inited;</font><br />
-------------------------------------------------------------------------------<br />
ってなってる。]]> 
    </content>
    <author>
            <name>おかざき</name>
        </author>
  </entry>
</feed>