I hereby claim:
- I am trapier on github.
- I am trapier (https://keybase.io/trapier) on keybase.
- I have a public key ASC7Tj_NIylOeBJxSuucwWtck2s2bIJzgUfkIZJvH91U3wo
To claim this, I am signing this object:
| #!/bin/bash | |
| ns_name=$1 | |
| iface=$2 | |
| addr=$3 | |
| ip netns add ${ns_name} | |
| ip a flush ${iface} | |
| ip l s ${iface} down | |
| ip l s ${iface} netns ${ns_name} | |
| ip netns exec ${ns_name} /bin/bash -c "ip addr add ${addr} dev ${iface}" | |
| ip netns exec ${ns_name} /bin/bash -c "ip l s ${iface} up" |
| #!/bin/bash | |
| # prepare extraction directory, get and extract debian sources | |
| mkdir cumulus | |
| cd cumulus | |
| wget http://oss.cumulusnetworks.com/CumulusLinux-1.5.2.tar.gz | |
| tar xvf CumulusLinux-1.5.2.tar.gz | |
| # examine installation instructions | |
| cat patches/README |
| --- | |
| - hosts: swdut | |
| vars: | |
| platform_search: ly8 | |
| tasks: | |
| - name: fetch grub config | |
| fetch: src=/etc/default/grub dest=. | |
| when: ansible_product_name | search(".*ly8.*") or | |
| ansible_cmdline.cl_platform | default(omit) | search(".*ly8.*") |
| #!/bin/bash | |
| XZMAGIC=fd377a58 | |
| STRUCT_POINTER_OFFSET=8 | |
| file=$1 | |
| declare -A word | |
| map_word () { | |
| word[addr]=$1 |
| #!/bin/bash | |
| VM=$1 | |
| TARGET=$2 | |
| vm_path=/var/lib/libvirt/images/$VM.img | |
| rsync -vS --progress $vm_path root@$TARGET:$vm_path && \ | |
| virsh migrate --live --suspend --persistent --undefinesource --verbose $VM qemu+ssh://$TARGET/system && \ | |
| rsync -vS --progress $vm_image root@$TARGET:$vm_path && \ |
I hereby claim:
To claim this, I am signing this object:
| /*Fix Pukey Colors on Case Tabs*/ | |
| .caseTab .tertiaryPalette, | |
| .individualPalette .caseBlock .tertiaryPalette, | |
| .layoutEdit .individualPalette .caseBlock .tertiaryPalette { | |
| background-color: #36a0fe; | |
| border-color: #015ba7; | |
| } | |
| .caseTab .primaryPalette, | |
| .individualPalette .caseBlock .primaryPalette { |
| import time | |
| def keyboard_type(keys): | |
| for key in keys: | |
| keyboard.send_keys(key) | |
| time.sleep(0.1) | |
| def copy_next_field(): | |
| keyboard_type("vcwv$y") |
| #!/usr/bin/env python3 | |
| # Mark the most-recently-focused i3 window with _last | |
| # | |
| # Add this to your i3 config: | |
| # exec_always --no-startup-id /path/to/script | |
| # bindsym <your binding here> [con_mark=_last] focus | |
| # | |
| # Inspired by: | |
| # - https://www.reddit.com/r/i3wm/comments/4d4luc/how_to_focus_the_last_window/ |
| diff --git a/components/engine/vendor/github.com/docker/libnetwork/drivers/macvlan/macvlan_network.go b/components/engine/vendor/github.com/docker/libnetwork/drivers/macvlan/macvlan_network.go | |
| index 914c6cdf64..8e73809cff 100644 | |
| --- a/components/engine/vendor/github.com/docker/libnetwork/drivers/macvlan/macvlan_network.go | |
| +++ b/components/engine/vendor/github.com/docker/libnetwork/drivers/macvlan/macvlan_network.go | |
| @@ -64,10 +64,16 @@ func (d *driver) CreateNetwork(nid string, option map[string]interface{}, nInfo | |
| // empty parent and --internal are handled the same. Set here to update k/v | |
| config.Internal = true | |
| } | |
| - err = d.createNetwork(config) | |
| + |