Skip to content

Instantly share code, notes, and snippets.

View antony-jr's full-sized avatar

Antony Jr antony-jr

View GitHub Profile
@Changaco
Changaco / btrfs-undelete
Last active April 22, 2024 20:06
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
@rafamanzo
rafamanzo / CMakeLists.txt
Last active December 18, 2018 04:28
Example on how to read and write NIfTI images using ITK
cmake_minimum_required(VERSION 3.0)
project(ITKNIfTI)
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
add_executable(itk_nifti main.cxx)
target_link_libraries(itk_nifti ${ITK_LIBRARIES})