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
/** | |
* Usage | |
* var nodes = [{x:x0,y:y0},{x:x1,y:y1},{x:x2,y:y2}.....]; | |
* var edges = new Delauney(w, h).triangulate(nodes); | |
*/ | |
var Delauney = function (width, height) { | |
//init | |
this.width = width; | |
this.height = height; | |
this.triangles = []; |
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
-------------------------------------------------- | |
-- createnote.applescript | |
-- Evernote Command Line Proxy | |
-- by Maripo Goda <goda.mariko[at]gmail.com> | |
-- Required: | |
-- Mac OS X + AppleScript | |
-- Evernote for Mac OS X | |
-- Usage: | |
-- Create a note with text | |
-- > osascript createnote.applescript --title='Sample Note 1' --text='Test Text' |
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
にゃーにゃーにゃーにゃーにゃーにゃーみゃうぅぅんみゃっにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーふみゃおんみゃーんごろごろ>にゃー | |
にゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃおーん | |
みゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんにゃおーん | |
みゃーんみゃーんにゃおーん | |
にゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃおーん | |
みゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんみゃーんにゃおーん | |
みゃーんみゃーんにゃおーん | |
にゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃおーん | |
みゃーんみゃーんみゃーんにゃおーん | |
にゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃーにゃおーん |
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
on split(txt, delimiter) | |
set defaultDelimiter to AppleScript's text item delimiters | |
set AppleScript's text item delimiters to delimiter | |
set res to text items of txt | |
set AppleScript's text item delimiters to defaultDelimiter | |
return res | |
end 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
-------------------------------------------------- | |
-- createnote.applescript | |
-- Evernote Command Line Proxy | |
-- by Maripo Goda <goda.mariko[at]gmail.com> | |
-- Required: | |
-- Mac OS X + AppleScript | |
-- Evernote for Mac OS X | |
-- Perl + JSON.pm | |
-- Usage: | |
-- Create a note with text |
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 Rarejob Note Creator | |
// @namespace maripo.org | |
// @description Create evernote notes for RareJob lessons | |
// @include https://www.rarejob.com/login/top.php* | |
// @grant none | |
// @version 1 | |
// ==/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
// ==UserScript== | |
// @name github_gist_logo | |
// @namespace maripo.org | |
// @description Enhance the top logo of github:gist | |
// @include https://gist.github.com/* | |
// @version 1 | |
// ==/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
// ==UserScript== | |
// @name Wikipedia Language Labels | |
// @namespace org.maripo.neta | |
// @description Enhance links to other languages (e.g. Change "Français" to "Étoile (Français)" on http://en.wikipedia.org/wiki/Star ) | |
// @include http://*.wikipedia.org/wiki/* | |
// @grant none | |
// @version 1 | |
// ==/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 LifelogOrLaphroaig | |
// @namespace org.maripo.neta | |
// @description ライフログとラフロイグの空目を防止する | |
// @include * | |
// ==/UserScript== | |
(function () { | |
var STRING_LIFELOG = 'Lifelog'; | |
var STRING_LAPHROAIG = 'Laphroaig'; |
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 AndroidOrArduino | |
// @namespace org.maripo.neta | |
// @description AndroidとArduinoの空目を防止する | |
// @include * | |
// ==/UserScript== | |
(function () { | |
var STRING_ARDUINO = 'あるどぅいーの'; | |
var STRING_ANDROID = 'あんどろいど'; |