typo 死ぬほど多いので突っ込みまってます
バージョン: | 0.2.3 |
---|---|
作者: | @voluntas |
考え方はコロコロ変わるタイプなのですが、最近はレビューが実はとても大事でとにもかくにもレビューなのでは?と思い始めてきています。
# Thomas Parslow http://almostobsolete.net | |
# Just a work in progress and adapted to what I need right now. | |
# It does uploads (via a file-like object that you write to) and | |
# I've started on downloads. Needs the development version of Boto from Github. | |
# | |
# Example: | |
# | |
# glacierconn = GlacierConnection(AWS_ACCESS_KEY, AWS_SECRET_ACCESS_KEY) | |
# writer = GlacierWriter(glacierconn, GLACIER_VAULT) | |
# writer.write(somedata) |
import pytest | |
import shelldoctest | |
# use this if you run only shelldoctest | |
#def pytest_addoption(parser): | |
# parser.addoption("--shelldoctest", action="store_true", | |
# help="run shell-doctest") | |
# | |
#def pytest_runtest_setup(item): | |
# if not isinstance(item, item.Function): |
module Vagrant | |
module Provisioners | |
class Fabric < Base | |
class Config < Vagrant::Config::Base | |
attr_accessor :fabfile_path | |
attr_accessor :fabric_path | |
attr_accessor :python_path | |
attr_writer :tasks | |
def _default_fabfile_path |
diff -r c9910fd022fc -r 0cc743bd3a6d Doc/library/ssl.rst | |
--- a/Doc/library/ssl.rst Tue Apr 10 10:59:35 2012 -0400 | |
+++ b/Doc/library/ssl.rst Tue May 29 14:31:16 2012 -0700 | |
@@ -218,14 +218,6 @@ | |
Note that use of this setting requires a valid certificate validation file | |
also be passed as a value of the ``ca_certs`` parameter. | |
-.. data:: PROTOCOL_SSLv2 | |
- | |
- Selects SSL version 2 as the channel encryption protocol. |
app = node[:rails][:app] | |
rails_base app[:name] do | |
ruby_ver app[:ruby_ver] | |
gemset app[:gemset] | |
end | |
%w{config log pids cached-copy bundle system}.each do |dir| | |
directory "#{app[:app_root]}/shared/#{dir}" do | |
owner app[:deploy_user] |
import colander as c | |
import deform.widget as w | |
from deform.form import Form | |
from deform.schema import FileData | |
import os | |
here = os.path.dirname(__file__) | |
class Store(dict): | |
def preview_url(self, name): |
======================================== | |
In defense of zope libraries 翻訳 | |
======================================== | |
Pyramid が Zope ライブラリを使っていることについての非常に長い defence | |
---------------------------------------------------------------------- | |
freenode の #pyramid IRC チャンネルで、以下のような質問に私は | |
うんざりするほど多くの時間を割いてきた。 |
## mysql::master | |
ruby_block "store_mysql_master_status" do | |
block do | |
node.set[:mysql][:master] = true | |
m = Mysql.new("localhost", "root", node[:mysql][:server_root_password]) | |
m.query("show master status") do |row| | |
row.each_hash do |h| | |
node.set[:mysql][:master_file] = h['File'] | |
node.set[:mysql][:master_position] = h['Position'] | |
end |