Installation of Berkshelf v3 on Cygwin is known to be very diffcult, but I have finally found the way. 😄
You can successfully install it by following the procedure below.
(As at 2014/6/8, v3.1.3 is available)
| # Assumption: Mac OS X | |
| CHEFDK="/opt/chefdk/embedded" | |
| CHEFDK_USER="$HOME/.chefdk/gem/ruby/2.1.0" | |
| RVM_GEMS="$HOME/.rvm/gems" | |
| RVM_RUBIES="$HOME/.rvm/rubies" | |
| RUBY_NAME="ext-chefdk-ruby" | |
| mkdir -p $RVM_RUBIES/$RUBY_NAME | |
| ln -s $CHEFDK/bin $RVM_RUBIES/$RUBY_NAME |
| tail -1 ~/.tmux.conf ~/.vimrc ~/.zshrc | |
| ==> /Users/kes/.tmux.conf <== | |
| source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf | |
| ==> /Users/kes/.vimrc <== | |
| source /usr/local/lib/python2.7/site-packages/powerline/bindings/vim/plugin/powerline.vim | |
| ==> /Users/kes/.zshrc <== | |
| source /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh |
| user> (pprint (map collatz (range 1 11))) | |
| ((1) | |
| (2 1) | |
| (3 10 5 16 8 4 2 1) | |
| (4 2 1) | |
| (5 16 8 4 2 1) | |
| (6 3 10 5 16 8 4 2 1) | |
| (7 22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1) | |
| (8 4 2 1) | |
| (9 28 14 7 22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1) |
I hereby claim:
To claim this, I am signing this object:
| cd ~ | |
| mkdir public_html | |
| cd public_html | |
| rm -fr * | |
| wget "https://wordpress.org/latest.tar.gz" | |
| tar -zxvf latest.tar.gz | |
| mv wordpress/* . |
| ;;; -*- mode: clojure; -*- | |
| ;;; vim: filetype=clojure | |
| (logging/init :file "/var/log/riemann/riemann.log") | |
| (let [host "0.0.0.0"] | |
| (tcp-server :host host) | |
| (udp-server :host host) | |
| (ws-server :host host)) |
| # Check for bios messages in dmesg | |
| # BUG: Checking dmesg is the best we can do in userspace at this time. | |
| # Ideally, the kernel would improve it's reporting by setting a | |
| # flag such as svm_disabled|vmx_disabled in /proc/cpuinfo's flags. | |
| if dmesg | grep -qs "kvm: disabled by bios"; then | |
| echo "INFO: KVM is disabled by your BIOS" | |
| echo "HINT: Enter your BIOS setup and enable Virtualization Technology ( | |
| VT)," | |
| echo " and then hard poweroff/poweron your system" | |
| verdict 1 |
| (where (service #"^disk") | |
| (with {:service "scaled disk"} | |
| (scale (* 100)) index)) |