Chef 11.4.0 doesn't work with Ruby 2.0.0-p0.
It's been fixed but not released yet.
#!/bin/bash | |
# This script is based on https://unix.stackexchange.com/revisions/480191/9 . | |
# The following changes proved to be necessary to make it work on CentOS 7: | |
# * removed disk info (model, size) - not very useful, might not work in many cases. | |
# * using "bw" instead of "bw_bytes" to support fio version 3.1 (those availible through yum @base) | |
# * escaping exclamation mark in sed command | |
# * the ".fiomark.txt" is not auto-removed | |
LOOPS=5 #How many times to run each test |
IP=127.0.0.1 # Or your public/private IP | |
KUBELET_OPTIONS="--api_servers=http://$IP:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=$IP --config=/etc/kubernetes/manifests" |
Chef 11.4.0 doesn't work with Ruby 2.0.0-p0.
It's been fixed but not released yet.
关于'抄袭'这个事情,事实上我们(lispers)有三个观点: 1,很多语言抄袭了最初来自LISP的特性; 2,没有一种语言在抄袭时抄到了该LISP特性的精髓; 3,即使没抄到精髓却也已经够用了; ——————田春冰河
首先要看着顺眼,再来考虑语言特性什么的。 ——————E.T
# Contributor: aleiphoenix <[email protected]> | |
pkgname=librabbitmq-c | |
pkgver=20121123 | |
pkgrel=1 | |
pkgdesc="A RabbitMQ(amqp) library written in C-language" | |
arch=('i686' 'x86_64') | |
license=('BSD') | |
makedepends=('git' 'autoconf' 'python' 'xmlto') | |
url=https://github.com/alanxz/rabbitmq-c |
commit ba8c7a7a629b736fdc1abceaa3ec49f8820aec08 | |
Author: Richard Yao <[email protected]> | |
Date: Thu Jun 7 01:44:31 2012 -0400 | |
scsi: lpfc_scsi: Remove unused variables | |
Kernels built with CONFIG_SCSI_LPFC fail to compile due to the use of | |
-Werror=unused-variable. We solve that by removing some unused | |
variables. | |
by Jonathan Rochkind, http://bibwild.wordpress.com
Capistrano automates pushing out a new version of your application to a deployment location.
I've been writing and deploying Rails apps for a while, but I avoided using Capistrano until recently. I've got a pretty simple one-host deployment, and even though everyone said Capistrano was great, every time I tried to get started I just got snowed under not being able to figure out exactly what I wanted to do, and figured I wasn't having that much trouble doing it "manually".
import functools | |
import logging | |
from google.appengine.api import memcache | |
def cached(time=1200): | |
""" | |
Decorator that caches the result of a method for the specified time in seconds. | |
Use it as: | |