by shigemk2

当面は技術的なことしか書かない

2013-05-08から1日間の記事一覧

Emacsからはてなダイアリーへ投稿してみよう

Emacs使いからしたら、Emacsからはてダへの投稿はある意味一種のステータスみたいな ものなので、 hatena-diary-mode For Emacs を利用しようとしたんだ。ごにょごにょして C-c C-pで投稿しようとしたら、こんなエラーメッセージが返ってきたのである。 Sear…

removeとempty

remove([expr]) - jQuery 日本語リファレンス 要素を丸ごと削除する。emtpyとの違いは、 emptyは要素の中身だけを消し去るのに対し、 $('#hoge').empty(); <p id="hoge">hoge</p> ↓ <p id="hoge"></p> removeは要素そのものを削除する。 $('#hoge').remove(); <p id="hoge">hoge</p> ↓

テスト

hatena-diary.elのテスト

textareaフォームのリサイズ機能をやめる

CSS

textarea のリサイズ機能を止めてみる - CSS HappyLife textarea#hoge { resize: none; } とするとよい。

97 Things Every Programmer Should Know 66 Prevent Errors

ERROR MESSAGES are the most critical interactions between the user and the rest of the system. They happen when communication between the user and the system is near the breaking point. instructions are ineffective at preventing error. Use…

97 Things Every Programmer Should Know 64 Pair Program and Feel the Flow

If you have already practiced pair programming, you are probably familiar with how pairing contributes to flow. If you have not, we want to use our experiences to motivate you to start right now! There are numerous situations where flow ca…