This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "hello github"; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
このクラスは、プログラマが作成時に指定した文字列を、htmlコーディングをする時に、コーディングするときに | |
文字列や、そのブロックのデザインをプログラムに触らずに、変更できるようにしたくて、作成したしょぼいクラスです。 | |
大きなブロックなどは、smarty等を使ったりして描けばいいと思います。このクラスは、assignする値のところなどで使います。 | |
コードをブラウザで閲覧しながら、デザイナーの人が、ちょっと気に入らない文字列をこぴぺして、配列に追加してくれれば、プログラムに触らなくても、文字列や、そこんとこのhtmlブロックの、文字列の直後に、ちっちゃな画像も追加しておきたい。といった、表現する人の主張を、「どうぞ、どうぞ」します。 | |
使い方 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta charset=utf-8> | |
<title>quickHtml5Template.html</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<link ref="stylesheet" href="http://html5resetcss.googlecode.com/files/html5-reset-1.4.css" media="all"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* It escapes in characters other than the html usage. | |
* | |
* | |
* | |
*/ | |
$doc=<<<DOC | |
<html lang="ja" dir="ltr"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wordPress twenty ten theme | |
query なし | |
<h1 id="site-title"><span><a href="http://www.tenman.info/wp3/" title="the 3" rel="home">the 3</a></span></h1> | |
query あり | |
?p=39 | |
<div id="site-title"><span><a href="http://www.tenman.info/wp3/" title="the 3" rel="home">the 3</a></span></div> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* wordPress taxonomy sample | |
* | |
* theme/functions.php | |
**/ | |
register_taxonomy( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** move first line | |
* webpage | |
* @link http://d.hatena.ne.jp/tenman/20080124/p1 | |
* | |
* | |
*/ | |
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
<script type="text/javascript">google.load("jquery", "1.4.2");</script> | |
<script type="text/javascript"> | |
<!-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* wordPress3.0beta | |
* | |
* the_excerpt で プラグインが動作していない? | |
* | |
*/ | |
標準のままだと、プラグインが効かない | |
<div class="entry-summary"> | |
<?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pure CSS speech bubbles | |
* @see http://nicolasgallagher.com/ | |
* | |
* | |
*/ | |
/* Oval thought buble (empty, with border) | |
------------------------------------------ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* web font | |
* @see http://blog.petitboys.com/archives/woff_test.html | |
* @see http://www.fontsquirrel.com/fontface | |
* @see http://www.w3.org/Submission/2010/03/ | |
*/ | |
@font-face { | |
font-family: EmbossedBlackNormal; | |
src: url(/font/embossed_black_normal.woff) format('woff'); |
OlderNewer