The Ruby ToolboxのMongoDB Clientsから動きが活発そうなものを調べてみる。
- ドキュメント指向データベースの一つ
- RDBライクな検索クエリ
- スキーマレス
- 任意のフィールドを好きなときに追加できる
The Ruby ToolboxのMongoDB Clientsから動きが活発そうなものを調べてみる。
この言い回しで分かる人は分かると思いますが、EmacsでいうところのAnything.elやheimです。 きっちり説明すると、Vimからファイル・バッファ・レジスタ等々を検索するための統合インターフェイスとして作成されました。
利点としては、以下の通り。
| 18: Shougo/unite.vim | |
| 15: mattn/webapi-vim | |
| 15: Shougo/vimproc | |
| 14: Shougo/neocomplcache | |
| 14: Shougo/neobundle.vim | |
| 13: tpope/vim-surround | |
| 13: thinca/vim-ref | |
| 13: Shougo/vimfiler | |
| 12: tyru/open-browser.vim | |
| 12: tpope/vim-fugitive |
| #morse.py -- Generates ITU-Standard morse code (in bit format) from ASCII text. | |
| #MIT License -- Copyright (c) Philip Conrad 2013, all rights reserved. | |
| import time #used for testing later. | |
| morseITUStandard = { | |
| "a" : [1, 0, 1,1,1], #dot dash | |
| "b" : [1,1,1, 0, 1, 0, 1, 0, 1], #dash dot dot dot | |
| "c" : [1,1,1, 0, 1, 0, 1,1,1, 0, 1], #dash dot dash dot |
| <!DOCTYPE HTML> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>スタイルシートそのものを変更する</title> | |
| <link rel="stylesheet" type="text/css" href="style-a.css" id="style-a" disabled="true"> | |
| <link rel="stylesheet" type="text/css" href="style-b.css" id="style-b" disabled="true"> | |
| <style id="style-c"> | |
| #foo { |
| package main | |
| import ( | |
| "bufio" | |
| "encoding/json" | |
| "log" | |
| "net/http" | |
| ) | |
| func main() { |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require "active_support/inflector" | |
| require "optparse" | |
| class Rsub |
| # Adapted from http://stackoverflow.com/questions/1733507/how-to-get-size-of-mysql-database | |
| SELECT Round(Sum(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" | |
| FROM information_schema.tables | |
| WHERE table_schema = "database_name" # Replace this with the name of the database you want to inspect | |
| GROUP BY table_schema; |