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
--- aircvw.js.org 2010-01-03 02:17:11.000000000 +0900 | |
+++ aircvw.js 2010-01-03 02:15:50.000000000 +0900 | |
@@ -175,6 +175,16 @@ | |
var ignoreTypes = new Array(); | |
var elements = Form.getElements("ControlPanelForm"); | |
+ var args = new Object; | |
+ var pairs = location.search.substring(1).split('&'); | |
+ for (i = 0; pairs[i]; i++) { | |
+ var pair = pairs[i].split('='); |
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
string text = "source text"; | |
Match match = null; | |
List<Func<bool>> funcs = new List<Func<bool>>() { | |
() => { match = Regex.Match(text, "pattern1"); return match.Success; }, | |
() => { match = Regex.Match(text, "pattern2"); return match.Success; }, | |
() => { match = Regex.Match(text, "pattern3"); return match.Success; }, | |
() => { match = Regex.Match(text, "pattern4"); return match.Success; }, | |
() => { match = null; return true; } | |
}; |
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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
import urllib | |
import socket | |
from xml.etree import ElementTree | |
def get_threadinfo(video): | |
url = 'http://api.jk.nicovideo.jp/v1/channel.get' | |
params = urllib.urlencode({'v': video}) | |
f = urllib.urlopen(url, params) |
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
--- maine_coon.js.org 2010-03-10 01:00:59.343750000 +0900 | |
+++ maine_coon.js 2010-03-10 00:59:24.703125000 +0900 | |
@@ -143,6 +143,19 @@ | |
</VimperatorPlugin>; | |
let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/); | |
+let elemStyle = (liberator.globalVariables.maine_coon_style || | |
+ libly.$U.toStyleText({ | |
+ height: '1em', | |
+ margin: 0, |
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
--- maine_coon.js.org 2010-03-10 01:00:59.343750000 +0900 | |
+++ maine_coon.js 2010-03-10 00:59:24.703125000 +0900 | |
@@ -143,6 +143,19 @@ | |
</VimperatorPlugin>; | |
let tagetIDs = (liberator.globalVariables.maine_coon_targets || '').split(/\s+/); | |
+let elemStyle = (liberator.globalVariables.maine_coon_style || | |
+ libly.$U.toStyleText({ | |
+ height: '1em', | |
+ margin: 0, |
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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
from System.Text import Encoding | |
from System.IO import StringReader | |
from Misuzilla.Applications.TwitterIrcGateway import NilClasses, Status, Statuses, User, Users | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns import TypableMapSupport | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.DLRIntegration import DLRIntegrationAddIn | |
class TypableMapCommandManager(object): | |
def __init__(self): |
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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
import re | |
from System.Text import Encoding | |
from System.IO import StringReader | |
from System.Net import WebClient, WebException | |
from Misuzilla.Applications.TwitterIrcGateway import NilClasses, Status, Statuses, User, Users | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns import TypableMapSupport | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.DLRIntegration import DLRIntegrationAddIn |
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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
import re | |
from System.Text import Encoding | |
from System.IO import StringReader | |
from System.Net import WebClient, WebException | |
from Misuzilla.Applications.TwitterIrcGateway import NilClasses, Status, Statuses, User, Users | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns import TypableMapSupport | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.DLRIntegration import DLRIntegrationAddIn |
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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
import re | |
from System.Text import Encoding | |
from System.IO import StringReader | |
from System.Net import WebClient, WebException | |
from Misuzilla.Applications.TwitterIrcGateway import NilClasses, Status, Statuses, User, Users | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns import TypableMapSupport | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.DLRIntegration import DLRIntegrationAddIn |
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
" copy/paste | |
javascript <<EOM | |
execute_silent = function(str, modifiers) { | |
liberator.execute(str, modifiers, true); | |
} | |
if (liberator.has("Win32")) { | |
execute_silent("cnoremap <C-a> <C-v><C-a>"); | |
execute_silent("cnoremap <C-z> <C-v><C-z>"); | |
execute_silent("cnoremap <C-x> <C-v><C-x>"); | |
execute_silent("cnoremap <C-c> <C-v><C-c>"); |