Skip to content

Instantly share code, notes, and snippets.

View rafamanzo's full-sized avatar

Rafael Reggiani Manzo rafamanzo

View GitHub Profile
@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})
CREATE ROLE kalibro LOGIN ENCRYPTED PASSWORD 'kalibro' VALID UNTIL 'infinity';
CREATE DATABASE kalibro WITH ENCODING='UTF8' OWNER=kalibro CONNECTION LIMIT=-1 TEMPLATE=template0;
CREATE DATABASE kalibro_test WITH ENCODING='UTF8' OWNER=kalibro CONNECTION LIMIT=-1 TEMPLATE=template0;
@rafamanzo
rafamanzo / install-gatekeeper.sh
Last active August 29, 2015 13:57
Kalibro Gatekeeper Installation
#!/bin/bash
git clone https://github.com/mezuro/kalibro_gatekeeper.git
cd kalibro_gatekeeper
cp config/database.yml.sample config/database.yml
export BUNDLE_GEMFILE=$PWD/Gemfile
bundle install
@rafamanzo
rafamanzo / AUTHORS
Last active July 3, 2021 04:05
Installing the Kalibro Web Service on Ubuntu
Daniel Quadros Miranda
Diego Araújo Martinez
Heitor Reis Ribeiro
Pedro Scocco
Rafael Reggiani Manzo
#!/bin/bash
# Dirty script to build Unity under ArchLinux
# Thanks for PKGBUILDs, chenxiaolong!
# Valdos Sine <fat0troll at riseup dot net> 2012
# Pratik Sinha <pratik at humbug dot in> 2012
echo "Run it in directory which will be build root ;)"
echo "Make sure you're have sudo without password or you will stuck in every package installation"
echo "GO!"
sudo pacman -Sy