By resources
sessions
list-sessions ls -- List sessions managed by server
new-session new -- Create a new session
| #!/bin/bash | |
| netns=proxy | |
| veth=veth-proxy | |
| host_addr="172.16.233.1/24" | |
| ns_addr="172.16.233.2/24" | |
| verbose="" | |
| user=$(whoami) |
| # source: https://stackoverflow.com/a/24577389/9893423 | |
| # The MockFoo class still has the methods of the Foo class and it doesn't | |
| # have the methods defined in the parent because the parent is now a Mock class. | |
| from contextlib import contextmanager | |
| @contextmanager | |
| def patch_parent(class_): | |
| """ | |
| Mock the bases |
| package tstappend | |
| import "testing" | |
| const N = 8192 | |
| func appendBytes(a, b []byte) []byte { | |
| if len(b) == 0 { | |
| return a | |
| } |
| $ sudo dmidecode | |
| # dmidecode 2.12 | |
| # SMBIOS entry point at 0x000f0000 | |
| SMBIOS 2.8 present. | |
| <SNIP> | |
| Handle 0x0000, DMI type 0, 24 bytes | |
| BIOS Information |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| package main | |
| // Restorer holds a function that can be used | |
| // to restore some previous state. | |
| type Restorer func() | |
| // Restore restores some previous state. | |
| func (r Restorer) Restore() { | |
| r() | |
| } |
Unionize lets you connect together docker containers in arbitrarily complex scenarios.
Note: I recommend to use https://github.com/jpetazzo/pipework instead.
Now if you want Unionize, it's still here. Just check those examples.