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
# generate rootfs | |
sudo debootstrap --arch=amd64 trusty rootfs | |
# container.json (from README.md) | |
cat <<__EOF__>container.json | |
{ | |
"version": "0.1", | |
"os": "linux", | |
"arch": "amd64", | |
"processes": [ |
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
(defun my-go-unused-imports-lines () | |
;; FIXME Technically, -o /dev/null fails in quite some cases (on | |
;; Windows, when compiling from within GOPATH). Practically, | |
;; however, it has the same end result: There won't be a | |
;; compiled binary/archive, and we'll get our import errors when | |
;; there are any. | |
(reverse (remove nil | |
(mapcar | |
(lambda (line) | |
(when (string-match "^\\(.+\\):\\([[:digit:]]+\\): imported and not used: \".+\".*$" line) |
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
function activate_gvm_pkgset() { | |
if [ -n "$__in_active_gvm_pkgset" ]; then | |
return | |
fi | |
__in_active_gvm_pkgset=true | |
nearest_local=((../)#.gvm_local/..(#qN)(:a)) | |
if [ -d "$nearest_local" ] && \ | |
[ "$nearest_local" != "$__gvm_local_path" ]; then | |
current=$(pwd) | |
cd $nearest_local |
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
--- | |
name: firstbosh | |
logging: | |
level: DEBUG | |
network: | |
type: dynamic | |
vip: <FLOATING_IP> # CHANGE | |
cloud_properties: | |
network_name: <SUBNETWORK_NAME> # CHANGE |
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
#1 | |
obj.method0( | |
arg1, | |
arg2) | |
.method1 | |
.method2 | |
#2 | |
obj.method0( | |
arg1, |
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
Error 450001: Compile Package Failure (exit code: 2) | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/message/compile_package.rb:206:in `block in compile' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/message/compile_package.rb:190:in `chdir' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/message/compile_package.rb:190:in `compile' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/message/compile_package.rb:64:in `start' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/message/compile_package.rb:31:in `process' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/handler.rb:265:in `process' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/handler.rb:250:in `process_long_running' | |
/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre.1644/lib/bosh_agent/handler.rb:177:in `block in pro |
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
module Bosh::OpenStackCloud | |
class ExconLoggingInstrumentor | |
def self.instrument(name, params = {}, &block) | |
params = params.dup | |
if params.has_key?(:headers) && params[:headers].has_key?('Authorization') | |
params[:headers] = params[:headers].dup | |
params[:headers]['Authorization'] = REDACTED | |
end | |
if params.has_key?(:password) | |
params[:password] = REDACTED |
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
module Fog | |
module Core | |
class Connection | |
def request(params, &block) | |
reset unless @persistent | |
p params | |
@excon.request(params, &block) | |
end | |
end | |
end |
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
ァィゥェォ | |
ヵ‡੭ヶ⊐ | |
⧺ㇱㇲըそ | |
た∓⺍⫧ㇳ | |
ᚋ⚌ㇴね৴ | |
ㇵㇶㇷㇸㇹ | |
੨𝞝ㇺ𝘹も | |
ャュョ | |
ㇻㇼㇽㇾㇿ | |
ヮ╕ん |
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
namespace :local do | |
desc 'build MicroBOSH Stemcell locally' | |
task :build_microbosh, [:infrastructure_name, :operating_system_name] do |_, args| | |
require 'bosh/dev/build' | |
require 'bosh/dev/micro_bosh_release' | |
require 'bosh/dev/stemcell_builder' | |
build = Bosh::Dev::Build.candidate | |
release_tarball_path = Bosh::Dev::MicroBoshRelease.new.tarball |