One of my favorite parts of the summer is attending music festivals. Most festivals offer "early bird" tickets for a significantly lower price than general admission, however they typically sell out well before the actual event. Whether it is laziness, lack of money, or just plain stupidity I never seem to purchase these early bird tickets on time and have to look to different options. In recent y
バックアップに思いを馳せる日々... 精神が勝手に汚濁している毎日、 バックアップどうすりゃいいんだと考える毎日。 探してたらBakthatというものを見つけた。 指定したディレクトリを暗号化し、また S3 or Glacierにバックアップする機能もついている。 Bakthat ドキュメント bakthat インストール まずは環境構築をしよう。 botoを利用しているので、環境はPython 2.x系じゃないといけない。 今回は2.7.5で動作確認をしている。 (S3/Glacierを利用してバックアップするのにbotoを利用している。) S3へのバックアップを行なってみる 安くて安心なバックアップ先でクラウドで〜となるとS3しかない… リージョン3つに跨ってバックアップとかS3してるし。 時間経てばGlacierに転送しちゃうみたいなのも可能だし。 AWS側の設定 AWS S3のAP
DAWG documentation¶ This package provides DAWG(DAFSA)-based dictionary-like read-only objects for Python (2.x and 3.x). String data in a DAWG may take 200x less memory than in a standard Python dict and the raw lookup speed is comparable; it also provides fast advanced methods like prefix search. Based on dawgdic C++ library. License¶ Wrapper code is licensed under MIT License. Bundled dawgdic C++
この記事は yosida95.com に移動しました。 新しい URL は https://yosida95.com/2014/06/15/233351.html です。 お手数をお掛けしますが、ブックマークの付け替えをお願いします。
# https://gist.github.com/mitukiii/4234173 import sys, commands from percol.command import SelectorCommand from percol.key import SPECIAL_KEYS from percol.finder import FinderMultiQueryMigemo, FinderMultiQueryRegex ## prompt # Case Insensitive / Match Method に応じてプロンプトに表示 def dynamic_prompt(): prompt = ur"" if percol.model.finder.__class__ == FinderMultiQueryMigemo: prompt += "[Migemo]" elif percol
はじめに 今となっては、プログラマにとってなんとなく理解して利用できることが当たり前になりつつあるオブジェクト指向ですが、しかし、それこそ今から数年前には、この「オブジェクト指向」というのは、いわばおじさん達が変な方針を打ち出したりして「え、それ変な実装方針じゃねえの」というツッコミが入ったりしていました(ちなみにそのあたりの雰囲気については、この記事を読むと分かりやすいでしょう)。 もちろん、これはこれなりにメリットがあるのかもしれませんが、しかしそれはまた別のオブジェクト指向を利用したモデリングと比較してのことであって、「これだけでいい」と考える人はいないでしょう。 原則: だってそのほうが開発しやすいから まず最初に原則を考える必要があります。まずひとつに、必ずしもオブジェクト指向が正しいモデリングの方法ではないこと。少なくとも自分が思うに、オブジェクト指向を使うべき理由というのは、
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く