選択範囲を外部プログラムで加工するサクラエディタ用JScriptマクロの雛形 | anobota http://haraita9283.blog98.fc2.com/blog-entry-257.html
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
// jrunscript/Rhino | |
/** | |
* @param writer java.io.Writer | |
*/ | |
function FileWriter(writer){ | |
this.writer = writer; | |
} | |
FileWriter.prototype.close = function(){ | |
this.writer.close(); |
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
@echo off | |
set JJS=C:\path\to\java\bin\jrunscript.exe | |
set LIBO_DIR=C:\Program Files (x86)\LibreOffice 4 | |
set CLASSPATH=%LIBO_DIR%\program\classes\unoil.jar | |
set CLASSPATH=%CLASSPATH%;%LIBO_DIR%\URE\java\juh.jar | |
set CLASSPATH=%CLASSPATH%;%LIBO_DIR%\URE\java\jurt.jar | |
set CLASSPATH=%CLASSPATH%;%LIBO_DIR%\URE\java\ridl.jar | |
rem echo %CLASSPATH% |
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
var MyJSON = {}; | |
function isArray(arg){ | |
return Object.prototype.toString.call(arg) === '[object Array]'; | |
} | |
function escapeStr(s){ | |
return '"' + s | |
.replace(/\\/g, "\\\\") | |
.replace(/\t/g, "\\t") |
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
/* | |
The MIT License | |
Copyright (c) 2009 sonota <yosiot8753@gmail.com> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
# -*- coding: utf-8 -*- | |
require 'yapra/plugin/mechanize_base' | |
module Yapra::Plugin::Feed | |
# description: | |
# | |
# Extract as feed from a web page using hAtom or user defined XPath. | |
# |
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
# -*- coding: utf-8 -*- | |
#require 'pp' | |
require 'open-uri' | |
require 'time' | |
require 'rss' | |
require 'rubygems' | |
require 'yapra/plugin/mechanize_base' | |
module LDRize |
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
(defun asciip (char-code) | |
(and (<= 32 char-code) | |
(<= char-code 126))) | |
;; (asciip ?a) ; => t | |
;; (asciip ?あ) ; => nil | |
;; see also: japan-util.el | |
;; char-code のリスト |
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
# -*- coding: utf-8 -*- | |
require "pp" | |
require "rubygems" | |
require "mofo" | |
list_src = <<EOB | |
株式会社インフィニットループ技術ブログ - 札幌のソフト開発会社インフィニットループのスタッフが送る技術ブログ | |
http://www.infiniteloop.co.jp/blog/ | |
BPS株式会社 開発ブログ Beyond Perspective Solutions LTD. |
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 twitter-dt | |
// @namespace anbt | |
// @include http://twitter.com/*/status/* | |
// @include http://twitter.com/*/statuses/* | |
// @include https://twitter.com/*/status/* | |
// @include https://twitter.com/*/statuses/* | |
// ==/UserScript== | |
/* |
OlderNewer