This file contains 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
rpmbuild ... \ | |
--define '_source_filedigest_algorithm 0' \ | |
--define '_binary_filedigest_algorithm 0' \ | |
--define '_binary_payload w9.gzdio' \ | |
xxx.spec | |
see also: http://nareshov.wordpress.com/2011/12/22/rpmbuild-behaviour-centos5-vs-centos6/ |
This file contains 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
--- #web | |
servers: | |
- config: web-kvm.yaml | |
label: foo | |
hosts: | |
- 10.0.0.1 sv0001 | |
- 10.0.0.2 sv0001 | |
- config: web-baremetal.yaml | |
label: foo | |
hosts: |
This file contains 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
goa[master)~/repos/peco]$ go build cmd/peco/peco.go | |
# command-line-arguments | |
cmd/peco/peco.go:92: too many arguments in call to peco.IsTty | |
cmd/peco/peco.go:100: cannot use opts (type *cmdOptions) as type bool in argument to peco.NewCtx | |
cmd/peco/peco.go:165: ctx.NewBufferReader undefined (type *peco.Ctx has no field or method NewBufferReader) | |
cmd/peco/peco.go:166: ctx.NewSignalHandler undefined (type *peco.Ctx has no field or method NewSignalHandler) | |
cmd/peco/peco.go:184: not enough arguments in call to ctx.ExecQuery | |
goa[master)~/repos/peco]$ go version | |
go version go1.3 linux/amd64 |
This file contains 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
diff --git a/lib/berkshelf/community_rest.rb b/lib/berkshelf/community_rest.rb | |
index 42c51d2..b791f23 100644 | |
--- a/lib/berkshelf/community_rest.rb | |
+++ b/lib/berkshelf/community_rest.rb | |
@@ -75,6 +75,7 @@ def initialize(uri = V1_API, options = {}) | |
options[:builder] ||= Faraday::RackBuilder.new do |b| | |
b.response :parse_json | |
b.response :gzip | |
+ b.response :follow_redirects | |
b.request :retry, |
This file contains 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
move to https://rubygems.org/gems/chef-provider-service-daemontools |
This file contains 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
$ ./delete-opned-file.pl | |
total 0K | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 0 -> /dev/pts/25 | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 1 -> /dev/pts/25 | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 2 -> /dev/pts/25 | |
l-wx------ 1 hirose31 hirose31 64 Sep 17 14:28 3 -> /tmp/delete-me (deleted) | |
lr-x------ 1 hirose31 hirose31 64 Sep 17 14:28 4 -> /dev/null | |
lr-x------ 1 hirose31 hirose31 64 Sep 17 14:28 5 -> pipe:[274400143] | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 6 -> socket:[274170042] | |
/proc/27762/fd/3 |
This file contains 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
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'ffi_yajl' | |
hash = FFI_Yajl::Parser.new.parse('{"foo": "あ"}') | |
puts hash['foo'] | |
hash = FFI_Yajl::Parser.new.parse('{"foo": "\あ"}') | |
puts hash['foo'] |
This file contains 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
From 90869fbc8128f41a56d2dd1aa7526e5b36179e43 Mon Sep 17 00:00:00 2001 | |
From: HIROSE Masaaki <hirose31@gmail.com> | |
Date: Tue, 5 Aug 2008 00:52:36 +0900 | |
Subject: [PATCH] recent page show some channels recent log in mobile mode. | |
--- | |
lib/App/Mobirc/ConfigLoader.pm | 5 +++-- | |
lib/App/Mobirc/Web/C/Mobile.pm | 19 ++++++++++++++++--- | |
lib/App/Mobirc/Web/Template/Mobile.pm | 32 +++++++++++++++++--------------- | |
3 files changed, 36 insertions(+), 20 deletions(-) |
This file contains 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
Certificate: | |
Data: | |
Version: 3 (0x2) | |
Serial Number: 461577169628599721 (0x667d9fd802495a9) | |
Signature Algorithm: sha1WithRSAEncryption | |
Issuer: C=US, O=Google Inc, CN=Google Internet Authority G2 | |
Validity | |
Not Before: Jan 29 12:40:34 2015 GMT | |
Not After : Apr 29 00:00:00 2015 GMT | |
Subject: C=US, ST=California, L=Mountain View, O=Google Inc, CN=*.google |
This file contains 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
$ nghttp -v https://www.irori.org/tmp/t.html | |
[ 0.007] Connected | |
[ 0.022][NPN] server offers: | |
* h2 | |
* h2-16 | |
* h2-14 | |
The negotiated protocol: h2 | |
[ 0.032] send SETTINGS frame <length=12, flags=0x00, stream_id=0> | |
(niv=2) | |
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100] |