This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
GEM_LINE_BEGINNING = " * " | |
def git_commit(current_gem_name) | |
puts "\tCommiting" | |
system("git commit -am \"Auto updated: #{current_gem_name}\" &> /dev/null") | |
end | |
def git_reset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python setup.py test (env: mock_pbr_bug) | |
Installed /home/manzo/workspace/mock_pbr_bug/.eggs/pbr-1.8.0-py3.5.egg | |
running test | |
Searching for mock>=1.0.1 | |
Reading https://pypi.python.org/simple/mock/ | |
Best match: mock 1.3.0 | |
Downloading https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz#md5=73ee8a4afb3ff4da1b4afa287f39fdeb | |
Processing mock-1.3.0.tar.gz | |
Writing /tmp/easy_install-wkszibq2/mock-1.3.0/setup.cfg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.0) | |
project (Test) | |
add_definitions("-Wall -pedantic -std=c++11 -g") | |
enable_testing() | |
find_package(Boost 1.59.0 REQUIRED) | |
include_directories(${Boost_INCLUDE_DIRS} FakeIt-master/include FakeIt-master/config/boost) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6f64ec659606342193256e3b43c1f25687ff0f54 Mon Sep 17 00:00:00 2001 | |
From: Rafael Reggiani Manzo <[email protected]> | |
Date: Sun, 7 Feb 2016 09:33:44 -0200 | |
Subject: [PATCH] Add compatibility for both sprockets 2 and 3 | |
Compatibility with Rails 4.1 (and so sprockets 2) is still a | |
requirement. So sprockets 3 specific code have been conditionalized | |
keeping both versions compatible and thus allowing Rails 5 usage. | |
--- | |
Gemfile | 2 +- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: CMake/GenerateExportHeader.cmake | |
=================================================================== | |
--- a/CMake/GenerateExportHeader.cmake | |
+++ b/CMake/GenerateExportHeader.cmake | |
@@ -163,19 +163,7 @@ endmacro() | |
macro(_test_compiler_hidden_visibility) | |
if(CMAKE_COMPILER_IS_GNUCXX) | |
- execute_process(COMMAND ${CMAKE_C_COMPILER} ARGS --version | |
- OUTPUT_VARIABLE _gcc_version_info |
OlderNewer