https://github.com/buzztaiki/serverspec-winrm-practice/wiki に移動した。
結論: pycryptoを2.5に落とせ。
やったこと。
fab deploy
とかしたらこんなことを言われた
Traceback (most recent call last):
File "/usr/bin/fab", line 9, in
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
#!/bin/bash | |
cat - | mecab -N2 \ | |
| grep -e '名詞' \ | |
| grep -ve '名詞,.*\(数\|接続\)' \ | |
| grep -ve '[a-zA-Z]' \ | |
| awk -F'\t' '{print $1}' \ | |
| sort | uniq -c |
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
# Maintainer: Julien Gormotte <julien@gormotte.info> | |
pkgname=solr | |
pkgver=4.5.1 | |
pkgrel=3 | |
pkgdesc="Popular, blazing fast open source enterprise search platform from the Apache Lucene project" | |
arch=(any) | |
license=('Apache') | |
url="http://lucene.apache.org/solr/" | |
depends=(java-environment) |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
print(<<EOF); | |
aaaaaaaa | |
bbbbbbbbb | |
cccccccccc | |
EOF |
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
_pp = { println new groovy.json.JsonBuilder(it).toPrettyString() } | |
[List, Map].each {it.metaClass.pp = {_pp(delegate)}} | |
def x = ["x":1, "y":[1,2,3]] | |
x.pp() |
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
// gitのbrowserとしてtracを指定する | |
Jenkins.instance.with { | |
jobNames.collect {getJob(it)} | |
.findAll{it.getProperty(TracProjectProperty)?.tracWebsite != null} | |
.findAll{it.scm?.type == "hudson.plugins.git.GitSCM"} | |
.each{ | |
println it.name | |
it.scm.browser = new hudson.plugins.trac.TracGitRepositoryBrowser() | |
it.save() |
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
require 'open-uri' | |
TRAC = File.expand_path('~/opt/trac') | |
TRAC_VERSION = ">=1.0" | |
TRAC_PORT = 5678 | |
TRAC_LOGO = 'https://dl.dropboxusercontent.com/s/332tsy8usmpmynm/trac_logo.png' | |
# TRAC = File.expand_path('~/opt/trac-0.12') | |
# TRAC_VERSION = '==0.12' |
$ java -XX:+PrintFlagsFinal
[Global flags]
uintx AdaptiveSizeDecrementScaleFactor = 4 {product}
uintx AdaptiveSizeMajorGCDecayTimeScale = 10 {product}
uintx AdaptiveSizePausePolicy = 0 {product}
uintx AdaptiveSizePolicyCollectionCostMargin = 50 {product}
uintx AdaptiveSizePolicyInitializingSteps = 20 {product}
OlderNewer