ChangeLog を書く際によく使われる英語をまとめました。
ほとんど引用です。
function! RTrim() | |
let s:cursor = getpos(".") | |
if &filetype == "markdown" | |
%s/\s\+\(\s\{2}\)$/\1/e | |
match Underlined /\s\{2}/ | |
else | |
%s/\s\+$//e | |
endif | |
call setpos(".", s:cursor) | |
endfunction |
<?php | |
require_once('/path/to/wordpress/wp-load.php'); | |
require_once('class-wp_post_helper.php'); | |
// 初期化 | |
$post = new wp_post_helper(array( | |
'post_name' => 'slug' , // スラッグ | |
'post_author' => 1 , // 投稿者のID | |
'post_date' => '2012/11/15 20:00:00' , // 投稿時刻 | |
'post_type' => 'posts' , // 投稿タイプ(カスタム投稿タイプも指定できるよ) |
#!/usr/bin/env zsh | |
if [[ $# -lt 2 ]]; then | |
print -P "%UUsage%u: brew install-version [install options] FORMULA VERSION" | |
exit 1 | |
fi | |
formula= | |
version= | |
install_opts=() |
/* _/_/_/時間によってメッセージを変更_/_/_/*/ | |
function putTime() | |
{ | |
d=new Date(); | |
h=d.getHours(); | |
if(h<5){document.write("真夜中ですな。テレホ入ってますか?");} | |
else if(h<11){document.write("おっはよーございます。おげんきですか?");} | |
else if(h<15){document.write("お昼。ご飯食べた?");} | |
else if(h<16){document.write("3時。おやつちょうだいです。");} | |
else if(h<19){document.write("もう暗くなってきたね。");} |
*hatena_format.jax* はてな記法 | |
============================================================================== | |
入力支援記法 *hatena_format_input_support* | |
------------------------------------------------------------------------------ | |
見出し記法 *hatena_format_heading* | |
> |