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
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use DBI; | |
| use feature ":5.10"; | |
| my $dbh = DBI->connect("dbi:SQLite:dbname=ankpixiv.sqlite", | |
| undef, | |
| undef, | |
| { |
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
| XML.ignoreProcessingInstructions = false; | |
| let xml = <> | |
| <?xml-stylesheet type="text/css" href="chrome://browser/skin/"?> | |
| <window id="twitt-popup" | |
| xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | |
| xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
| pack="start" | |
| ondblclick="window.close()"> | |
| <box id="dialog" style="padding: 10px; border: 2px solid #7B969C;"> | |
| <hbox align="center" pack="center"> |
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 PLUGIN_INFO = | |
| <VimperatorPlugin> | |
| <name>heuristic-search</name> | |
| <description>Heuristic search</description> | |
| <author mail="[email protected]" homepage="http://www.hatena.ne.jp/hitode909/">hitode909</author> | |
| <version>0.2</version> | |
| <detail><![CDATA[ | |
| == Commands == | |
| :hsearch {keywords} |
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, letを使わないこと | |
| (function(n,c)c.match('(.{'+n+'})+')[0].split("").reduce(function(p,c,i)(p[i%n]=(p[i%n]||'')+c,p),[]))(6,"01234501234501234578") |