Author Archives: clay

XreaでWordPressが表示されないとき

XreaでWordpressが表示されないとき

http://mainte.xrea.com/
にアクセス

1)自分のサーバー名の右側にある管理画面にログイン

2)左メニューからデータベースを選択

3)画面下の方にある「PhpMyAdimn」 のログインをクリック

4)Language を日本語にし
左のメニューからデータベースを選択する
データベースは任意のものを選択するとしばらくしてから一覧が出る

5)下の方に行き、すべてチェックするをクリックした後
「チェックしたものを」から「テーブルを最適化する」を選択

※選択するだけでいい

When your wordpress sites don’t work well…

If you use Xrea server,
Go to http://mainte.xrea.com/

1. look for your server number then click log in button which is on the right side.
2. choose your database on left side menu.
3. Link of “PhpMyAdmin” is bottom of this page, click it.
4. Change the languages you want and choose your database.
5. Go to the bottom of this page and click “Check all.”
6. Click “With selected” and choose “Optimize table.”


横手貞一朗|くびれトレーニング|きれいの魔法ベストハウス123肉だけダイエット|所さんの目がテン

iconvを使いMacのTerminalで文字化けしているUTF-8のhtmlをSHIFT_JISに一括変換

iconvを使いMacのTerminalで文字化けしているUTF-8のhtmlをSHIFT_JISに一括変換

ーーーーーーーーーーーーーーーーーーー
【一括変換したいhtmlファイル】
link1.html
link2.html
link3.html
ーーーーーーーーーーーーーーーーーーー
1)link1.html、link2.html、link3.htmlを同じフォルダに入れる
(ここではホームフォルダのDocumentsのOthersのconvertというフォルダ)
2)terminalで以下を打ち込んでリターンキー
cd /Users/ホーム名/Documents/Others/convert
3)さらに以下を打ち込んでリターンキー

iconv -f UTF-8 -t SHIFT_JIS link1.html > alink1.html
iconv -f UTF-8 -t SHIFT_JIS link2.html > alink2.html
iconv -f UTF-8 -t SHIFT_JIS link3.html > alink3.html

すると、ホームフォルダのDocumentsのOthersのconvertというフォルダには
alink1.html
alink2.html
alink3.html
という名前のSHIFT_JISに変換済のhtmlファイルが出来る

link1.html
link2.html
link3.html
はフォルダから削除してしまう

Finderで
alink1.html
alink2.html
alink3.html
を選択した状態で

メニューバーにあるFinder Scripts から Trim File Namesを選択

aを入力してTrimStart

これで
すべてのaが取れて
alink1.html→link1.html
となる

Finder Scriptsは下記URLでダウンロードできる
http://www.geekymac.com/?p=943

このブログは2004年から

このブログは2004年から書き続けているし(途中でドメイン等変わったけど)、もちろんこれからも書き続けるつもりなんだけど、何十年か経って振り返った時に楽しめるように頑張っていきたいと思っています。単なる日記のようにみえる記事も多かったりして不満な人もいると思うけど、すべての記事に対して「このときはこういうことがあったからこう書いた」ということを説明出来る。ただ、本当に言いたいことはメールマガジンで言いたいと思う。インターネット上ではメールマガジンはブログよりも直接的なもののような気がすると思っているので。

I’ve been posting articles on this blog since 2004 and of course I’m gonna keep on doing it.
So I want to do the best so that I can enjoy reading this blog when I get old and look back my days.
These days, the articles of this blog look like a simple diary but they’re different.
I hope the day will soon come when I mention it.
Actually I want to write what I really want to say on my Email magazine instead of my blog.
I think Email magazine is right one.



Sponsored Links
横手貞一朗|くびれトレーニング|きれいの魔法ベストハウス123

マジでKrasis code birdの2050

最近マジでKrasis code birdの2050しか聞いてない
特に走っているときはまったく疲れを感じないから
いかにポジティブなバイブレーションが流れているか
ということが分かる

まだダウンロードしていない人は絶対ダウンロードしてみてね

今は無料でダウンロード出来るけど
4/1に3000円になってしまうみたいよ

ダウンロードはこちらから↓↓↓
http://news.krasis-code.net/article/253885241.html

Music Station

ミュージックステーション

BONNIE PINKが出たので久々にミュージックステーションを見た
ミュージックステーションなんて何年ぶりなんだろう?
と思ったら、何十年ぶりだったw(← w 初登場!)

10代の頃は結構見てたよ

でも見ながら文句言ってる自分が嫌で
見るのをやめたw

ところで久しぶりに見て

ミュージシャンのパフォーマンスよりも
お客さんの磨かれた演出に感動しました

とかなんとか言いつつも
やっぱり歌いたいね

カラオケじゃ当然物足りないし

I watched the TV program titled “Music Station” for the first time in about 20 years.
What’s the matter?
No, I’m OK but the reason why I watched it because Bonnie Pink appeared.
I’ve watched that program when I was teenage.
But I don’t like me hating other musicians while watching it so I quit.
By the way
What I thought about that was audiences’ performances were really good (more than musicians did)
Well…
I wanna sing my song.
This is what I really want.
Enough Karaoke!