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
| using System.Linq; | |
| using System.Text; | |
| using System.Diagnostics; | |
| namespace ConsoleApplication1 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
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== | |
| // @name Booooooooogle | |
| // @include http://www.google.co.jp/* | |
| // @include http://www.google.com/* | |
| // ==/UserScript== | |
| (function() { | |
| opera.addEventListener('BeforeEvent', function(e) { | |
| if (e.event.type == 'keypress' && e.event.keyCode == 13) { | |
| e.preventDefault(); | |
| } |
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== | |
| // @name jQuery - fix window height (for jQuery version 1.2.x.) | |
| // ==/UserScript== | |
| (function() { | |
| function main() { | |
| if (typeof jQuery == 'undefined') return; | |
| if (!/^1\.2\./.test(jQuery.fn.jquery)) return; | |
| var height_ = jQuery.fn.height; | |
| jQuery.fn.height = function() { | |
| if ( this[0] == window && jQuery.browser.opera && jQuery.browser.version >= 9.50) |
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 GOOGLE_READER_PROXY_URL = 'http://www.google.com/reader/atom/feed/' | |
| function feedRequest(href, feedCallback) { | |
| httpRequest(href, callback); | |
| function callback(e) { | |
| if (e.status == '403') { | |
| postError('feed access denied. [' + e.status + '] ' + e.statusText); | |
| if (href.indexOf(GOOGLE_READER_PROXY_URL) != 0) { | |
| var url = GOOGLE_READER_PROXY_URL + encodeURIComponent(href); | |
| postError('retry to Google Reader [' + url + ']'); | |
| feedRequest(url, feedCallback); |
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
| package ttt; | |
| import java.io.File; | |
| import org.eclipse.jgit.api.Git; | |
| import org.eclipse.jgit.storage.file.FileRepository; | |
| public class JGitTest { | |
| public static void main(String[] args) throws Exception { |
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
| using System; | |
| namespace EnumName.enums | |
| { | |
| public static class Hoge | |
| { | |
| public enum Value | |
| { | |
| Aaa, | |
| Bbb |
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
| package doltengtest.action; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.assertThat; | |
| import javax.annotation.Resource; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.seasar.framework.mock.servlet.MockHttpServletResponse; |
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== | |
| // @name yahoo comics | |
| // @include http://comics.yahoo.co.jp/* | |
| // @include http://view.books.yahoo.co.jp/* | |
| // ==/UserScript== | |
| window.opera.defineMagicVariable('flagBrowser', function (curVal) { return true; }, function (newVal) { }); | |
| window.opera.defineMagicFunction('CheckBrowser', function () { return true; }); |
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== | |
| // @name Scrolloo | |
| // @description Yet anther scrollbar and scroll utilities. | |
| // @namespace http://www.hatena.ne.jp/miya2000/scrolloo | |
| // @version 1.00 Beta | |
| // @include * | |
| // ==/UserScript== | |
| //* | |
| (function(f) { | |
| //for debug. |
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
| Index: ReflectiveConnectionConfig.java | |
| =================================================================== | |
| --- ReflectiveConnectionConfig.java (リビジョン 373) | |
| +++ ReflectiveConnectionConfig.java (作業コピー) | |
| @@ -149,22 +149,14 @@ | |
| * | |
| * @see org.seasar.dolteng.eclipse.preferences.ConnectionConfig#getDriverPath() | |
| */ | |
| - public String getDriverPath() { | |
| - return driverPath; |