Antek Baranski
Antek Baranski
When you try to execute `/var/chef/cache/homebrew_go` you get this: ``` ruby /var/chef/cache/homebrew_go ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew ==> The following existing directories will be...
Actually you can make this much more restrictive by doing this ``` ruby #{homebrew_owner} #{node['hostname']}=(root) NOPASSWD: /bin/chmod #{homebrew_owner} #{node['hostname']}=(root) NOPASSWD: /usr/sbin/chown #{homebrew_owner} #{node['hostname']}=(root) NOPASSWD: /bin/mkdir #{homebrew_owner} #{node['hostname']}=(root) NOPASSWD: /usr/bin/chgrp #{homebrew_owner}...
However this does not resolve the initial ``` ruby Press RETURN to continue or any other key to abort ``` problem this is something entirely different. Here is another thing...
Here is the code in `homebrew_go`: ``` shell def wait_for_user puts puts "Press RETURN to continue or any other key to abort" c = getc # we test for \r...
I actually tested this on 10.12 and 10.11 both behave in the same way and the brew install is still messed up. :( I will however move the actual commands...
One way of doing this with substantially less risk would be to ditch the home-grown auth solution and replace it with something like [https://auth0.com](url) or [https://aws.amazon.com/cognito/](url).
Anyone from Chef around to look at this?
Say I have a situation where all my objects that I need to detect are of the same size 30x30 pixels on an image that is 295x295 pixels, how would...
@andyrey are you referring to this: https://github.com/AlexeyAB/darknet/blob/master/scripts/gen_anchors.py by any chance?