puts 'The best way to log and share programmers knowledge.'
puts 'The best way to log and share programmers knowledge.'
また、コードをインライン表示することも可能です。
#!/usr/bin/perl -w | |
use strict; | |
use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'lib'; | |
use MT::Bootstrap (); | |
use MT::App::CMS; | |
use CGI::PSGI; | |
use Plack::Builder; | |
use Plack::App::URLMap; | |
use Plack::App::File; |
#!/usr/bin/perl | |
# intro for MT::Component::registry() | |
use strict; | |
use warnings; | |
use lib qw( lib extlib ../lib ../extlib); | |
use utf8; | |
use MT; | |
use MT::Component; | |
use Test::More; |
*markdown-cheat-sheet.jax* Markdown カンニングペーパー | |
作者: Kyo Nagashima <kyo@hail2u.net> | |
バージョン: 0.04 | |
説明: Markdown 記法のカンニングペーパーです。 | |
1. 記法の例 |markdown-cheat-sheet-examples| | |
1.1 段落 |markdown-cheat-sheet-paragraph| | |
1.2 改行 |markdown-cheat-sheet-linebreak| | |
1.3 テキストの強調 |markdown-cheat-sheet-emphasis| |
#!/usr/bin/perl | |
# this script is an implementation of http://textt.net/mapi/20101018201937 | |
use strict; | |
use warnings; | |
use LWP::Simple; | |
my ($ustream_url, $file, $stop) = @ARGV; |
#!/usr/bin/perl | |
# Author: Kyo Nagashima <kyo@hail2u.net>, http://hail2u.net/ | |
# License: MIT license (http://opensource.org/licenses/mit-license.php) | |
# Modified: 2009-11-14T12:24:54+09:00 | |
# Updated: xaicron (http://blog.livedoor.jp/xaicron/) | |
use strict; | |
use warnings; |
[Unit] | |
Description=Movable Type | |
After=syslog.target | |
After=network.target | |
After=mysqld.service | |
[Service] | |
User=movabletype | |
Group=movabletype |
description "Movable Type" | |
start on runlevel [2345] or mysql | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 2 5 | |
env PLACK_ENV=deployment | |
env MT_HOME=/home/movabletype/public_html/movabletype |
<?php | |
/* | |
Plugin Name: Custom Meta Table | |
Plugin URI: http://www.webopixel.net/wordpress/637.html | |
Description: カスタムフィールドの値をオリジナルのテーブル(DB)に保存する | |
Author: k.ishiwata | |
Version: 0.1 | |
Author URI: http://www.webopixel.net/ | |
*/ | |
class CustomMetaTable { |
*markdown-cheat-sheet.jax* Markdown カンニングペーパー | |
作者: Kyo Nagashima <kyo@hail2u.net> | |
バージョン: 0.04 | |
説明: Markdown 記法のカンニングペーパーです。 | |
1. 記法の例 |markdown-cheat-sheet-examples| | |
1.1 段落 |markdown-cheat-sheet-paragraph| | |
1.2 改行 |markdown-cheat-sheet-linebreak| | |
1.3 テキストの強調 |markdown-cheat-sheet-emphasis| |