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.