Misc Programs written in Ruby
Requirements
- Ruby
Algorithm and Data Structure
- sort-bubble.rb - buble sort
- sort-intersection.rb - intersection sort
- sort-selection.rb - selection sort
- sort-merge.rb - merge sort
- sort-quick.rb - quick sort
- trie.rb - trie data structure
Use of External Library
- traverse_fammon.rb - monitoring the modification of filesystem by using libfam-ruby
Web API
- googlemapgenerator.rb - auto-generating GoogleMap's javascript code
- hatenabookmarkcount-api.rb - using Hatena bookmark count API via XML-RPC
Network
- udpclient.rb - simple UDP client
- udpserver.rb - simple UDP server
A Bit Larger Programs
-
SigMap
This is a GoogleMap based application. You can save the location with comment, and can search any locations (currently, Japan only). This Software uses invGeocoder REST API and Geocoding REST API. Thank you!
- ScreenShot
-
Usage
run server.rb and access http://localhost:8080/mapportal.rb fron the browser.
- Download
-
cmd_analyzer.rb - CommandLine Analyzer for zsh
This script analyzes your command line. To use this script, please add following lines to your .zshrc.To see the results, please run as follows.
preexec() { [[ -t 1 ]] || return '/path/to/cmd_analyzer.rb' --countup $1 }
/path/to/cmd_analyzer.rb
- image-news.rb - Google News by ImageBox
History
- 2005/01/25: sort-*.rb is added
- 2005/01/21: image-news.rb is added
- 2005/12/26: cmd_analyzer.rb is added
[ return ]