これは超訳です。
CSSLintは「なんでこんなルールなんだ…」とイラっとすることが多いですけど、それぞれにそれなりに理由があります。まぁ勿論無視するべきなルールとかもあります。例えば見出し要素の再定義禁止とかはHTML5に対するCSSなら無理な話です。そんなわけでどんな理由なのかを簡単に訳しました。無視するかどうかは自分で決めましょう!
この訳はCSSLintと同じライセンスで提供されます。
*hatena_format.jax* はてな記法 | |
============================================================================== | |
入力支援記法 *hatena_format_input_support* | |
------------------------------------------------------------------------------ | |
見出し記法 *hatena_format_heading* | |
> |
/* _/_/_/時間によってメッセージを変更_/_/_/*/ | |
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("もう暗くなってきたね。");} |
#!/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=() |
<?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' , // 投稿タイプ(カスタム投稿タイプも指定できるよ) |
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 |
# open current directory in Finder | |
alias f='open .' | |
# cd to the path of the front Finder window | |
cdf() { | |
target=`osascript -e 'tell application "Finder" to if (count of Finder windows) > 0 then get POSIX path of (target of front Finder window as text)'` | |
if [ "$target" != "" ]; then | |
cd "$target"; pwd | |
else | |
echo 'No Finder window found' >&2 |