Skip to content

Instantly share code, notes, and snippets.

View hsbt's full-sized avatar
🏠
Working from home

Hiroshi SHIBATA hsbt

🏠
Working from home
View GitHub Profile
CONFIGURE_OPTS="--with-out-ext=tk,tk/* --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline`" rbenv install 2.0.0-dev
#!/usr/bin/env ruby
# -*- coding: utf-8; -*-
require 'rubygems'
require 'redcarpet'
require 'wicked_pdf'
require 'pathname'
WickedPdf.config = { :exe_path => '/Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf' }
{:internal=>
{:T_ARRAY=>2372, :T_NODE=>2362, :T_CLASS=>324, :T_STRING=>961, :T_HASH=>24},
:total=>2362,
:str=>12396}
{:TOTAL=>101036,
:FREE=>34803,
:T_OBJECT=>5454,
:T_CLASS=>1006,
:T_MODULE=>87,
:T_FLOAT=>6,
Change your tools, change your outcome - the next frontier of deployment
2:30pm - 3:15pm (45m)
When you type “cap deploy”, “ey deploy”, or “git push heroku master” your intent is to deploy your local application source to your running system on the Internet. That seems to be the point - you changed your code, and you want to Just Ship It. But what is your actual objective? Is it really to just “deploy app code changes”? Is this “app-centric” view and user experience satisfactory?
Code deployment is your intent on some occasions. On others you want to change your production environments for applications, or change scale attributes of your system, or change how applications and services within a system communicate with each other, or with remote services (such as facebook).
Is “app-centric deployment” the best mental model and toolchain for shipping changes to productions systems? Or is “environment-centric” or “node-centric”, enabled with frameworks like Chef or Puppet, the most powerful & effective model of
CONFIGURE_OPTS="--with-out-ext=tk,tk/* --with-opt-dir=`brew --prefix openssl`:`brew --prefix readline`" rbenv install 2.0.0-dev
2013-01-23 17:55:13 +0900: temporarily failed to flush the buffer, next retry will be at 2013-01-23 17:55:44 +0900. error="No such file or directory - /tmp/fluent/tdlog/tdlog-20130123-2417-4y9qf4.lock" instance=23896807600240
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tempfile.rb:346:in `rmdir'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tempfile.rb:346:in `rmdir'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tempfile.rb:338:in `ensure in locking'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tempfile.rb:338:in `locking'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tempfile.rb:144:in `block in initialize'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tmpdir.rb:133:in `create'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/tempfile.rb:134:in `initialize'
2013-01-23 17:55:13 +0900: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-td-0.10.13/lib/fl
<?xml version="1.0" encoding="UTF-8"?>
<schema name="sunspot" version="1.0">
<types>
<!-- Scalar field types -->
<fieldType name="boolean" class="solr.BoolField" omitNorms="true"/>
<fieldType name="date" class="solr.DateField" omitNorms="true"/>
<fieldType name="rand" class="solr.RandomSortField" omitNorms="true"/>
<fieldType name="sdouble" class="solr.SortableDoubleField" omitNorms="true"/>
> redmine_exception_handler_plugin
> redmine_link_to_root
> redmine_mailing_list_integration
> redmine_mailing_list_integration_imap_supplement
> redmine_rd_formatter
> redmine_ruby_lang_mailing_list_customization
$ git clone git://github.com/puppetlabs/puppet.git
$ cd puppet
$ bundle
$ bundle exec rspec spec/unit/util/pidlock_spec.rb
% ab -c 3 -n 15 http://jp.rubyist.net/magazine/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking jp.rubyist.net (be patient).....done
Server Software: Apache/2.2.16
Server Hostname: jp.rubyist.net