<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>有限会社吉田設計事務所 &#187; 技術</title>
	<atom:link href="http://www.yoshida-design.co.jp/docs/category/tech-memo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yoshida-design.co.jp</link>
	<description>北海道帯広市の測量設計事務所です。</description>
	<lastBuildDate>Mon, 16 Jan 2012 00:33:48 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/category/tech-memo/feed/" />
		<item>
		<title>InternetExplorerで文字化けする場合&#8230;.問題解決</title>
		<link>http://www.yoshida-design.co.jp/docs/381.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/381.html#comments</comments>
		<pubDate>Mon, 20 Dec 2010 05:10:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=381</guid>
		<description><![CDATA[※以下はWebサーバーソフトがApacheであるという前提です。 「Internet Explorer 用の累積的なセキュリティ更新プログラム (2416400)」導入後 自社サイトが文字化けしてしまった場合の対処です。 [...]]]></description>
			<content:encoded><![CDATA[<p>※以下はWebサーバーソフトがApacheであるという前提です。</p>
<p>「<a href="http://blogs.msdn.com/b/ie_jp/archive/2010/12/17/ms10-090.aspx">Internet Explorer 用の累積的なセキュリティ更新プログラム (2416400)</a>」導入後<br />
自社サイトが文字化けしてしまった場合の対処です。<br />
これはNetscape4.xのころにもあった問題です。</p>
<p>文字化けする条件は、<br />
METAでISO-2022-jpを記述しているだけで<br />
サーバーのHTTPヘッダーにISO-2022-JPという返答がない場合に起きます。</p>
<p>まずの対策としてはISO-2022-JP文書をShift_JISに変換することで対処できます。</p>
<p>.htaccessファイルで「AddDefaultCharset Shift_JIS」を記述しhttpd.confが<br />
AllowOverride ALLになっていれば治ります。</p>
<p>httpd.confのcharset設定と公開している文書のcharsetが違うのなら<br />
「AddDefaultCharset off」でも良いですね。</p>
<p>根本的にはApacheのDefaultCharsetで指定することで回避できます。<br />
HTTPヘッダに「Content-Type: text/html;charset=iso-2022-jp」を入れるのです。</p>
<p>もっと速やかな場当たり的対処は<br />
文字化けしたページを見ている状態で再読み込み（F5キーを押す）することです。</p>
<p>＝＝＝＝＝＝2011年2月10日追記。</p>
<p>MS11-003: Cumulative security update for Internet Explorer</p>
<p>http://support.microsoft.com/kb/2482017</p>
<p>This update resolves the Japanese Industrial Standard (JIS) encoding known issues that were caused by the release of security update 2416400 described in MS10-090. Customers who applied any of the workarounds that are listed in Knowledge Base articles 2416400 or 2467659 do not have to uninstall the workarounds before installing this update. </p>
<p>MS11-003適用にて解決するようです。（多謝！ rt-100i MLメンバーの方）</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/381.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/381.html" />
	</item>
		<item>
		<title>phpでファイル日付を取得</title>
		<link>http://www.yoshida-design.co.jp/docs/368.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/368.html#comments</comments>
		<pubDate>Wed, 24 Nov 2010 01:19:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=368</guid>
		<description><![CDATA[WordPressの中にも使える ファイル更新日付取得です。 D&#038;DでFTP出来るソフトを使って更新する項目がある場合、 とても有効です。]]></description>
			<content:encoded><![CDATA[<p>WordPressの中にも使える<br />
ファイル更新日付取得です。</p>
<p><code><？php<br />
$mod = filemtime("ファイル名、フルパスで記述");<br />
date_default_timezone_set('Asia/Tokyo'); 　←JSTで表示するようにする無いとUTCになる<br />
print "最終更新日：".date("Y/m/d H:i",$mod);<br />
？></code></p>
<p>D&#038;DでFTP出来るソフトを使って更新する項目がある場合、<br />
とても有効です。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/368.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/368.html" />
	</item>
		<item>
		<title>Sambaで隠し共有を作ってメンテナンスを容易に。</title>
		<link>http://www.yoshida-design.co.jp/docs/355.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/355.html#comments</comments>
		<pubDate>Fri, 22 Oct 2010 07:11:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=355</guid>
		<description><![CDATA[ローカルで使用するファイルサーバーをサクッと立てたとき、 こんなことをご存じだと使い方が広がります。 普通にマイネットワークから見える共有は・・・というとき、 見えない共有を作りましょう。共有なのに見えないのです。 Sa [...]]]></description>
			<content:encoded><![CDATA[<p>ローカルで使用するファイルサーバーをサクッと立てたとき、<br />
こんなことをご存じだと使い方が広がります。</p>
<p>普通にマイネットワークから見える共有は・・・というとき、<br />
見えない共有を作りましょう。共有なのに見えないのです。<br />
Sambaの設定を以下のようにします。</p>
<p>/etc/samba/smb.conf</p>
<p>[share]<br />
path = /usr/@@@/share<br />
writeable = yes<br />
browseable = no</p>
<p>そして ¥¥サーバーのIPアドレス¥share とアクセスすると<br />
パスワードを聞いてきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/355.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/355.html" />
	</item>
		<item>
		<title>Web制作は全て自分でやるべきでしょうか？</title>
		<link>http://www.yoshida-design.co.jp/docs/353.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/353.html#comments</comments>
		<pubDate>Mon, 09 Aug 2010 01:47:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=353</guid>
		<description><![CDATA[Web制作をご依頼頂き、プレゼンをお持ちするとこう言われることがあります。 「Web制作は全て自分でやるべきでしょうか？」 ご自分の持っているイメージを業者制作のWebページで 実現できるのか不安があるということのようで [...]]]></description>
			<content:encoded><![CDATA[<p>Web制作をご依頼頂き、プレゼンをお持ちするとこう言われることがあります。<br />
「Web制作は全て自分でやるべきでしょうか？」<br />
ご自分の持っているイメージを業者制作のWebページで<br />
実現できるのか不安があるということのようです。</p>
<p>ではそもそもの動機に戻って考えましょう。</p>
<p>なぜ御社はWebを作成したいのか<br />
Webを使ってなにをしたいのか</p>
<p>・なぜ御社はWebを作成したいのか<br />
多い回答が、他社・同業種は作成して公開しているし、<br />
当社も先進的で有ると言うことを宣言する意味でつくりたい。</p>
<p>動機はこれで全然構わないと思います。<br />
広告を出すのに壮大な大義名分は要りません。</p>
<p>・Webを使ってなにをしたいのか<br />
営業案内し当社の存在を多くの方に知って貰うことで業績のさらなる向上</p>
<p>これも良いと思います。Webに公開する会社案内です。</p>
<p>さて、この２つの問いで分かったことがあります。<br />
Webは広告なのです。<br />
新聞やラジオや情報誌・フリーペーパーへの掲載とかわりません。<br />
皆さんは紙媒体への掲載を自ら作成しますか？<br />
もともと出版関係にいらして作れる方も居るでしょう。<br />
でも殆ど方は難しいし、やっている方でも苦戦している人が多いことでしょう。<br />
見づらい物を作っているかもしれません。</p>
<p>なら制作はプロに任せて内容を考えればいいとおもいますよ。<br />
あとから文書内容を弄れるように用意しますし、維持保守もお請けできます。<br />
というのが弊社のサービスです。</p>
<p>弊社なら公開後のアドバイスも出来ます。<br />
広告が考えの原点なので必要最低限の情報は開示するように提案します。<br />
無駄な広告、意味の無い広告は出して欲しくないからです。</p>
<p>紙媒体も初版料はかかります。<br />
Webも制作時は初期構築費用は掛かります。<br />
でもその後の改変、拡張は容易ですし、安価です。<br />
Webは紙ではないので部数は予測できません、誰が見ているのかも予測できません。<br />
でも意味を増す方法はあります。</p>
<p>トータルで提案・制作・アドバイスさせていただきます。<br />
お問い合わせください。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/353.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/353.html" />
	</item>
		<item>
		<title>複雑なHTMLと対峙する方法。</title>
		<link>http://www.yoshida-design.co.jp/docs/340.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/340.html#comments</comments>
		<pubDate>Fri, 09 Jul 2010 04:27:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=340</guid>
		<description><![CDATA[Webサイトの作成をやっていますと、 既存のWebをどうにかして欲しいという依頼があります。 もうそのサイトを作った業者との契約は無く、お客様が頑張ってhtmlを解析しても理解できず、 お手上げで弊社にお話しを頂くことも [...]]]></description>
			<content:encoded><![CDATA[<p>Webサイトの作成をやっていますと、<br />
既存のWebをどうにかして欲しいという依頼があります。</p>
<p>もうそのサイトを作った業者との契約は無く、お客様が頑張ってhtmlを解析しても理解できず、<br />
お手上げで弊社にお話しを頂くことも。<br />
他の人が作ったhtmlを解析するのは難しいことです。</p>
<p>htmlを解析する方法には<br />
Firefoxのアドオン&#8221;Firebug&#8221;<br />
タグを色づけして見やすくしてくれるエディタ&#8221;mi&#8221;がありますが、<br />
基本的なhtmlの知識がなければなりません。</p>
<p>そこで万能では無いのですが、整形してくれる良いソフトがあります。</p>
<p><a href="http://www.ibm.com/developerworks/jp/xml/library/x-tiptagsoup/">ヒント: ひどいHTMLをTagSoupで修正する</a></p>
<p>Javaで出来ていますのでJavaがインストールされた環境でターミナルから実行します。<br />
上記サイトの説明ではwgetでダウンロードしてパイプで渡していますが、<br />
ローカルのファイルでも実行可能です。</p>
<p>cat bad.html | java -jar tagsoup-1.2.jar > good.html</p>
<p>bad.htmlが入力ファイルgood.htmlが処理後のコードが格納されるファイルです。<br />
catでbad.htmlの中身を読み出し、パイプでtagsoupに渡して出力をgood.htmlにしています。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/340.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/340.html" />
	</item>
		<item>
		<title>CentOS5でaptを入れる方法</title>
		<link>http://www.yoshida-design.co.jp/docs/256.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/256.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:10:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=256</guid>
		<description><![CDATA[CentOS5では標準のyumリポジトリにaptがありません。 yum install apt とやりますが、 No package apt-get available. Nothing to do と見付からない旨の解 [...]]]></description>
			<content:encoded><![CDATA[<p>CentOS5では標準のyumリポジトリにaptがありません。</p>
<p><strong>yum install apt</strong></p>
<p>とやりますが、</p>
<p><strong>No package apt-get available.<br />
Nothing to do</strong></p>
<p>と見付からない旨の解答になるので、yumリポジトリにaptを扱うリポジトリを追加する<br />
必要があります。</p>
<p>●インストール準備<br />
まず下記URLを参照してください。</p>
<p><a href="http://dag.wieers.com/rpm/packages/rpmforge-release/"><strong>http://dag.wieers.com/rpm/packages/rpmforge-release/</strong></a></p>
<p>最新のrpmファイルをダウンロードします。</p>
<p><strong>wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-＊＊＊＊＊.el5.rf.i386.rpm</strong></p>
<p>rpmのインストールを行います。</p>
<p><strong>rpm -Uhv rpmforge-release-＊＊＊＊＊.el5.rf.i386.rpm</strong></p>
<p>yumの更新を行います。</p>
<p><strong>yum update</strong></p>
<p>●インストール<br />
aptをインストールします。</p>
<p><strong>yum -y install apt</strong></p>
<p>aptを更新します。</p>
<p><strong>apt-get update</strong><br />
これで更新を取得する動作をするならば正常にインストールされています。</p>
<p>弊社ではインストールサービスも行っております。<br />
お問い合わせください。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/256.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/256.html" />
	</item>
		<item>
		<title>LightNEasy</title>
		<link>http://www.yoshida-design.co.jp/docs/114.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/114.html#comments</comments>
		<pubDate>Fri, 04 Sep 2009 04:23:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=114</guid>
		<description><![CDATA[MySQLやPostgreSQLを使えないサーバーを契約されている お客様のご要望にお応えできるように&#8221;LightNEasy&#8221;の扱いを始めました。 PHPとSQLightで動作します。 http: [...]]]></description>
			<content:encoded><![CDATA[<p>MySQLやPostgreSQLを使えないサーバーを契約されている<br />
お客様のご要望にお応えできるように&#8221;LightNEasy&#8221;の扱いを始めました。<br />
PHPとSQLightで動作します。</p>
<p><a href="http://www.project-light.net/">http://www.project-light.net/</a><br />
<a href="http://www.mechacom.com/">（株）めっちゃコム社</a>によるLightNEasy解説サイト</p>
<p>デザインの自由度が高いのが特徴です。</p>
<p>・Tips</p>
<p><strong>「home1.phpが開けません」</strong><br />
ルートディレクトリのパーミッションが777になっていません。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/114.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/114.html" />
	</item>
		<item>
		<title>MacOSX 10.6 レポート</title>
		<link>http://www.yoshida-design.co.jp/docs/95.html</link>
		<comments>http://www.yoshida-design.co.jp/docs/95.html#comments</comments>
		<pubDate>Wed, 02 Sep 2009 23:50:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技術]]></category>

		<guid isPermaLink="false">http://www.yoshida-design.co.jp/?p=95</guid>
		<description><![CDATA[8月28日に届いていましたが、業務に使用しているMacBookがAppleパーティションマップだったため、直ぐにアップグレードできませんでした。(10.6はGUIDパーティションマップにのみ対応) ディスクのバックアップ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.yoshida-design.co.jp/wp-content/uploads/2009/09/5238cbbeca088467efbbf3220f7ce1bb.jpg" rel="lightbox[95]"><img src="http://www.yoshida-design.co.jp/wp-content/uploads/2009/09/5238cbbeca088467efbbf3220f7ce1bb-242x300.jpg" alt="スクリーンショット（2009-09-03 8.39.56）" title="スクリーンショット（2009-09-03 8.39.56）" width="242" height="300" class="alignnone size-medium wp-image-96" /></a></p>
<p>8月28日に届いていましたが、業務に使用しているMacBookがAppleパーティションマップだったため、直ぐにアップグレードできませんでした。(10.6はGUIDパーティションマップにのみ対応)</p>
<p>ディスクのバックアップを丸ごととり、パーティションを設定し直し、フォーマット。<br />
そしてデータを書き戻して、10.6のDVDより起動しました。<br />
インストール作業は30分掛からなかったと思います。<br />
別の作業をしていたら、気づいたらもう終わっていたという感じです。</p>
<p>インストールしたMacが<a href="http://support.apple.com/kb/SP5">Macbook(Early 2008)</a>なので、カーネルは32bitで走っているようです。</p>
<p>まず、Finderの機敏さに驚きます。<br />
ネットワーク経由の共有ポイントのマウントもとても速いです。</p>
<p>Macの終了も速いのです。10.5ではちょっと待つときもありましたから、<br />
これは嬉しい改良です。</p>
<p>FileMakerはExcel書き出しなどにPPCコードが残っているらしく、（本体はUniversal）<br />
10.6のインストール時にカスタムでRosettaを入れておくと問題なく動作します。<br />
(弊社ではインストール時に入れてしまったので気づきませんでした)</p>
<p>そしてこのバージョンより、<br />
IntelMacのみの対応となり、PowerPCは切り捨てられてしまいました。<br />
AppleのラインナップからPPC機が消えて久しくなりました。止む終えないことと思います。</p>
<p>いまIntelMacをおもちの方にはお勧めのアップグレードです。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yoshida-design.co.jp/docs/95.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.yoshida-design.co.jp/docs/95.html" />
	</item>
	</channel>
</rss>

