This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/atsushi/local/iv% python sputnik/tools/sputnik.py --command=./obj/lv5/lv5 --tests=./sputnik | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2 passed | |
| 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1 passed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @include http://reader.livedoor.com/reader/* | |
| // @include http://fastladder.com/reader/* | |
| // ==/UserScript== | |
| addEventListener('load', function(){ | |
| Keybind.add("back",Control.unsubscribe); | |
| }, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/SConstruct b/SConstruct | |
| index 26259a2..3830265 100644 | |
| --- a/SConstruct | |
| +++ b/SConstruct | |
| @@ -72,6 +72,8 @@ def Build(): | |
| env = Environment(options=var, tools = ['default', TOOL_SUBST]) | |
| env.VariantDir(join(root_dir, 'obj'), join(root_dir, 'src'), 0) | |
| + env.PrependENVPath('PATH', os.environ['PATH']) # especially MacPorts's /opt/local/bin | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @include http://mojix.org/* | |
| // ==/UserScript== | |
| (function() { | |
| var b = document.querySelector('.entry_body'); | |
| b.innerHTML = b.innerHTML.replace(/(<br>\s*)?<([\s\S]*?)>(。)?(\s*<br>)?/g, function($0,$1,$2,$3,$4) { | |
| return '<blockquote style="background-color:#f8f8f8;border:double black 3px;padding:0.5em;">' + $2 + ($3||'') + '</blockquote>'; | |
| }); | |
| }()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| var SHOW_URL_IN_BRACES = false; | |
| var re = /^https?:\/\/twitter\.com\/(?:#!\/)?(\w+)\/status(?:es)?\/(\d+)/; | |
| function addPageTitleButtonOnTweet(elem) { | |
| var links = elem.getElementsByTagName('a'); | |
| for (var i = 0, l = links.length; i < l; i++) { | |
| if (/\slink\s/.test(' ' + links[i].className + ' ')) { | |
| // avoid tweet url (there is already tweet_url_reply.js) | |
| if (!re.test(links[i].href)) addPageTitleButton(links[i]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @include http://www.youtube.com/* | |
| // ==/UserScript== | |
| (function() { | |
| var clip = document.getElementsByClassName('clip'); | |
| var timer; | |
| function handleScroll() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/msgpack.cc b/src/msgpack.cc | |
| index 0803d67..818fe5d 100644 | |
| --- a/src/msgpack.cc | |
| +++ b/src/msgpack.cc | |
| @@ -288,8 +288,7 @@ pack(const Arguments &args) { | |
| } | |
| } | |
| - Buffer *bp = Buffer::New(sb._sbuf.size); | |
| - memcpy(bp->data(), sb._sbuf.data, sb._sbuf.size); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var JS_Advent_Calendar_2010 = [ | |
| { | |
| "day" : 1, | |
| "name" : "dreamfire", | |
| "title" : "5分で分かる jQuery", | |
| "link" : "http://d.hatena.ne.jp/dreamfire/20101201/javascript_advent2010" | |
| }, | |
| { | |
| "day" : 2, | |
| "name" : "t32k", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @include http://a.hatena.ne.jp/* | |
| // ==/UserScript== | |
| (function() { | |
| function replaceLinks() { | |
| Array.prototype.forEach.call( | |
| document.querySelectorAll('a[href^="http://a.st-hatena.com/go?"]'), | |
| function(a) { |