2012-01-01から1年間の記事一覧
http://thewholeworldispeaceful.hatenablog.com/ http://hakka.g.hatena.ne.jp/taizooo/
まっさらにゼロから何かを始めるのもいいけども、ボロボロでも執念深く続ける、というのもあり。
写経 - SWDYH ひらメソッドとは - はてなキーワード 2005_6_23カーネル座談会① - LinuxKernelHackJapan Discover the Tombloo.: Home コピーアンドペーストってインターネット時代の写経なんじゃないかと思っています。ツールで自動で処理するのでいいじゃん…
見えねえよ。
http://assets.tumblr.com/javascript/prototype_effects_application_tumblelog.js (https://gist.github.com/2625172) var ReblogButtons = { initialize: function () { Event.observe($(document.body), 'click', function (event) { var element = even…
for 細野晴臣のぶんぶく茶釜 : 第1講 「オンリーワン。」 @-moz-document url-prefix("http://webheibon.jp/blog/chagama/") { #header{ display: none; } .profile { visibility: hidden; } }
書かれた順番に読むということ。
http://hitode909.hatenablog.com/entry/2012/01/03/161111 新しい順に読むと書いた順とちがうから不気味だと思う,読んでるうちにだんだん昔になるみたいになる,ブログだとそう読むしかないからそう読むけど,ノートに書かれた日記を逆向きに読むとかして…
アイテム: 細野晴臣のぶんぶく茶釜 第1講 「オンリーワン。」 - データベース: AutoPagerize - wedata url ^http://webheibon\.jp/blog/chagama/2008/01/1\.html nextLink //a[contains(text(),"次")] pageElement //div[starts-with(@id,"entry-")] example…
アイテム: 細野晴臣のぶんぶく茶釜 - データベース: AutoPagerize - wedata url ^http://webheibon\.jp/blog/chagama/ nextLink //a[contains(text(),"前")] pageElement //div[starts-with(@id,"entry-")] exampleUrl http://webheibon.jp/blog/chagama/200…
http://webheibon.jp/blog/chagama/2008/02/post-6.html 本当の友だちっていうのは、離れていたっていい、会わなくったっていいんだよ。まったく知らなくてもいい。そういうも のだよ。 via http://suwaowa.blogspot.jp/2012/04/22-5.html (http://dtybywl.t…
https://twitter.com/#!/33/status/195713193761456129 障害児の、指先だけ切り取った手袋とか http://www.softbankmobile.co.jp/ja/news/press/2012/20120425_01/ http://maho-prj.org/fudebako/manual.pdf 指先だけを切り取った手袋は、切り取った指先以外…
http://tabesugi.net/memo/2012/3.html#050120 計算機ってのはそもそもおかしな発明物だ。 自動車とか飛行機はわかりやすい目的があるが、計算機にはそれがない。 ネットもないし、漢字も表示できない時代に、なんでコンピュータなんか作ったの? それは大規…
地震から一年 - Kato Kazuyoshi 大学の先生や科学的なバックグランドを持つ人達が楽観的ななかで、昔にインタビューを読んだ GRAPE の牧野先生が、今回の一連の事故について悲観的なことを書いていること、山形浩生が GQ や自分のページに書いていたこと、Da…
page++ - Hatena::Let /* * @title page++ * @description page countup * @include http://* * @license MIT License */ var a=location.pathname.split('/'); var p=a[a.length-1]; if (/^\d+$/.test(p)) { p++; a.pop(); a.push(p); } else { a.push(2); …
(テスト) ? (式1) : (式2)とか if(テスト) (式1)より if(テスト) { (式1) } else { (式2) }とか if(テスト) { (式1) }の方がぱっと見、何なのかわかりやすい。無駄に縦に伸びても。 こういうわけで ↓ じつは ↓ なんとかみたいに、縦方向に処理してる? ひょっ…
cd .. - Hatena::Let /* * @title cd .. * @description up dir * @include http://* * @license MIT License */ a=location.pathname.split('/'); a.pop(); location.pathname=a.join('/'); https://developer.mozilla.org/ja/JavaScript/Reference/Global_…
ex gkojaxlabo http://kagurazakaundergroundresistance.tumblr.com/ (最古の tumblr bot)のアーカイブから年月日を基準にランダムな post_id を生成する習作 https://gist.github.com/2197231 function getRandom() { var a = [ { 'year' : '2007' , 'min' …
http://reblog.machine.mamemomonga.com/js/ReblogMachine.js から。 endless summer のために random な post_id を生成する部分。 choice: function () { for (var a = this.range.latest - this.range.oldest, b = [], c = 1; c <= 100; c++) b.push(Math…
http://blog.proto.jp/post/19497347319/ipad-retina-2048x1536-web-bookmarklet javascript: (function () { var m = document.createElement("meta"); m.name = "viewport"; m.content = "width=" (orientation ? 2048 : 1536)",initial-scale=0.5"; docum…
2004年、まだ JavaScript の威力を人が知るには至らず。Web のコッチ側とアッチ側はバラバラだった訳です。
http://web.archive.org/web/20051018055846/http://ma.la/mirrorman/wiki.cgi/2004-11-08
http://stackoverflow.com/questions/773639/how-can-i-simulate-an-anchor-click-via-jquery <script type="text/javascript"> var a = $('.path > .to > .element > a')[0]; var e = document.createEvent('MouseEvents'); e.initEvent( 'click', true, true ); a.dispatchEvent(e); </script>
reblog machine で "o" キーで tumblelog を、"r"キーで reblog ページを開くようにした。
http://reblog.machine.mamemomonga.com/js/ReblogMachine.js $(window).keypress(function (b) { if (!b.ctrlKey && (b.which == 32 || 65 <= b.which && b.which <= 90 || 97 <= b.which && b.which <= 122)) { var b = String.fromCharCode(b.which), d; …
http://gihyo.jp/dev/serial/01/crossbrowser-javascript/0008 (function(){ var script = document.createElement('script'); var head = document.getElementsByTagName('head')[0]; script.src = 'xxx.js'; head.appendChild(script); })(); (function(){…
http://quiet-river-6040.heroku.com/ .kuma pre { font-family:monospace; } .kuma pre #eyes:before { content:"゜ 。"; } .kuma pre:hover #eyes:before { content:"。 ゜"; } (()__(() / \ ( / \ \ \ / (_()_)__/ \ / _,==.____ \ ( |--| ) /\_.|__|'-._…
違うよ。 CSS transitions だよ。 transitions https://gumroad.com/l/pwU <style type="text/css"> * { -moz-transition: all 10s; -webkit-transition: all 10s; -ms-transition: all 10s; -o-transition: all 10s; transition: all 10s; border-radius:0; } *:hover { border-rad…
https://gist.github.com/1787965 http://d.hatena.ne.jp/./os0x/20080403/1207223147 location.href = 'javascript:(' + function(){ //hogehoge }.toString() + ')()';
http://ermos-tily.dotcloud.com/ $('.thing').each(function() { format($(this), $(this).text()) }); http://ermos-tily.dotcloud.com/javascripts/jquery.js http://ermos-tily.dotcloud.com/javascripts/rails.js http://ermos-tily.dotcloud.com/javas…