- 誰かだけが触れるコードを無くす
Introducing Incremental DOM — Google Developers — Medium
Reactやvirtual-dom、Glimmer(Ember)などVirtual DOMの実装は色々あるが、これらのVirtual DOM実装には2つの問題がある
- 既存のテンプレート言語を利用していない(しにくい)
- モバイルでのパフォーマンス、特にメモリに関しては大きすぎる
これらを解決するためにIncremental DOMと言うものを作っている(WIP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://github.com/gevent/gevent/issues/477#issuecomment-56292848 | |
# # Re-add sslwrap to Python 2.7.9 | |
import inspect | |
__ssl__ = __import__('ssl') | |
try: | |
_ssl = __ssl__._ssl | |
except AttributeError: | |
_ssl = __ssl__._ssl2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def http_connection_send(): | |
import httplib | |
def patch_send(): | |
old_send= httplib.HTTPConnection.send | |
def new_send(self, data, *args, **kwargs): | |
print(data) | |
body = old_send(self, data, *args, **kwargs) | |
return body | |
httplib.HTTPConnection.send = new_send | |
patch_send() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This module adds Redis Sentinel transport support to Celery. | |
Current version of celery doesn't support Redis sentinel client, which is must have for automatic failover. | |
To use it:: | |
import register_celery_alias | |
register_celery_alias("redis-sentinel") | |
celery = Celery(..., broker="redis-sentinel://...", backend="redis-sentinel://...") |
- Ubuntu Linux for both development and production
- Git version control system
- Jenkins CI build server (but recently I'm moving to git server-side hooks with ssh from git server to dev/stage/prod servers)
- Redmine bug tracking system
- JetBrains PyCharm IDE
- Fork from Docker cheat sheet
- 実際にコマンドを試したい場合は、すぐにDockerを試したい人のための基礎コマンドを参照
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."
更新: | 2013-12-27 |
---|---|
バージョン: | 1.5.1 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |