Code Snippets

by Kosei Moriyama (cou929) on 01 Jun 2011

JavaScript

load-external-script-snippet.js
Simple code snippet for loading external script from a bookmarklet.
script-loader.js
Load scripts, which is on external domain, one by one to document.

XUL

progress_listeners.js
Run your code when url is changed.
extension_manager.js
Get information of installed extensions.
add_form_history.js
Enable auto complete feature of certain form. The data source of complement is history of form inputs.
buildxpi.sh
A naive script to build a firefox extension xpi file.

Perl

template.pl
A template for perl script.

dot files

.emacs
My .emacs file.
.zshrc
My .zshrc file.
.screenrc
My .screenrc file.

TopCoder

tcget.py
Fetch TopCoder problem statement, test cases and expected result of system test. And save these data to file.
My CodeProcessor Template
C++ template for CodeProcessor, one of plugin for TopCoder Algorithm Competition.

Contact

Kosei Moriyama