Share and use the snippet libraries for the online judges.
[ Google Code Jam, Codeforces, Aizu Online Judge and etc... ]
You can install the social-snippet core system by typing the command as follow:
$ gem install social_snippet
...then, you should install the editor plugin (e.g. social_snippet.vim).
(We recommend to use the latest versions of Ruby and Git)
The social_snippet gem provides the command-line interface to manage and use the snippet libraries. For example, you can search the libraries by running $ sspm search {keyword} command, and install them by running $ sspm install {name} command. The sspm-install command can resolve dependencies between the libraries, so if the system found a missing required library on the installation of some library, it is also installed to the your system automatically.
To insert snippet texts, the social-snippet's core system replaces the annotated comment lines with the code specified on the comments.
// @snip < {repo-name} # {repo-version} : {file-path} >
// @snippet < {repo-name} # {repo-version} : {file-path} >
{the snippet source code}