Skip to content

Instantly share code, notes, and snippets.

View pazworld's full-sized avatar

pazworld pazworld

View GitHub Profile
@pazworld
pazworld / 00-README-search-evernote-beta-editor.md
Last active February 26, 2024 09:55
Bookmarklet search for the Evernote contents (for beta web editor environment)

Description

Bookmarklet search for the Evernote contents. This is for "beta web editor", you must switch to beta editor previously.

Bookmarklet Code

javascript:(function(){var o=' notebook:"my notebook"',s=window.prompt("Search for Evernote"),u;if(!s)return;u="https://www.evernote.com/client/web#?query="+s+o;location.href=encodeURI(u);})();
@pazworld
pazworld / wayback.js
Created September 15, 2020 01:54
Bookmarklet that shows current web page in Internet Archive
javascript:(function(){window.location.href='https://web.archive.org/web/*/'+document.URL;})();
@pazworld
pazworld / .00-README.md
Last active January 5, 2023 07:39
study "Learn You Some Erlang for Great Good!"

This is gist to study "Learn You Some Erlang for Great Good!"

This gist is merged into pazworld/study repository.

@pazworld
pazworld / showsamesender.js
Last active October 21, 2022 09:19
This bookmarklet shows list of messages in inbox of Gmail which sender is same to the message currently shown.このブックマークレットはGmailで現在表示しているメッセージと同じ送信者から来た受信トレイにあるメッセージをリストで表示します。http://d.hatena.ne.jp/paz3/20120911/1347341170
javascript:(function(){var es=document.getElementsByClassName("gD");if(es.length==0)return;var e=es[0].getAttribute("email");window.location.href='/mail/u/0/#search/in%3Ainbox+from%3A'+e;})();
*.beam
% this program solve the question from https://twitter.com/nya3_neko2/status/1481503969965142016
-module(gakkou).
-export([permutation/1, start/0, test/0]).
permutation(L) ->
lists:reverse(permutation([], [], L)).
permutation(Results, Current, []) ->
[lists:reverse(Current) | Results];
@pazworld
pazworld / delurlquery.js
Created December 10, 2013 04:19
URLの?以降を削除するブックマークレット
javascript:(function(){location.href=location.href.replace(/\?.*$/,'');})();
@pazworld
pazworld / .gitignore
Last active June 13, 2021 06:41
wxErlang graphic test for chip8er
*.beam
@pazworld
pazworld / .gitignore
Last active October 10, 2020 14:43
BowlingGameKata in Erlang 3
*.beam
@pazworld
pazworld / .gitignore
Last active September 25, 2020 11:15
BowlingGameKata in Erlang 2
*.beam