NSAssert
指定した条件が間違っていればlogに文字列を書き込む
NSAssert2
指定した条件が間違っていればlogに引数2つの文字列を書き込む
http://www.oomori.com/cocoafw/Foundation/NSAssert2/NSAssert2.html free raspberry ketones…
ピックアップ記事
NSAssert,NSAssert2
2011年04月13日
過去Blog
php MySQL 2つのテーブルを縦に並べて結合(union)し、結果を抽出する
2010年03月30日
過去Blog
select c1,c2,c3 from A
union all
select c1,c2,c3 from B
参照元:http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1115439551 divorce lawyer san diego…
phpでRSSを取得後の日付表示方法を変更する
2009年12月05日
過去Blog
FC2ブログからRSSを取得すると、日付は以下のようになる。
<dc:date>2009-12-24T00:20:00+09:00</dc:date>
このままでは、少しかっこが悪いので、以下のように修正。
$date ="2009-12-05T05:55:00+09:00";
$date = strtotime($date);
$date = date('Y/m/d …
ユーザーエージェントを調べる方法
2009年11月24日
過去Blog
ユーザーエージェントを調べる方法
javascript:alert(navigator.userAgent)
http://katozyun.web.fc2.com/urawaza/ua02.html
http://somethinweb.jp/test123/useragent.php
また,UAは以下のサイトでも確認することができます.
* 診断くん:http://www.t…
PHP strstr stristr ある文字列が含まれるかどうか調べる
2010年06月11日
過去Blog
$string = 'Hello World!';
if(stristr($string, 'earth') === FALSE) {
echo '"earth" not found in string';
}
// 出力は "earth" not found in string となります
参照元:http://www.php.net/manual/ja/function.st…
graffiti on the web
この投稿へのコメント
コメントはまだありません。