- docker-compose.yml
version: '3.6'
services:
minio:
image: minio/minio:RELEASE.2020-01-03T19-12-21Z
container_name: minio
volumes:
version: '3.6'
services:
minio:
image: minio/minio:RELEASE.2020-01-03T19-12-21Z
container_name: minio
volumes:
#!/bin/bash | |
# This script has only been tested on Fedora 29 &> | |
if [[ $EUID -ne 0 ]]; then | |
echo -e "Please run as the root user" | |
exit 1 | |
fi | |
read -p "Name for vtpm vm: " vm_name |
conn, err := grpc.Dial( | |
s.rpcSocketPath, | |
grpc.WithInsecure(), | |
grpc.WithDialer(func(addr string, timeout time.Duration) (net.Conn, error) { | |
return net.DialTimeout("unix", addr, timeout) | |
})) | |
if err != nil { | |
log.Fatalf("did not connect: %v", err) | |
} | |
defer conn.Close() |
#!/bin/bash | |
# | |
# TPM creation script. | |
# | |
# Version: 0.1.0-Alpha (7/29/2016) | |
# Only supports fc24. | |
# | |
# - Utilizes swtpm_cuse to set up and create a virtual TPM. | |
# - See https://simp-project.atlassian.net/wiki/x/CgAVAg for information on how to | |
# install swtpm and enable passthrough in libvirt. |
Byobu is a suite of enhancements to tmux, as a command line | |
tool providing live system status, dynamic window management, | |
and some convenient keybindings: | |
F1 * Used by X11 * | |
Shift-F1 Display this help | |
F2 Create a new window | |
Shift-F2 Create a horizontal split | |
Ctrl-F2 Create a vertical split | |
Ctrl-Shift-F2 Create a new session |
#!/usr/bin/env bash | |
git remote -v | grep fetch | grep github | \ | |
while read remote url _; do | |
if ! git config --get-all "remote.$remote.fetch" | grep -q refs/pull | |
then | |
git config --add "remote.$remote.fetch" \ | |
'+refs/pull/*/head:refs/remotes/'"$remote"'/pull/*' | |
fi | |
done |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
/* | |
MIT License | |
Copyright (c) 2013 Dzmitry Kazimirchyk | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
#!/usr/bin/env python | |
# I wasn't happy with any of the GitHub libraries for Python that I tried so I | |
# just used the GitHub API directly. If someone would like to rewrite this | |
# using a library please be my guest | |
from __future__ import unicode_literals | |
import argparse | |
import base64 |
I suppose you use Debian-like systems
$ mkdir rootdir && cd rootdir && export ROOTDIR=$PWD
$ apt-get source libdevmapper1.02.1
$ apt-get source cryptsetup