摘要: 1 !/usr/bin/env bash 2 3 _chef_dir () { 4 # Helper function: 5 # Recursive function that searches for chef configuration directory 6 # It looks upward from the cwd until it hits /. If no directory is found, 7 # ~/.chef is chosen if it exists 8 # You could simply hard-code the path below... 阅读全文
posted @ 2013-06-26 15:17 suizhihao 阅读(166) 评论(0) 推荐(0) 编辑
摘要: !/usr/bin/env bash_chef_dir () { # Helper function: # Recursive function that searches for chef configuration directory # It looks upward from the cwd until it hits /. If no ... 阅读全文
posted @ 2013-06-26 15:14 suizhihao 阅读(279) 评论(0) 推荐(0) 编辑
摘要: package org.apache.http.examples.client;import org.apache.http.HttpEntity;import org.apache.http.HttpResponse;import org.apache.http.client.HttpClient;import org.apache.http.client.methods.HttpGet;import org.apache.http.impl.client.DefaultHttpClient;import org.apache.http.impl.conn.PoolingClientConn 阅读全文
posted @ 2013-06-26 09:38 suizhihao 阅读(280) 评论(0) 推荐(0) 编辑