Skip to content

Instantly share code, notes, and snippets.

View josecleiton's full-sized avatar

José Cleiton josecleiton

View GitHub Profile
@josecleiton
josecleiton / Coverage Badges
Last active June 17, 2022 12:23
Coverage Badges
Coverage Badges
package main
import (
"flag"
"fmt"
"log"
"os"
)
var c *bool = flag.Bool("c", false, "convert only")

Keybase proof

I hereby claim:

  • I am josecleiton on github.
  • I am josecleiton (https://keybase.io/josecleiton) on keybase.
  • I have a public key whose fingerprint is 615F 4055 4C89 C6C8 87F1 BE64 E36B 9BA5 B654 BFFE

To claim this, I am signing this object:

@josecleiton
josecleiton / btrfs-undelete
Created January 17, 2019 03:56 — forked from Changaco/btrfs-undelete
btrfs-undelete
#!/bin/bash
# btrfs-undelete
# Copyright (C) 2013 Jörg Walter <info@syntax-k.de>
# This program is free software; you can redistribute it and/or modify it under
# the term of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or any later version.
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2
echo