Skip to content

Instantly share code, notes, and snippets.

View nixpanic's full-sized avatar
🏠
Working from home

Niels de Vos nixpanic

🏠
Working from home
View GitHub Profile
@nixpanic
nixpanic / volume-group.go
Created July 22, 2024 13:06
testing tool for CSI-Addons VolumeGroup
/*
Copyright 2024 The Ceph-CSI Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@nixpanic
nixpanic / keybase.md
Created August 9, 2015 06:54
keybase.io verification

Keybase proof

I hereby claim:

  • I am nixpanic on github.
  • I am nixpanic (https://keybase.io/nixpanic) on keybase.
  • I have a public key whose fingerprint is D9F8 ECFB 148E 3226 F7B7 3DFE 25E8 E400 29C2 C5B3

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am nixpanic on github.
  • I am nixpanic (https://keybase.io/nixpanic) on keybase.
  • I have a public key whose fingerprint is EC1E 19A1 FE39 C6F0 DF6A 231A DC61 882D 40FA 447B

To claim this, I am signing this object:

#!/bin/bash
if [[ "$#" < "2" || "$#" > "3" ]]; then
cat <<END
Glusterfs GFID resolver -- turns a GFID into a real file path
Usage: $0 <brick-path> <gfid> [-q]
<brick-path> : the path to your glusterfs brick (required)