This file contains 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 Amanzon immersiveView for Opera10.10 | |
// @include http://www.amazon.co.jp/exec/obidos/ASIN/* | |
// ==/UserScript== | |
(function() { | |
opera.addEventListener('BeforeScript', function(e) { | |
if (e.element.src.indexOf('immersiveView') >= 0) { | |
e.element.text = e.element.text.replace('jQuery("<img>").attr("src",currentDetailImageUrl);', 'jQuery("<img>").load(function(){}).attr("src",currentDetailImageUrl)'); | |
} | |
}, false); |
This file contains 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
Sub Test() | |
Sheet1.Activate | |
ShowR1C1ToA1 ("=RC[-1]") ' [=A1] | |
Graph1.Activate | |
ShowR1C1ToA1 ("=RC[-1]") ' [=XFD1] | |
End Sub |
This file contains 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
if (x < 0) { /**/ } | |
else if (x === 0) { /**/ } | |
else if (x > 0) { /**/ } | |
else { /**/ } |
This file contains 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
<#@ template debug="false" hostspecific="true" language="C#" #> | |
<#@ assembly name="System.Core" #> | |
<#@ assembly name="EnvDTE" #> | |
<#@ import namespace="System.Linq" #> | |
<#@ output extension=".txt" #> | |
<# | |
var dte = ((IServiceProvider)this.Host).GetService(typeof(EnvDTE.DTE)) as EnvDTE.DTE; | |
var runContextTest = dte.Commands.Item("{1E198C22-5980-4E7E-92F3-F73168D1FB63}", 885); |
This file contains 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 tugino renkyu for Opera10.10 | |
// @include http://misc.tokyoenvious.net/holidays/holidays.html | |
// ==/UserScript== | |
(function() { | |
if (parseFloat(opera.version()) >= 12) return; | |
if (!window.console) { |
This file contains 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 fastladder - prevent click scroll. | |
// @description prevent scroll on click feed. | |
// @author miya2000 | |
// @namespace http://d.hatena.ne.jp/miya2000/ | |
// @version 1.0.0 | |
// @inclide http://fastladder.com/reader/ | |
// @inclide http://reader.livedoor.com/reader/ | |
// ==/UserScript== | |
This file contains 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 hatebu - rewite id-call. | |
// @description rewite id-call link from the user page to the user bookmark on the entry page. | |
// @author miya2000 | |
// @namespace http://d.hatena.ne.jp/miya2000/ | |
// @include http://b.hatena.ne.jp/entry/* | |
// ==/UserScript== | |
(function() { | |
function main(){ | |
var as = document.evaluate('\/\/a[starts-with(@href,"http://b.hatena.ne.jp/")][starts-with(text(),"id:")]', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); |
This file contains 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 fastladder - prevent overscroll | |
// @description prevent overscroll on Opera. | |
// @author miya2000 | |
// @namespace http://d.hatena.ne.jp/miya2000/ | |
// @version 1.0.0 | |
// @include http://fastladder.com/reader/ | |
// @include http://reader.livedoor.com/reader/ | |
// ==/UserScript== | |
(function(){ |
This file contains 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; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace UnitTestProject1 | |
{ | |
[TestClass] | |
public class UnitTest1 | |
{ | |
[TestMethod] | |
public void TestMethod1() |
This file contains 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
[ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(ValueChangedGaneratorCodeFixProvider)), Shared] | |
public class ValueChangedGaneratorCodeFixProvider : CodeFixProvider | |
{ | |
// snip. | |
public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context) | |
{ | |
var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false); | |
var diagnostic = context.Diagnostics.First(); |
OlderNewer