I hereby claim:
- I am jharley on github.
- I am jharley (https://keybase.io/jharley) on keybase.
- I have a public key ASBNCz_X7gZqEJ-y3_LBrS3-kNC4pQcaOTvlumPbtBSUqwo
To claim this, I am signing this object:
build |
[INPUT] | |
Name dummy | |
[FILTER] | |
Name lua | |
Match * | |
script hny_event_filter.lua | |
call hny_format_filter | |
[OUTPUT] |
import warnings | |
from datetime import datetime, timedelta, timezone | |
import pytest | |
from .unixdatetime import UnixDatetime | |
@pytest.mark.parametrize( |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/focal64" | |
config.vm.network "private_network", type: "dhcp" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "1024" | |
vb.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"] | |
vb.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL] | |
end | |
end |
--- | |
driver: | |
name: docker | |
use_sudo: false | |
privileged: true | |
driver_config: | |
http_proxy: <%= ENV['KITCHEN_HTTP_PROXY'] %> | |
https_proxy: <%= ENV['KITCHEN_HTTPS_PROXY'] %> | |
transport: |
I hereby claim:
To claim this, I am signing this object:
def is_guid?(guid) | |
standard_guid = /([A-F\d]{8})-([A-F\d]{4})-([A-F\d]{4})-([A-F\d]{4})-([A-F\d]{12})/i | |
(guid =~ standard_guid) | |
end | |
def to_byte_array(hex) | |
hex.unpack('H*').first.scan(/[A-F\d]{4}/i) | |
end | |
def format_guid(string) |
--- /Users/jharley/.vagrant.d/gems/gems/vagrant-berkshelf-3.0.1/lib/berkshelf/vagrant/action/install.rb.orig 2014-08-02 18:26:11.000000000 -0400 | |
+++ /Users/jharley/.vagrant.d/gems/gems/vagrant-berkshelf-3.0.1/lib/berkshelf/vagrant/action/install.rb 2014-08-03 17:50:28.000000000 -0400 | |
@@ -37,14 +37,20 @@ | |
def vendor(env) | |
check_vagrant_version(env) | |
env[:berkshelf].ui.info "Updating Vagrant's berkshelf: '#{env[:berkshelf].shelf}'" | |
- FileUtils.rm_rf(env[:berkshelf].shelf) | |
+ real_shelf = env[:berkshelf].shelf | |
+ tmp_shelf = "#{real_shelf}-tmp" | |
+ FileUtils.mkdir_p(real_shelf) |
# /etc/nginx/sites-available/ceph-rest-api | |
server { | |
listen 80; | |
server_name ceph-rest-api; | |
charset utf-8; | |
location / { | |
root /var/log/nginx; | |
error_log /var/log/nginx/ceph-restapi-error.log; | |
access_log /var/log/nginx/ceph-restapi-access.log combined; |
--- /Users/jharley/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/install.rb.orig 2014-05-02 11:02:44.000000000 -0400 | |
+++ /Users/jharley/.vagrant.d/gems/gems/vagrant-berkshelf-2.0.1/lib/berkshelf/vagrant/action/install.rb 2014-05-03 10:36:35.000000000 -0400 | |
@@ -42,9 +42,14 @@ | |
def install(env) | |
check_vagrant_version(env) | |
env[:berkshelf].ui.info "Updating Vagrant's berkshelf: '#{env[:berkshelf].shelf}'" | |
- FileUtils.rm_rf(env[:berkshelf].shelf) | |
+ real_shelf = env[:berkshelf].shelf | |
+ tmp_shelf = "#{real_shelf}-tmp" | |
+ |