Skip to content

Instantly share code, notes, and snippets.

View yolier's full-sized avatar

Steffen Schmid yolier

  • IT-Designers GmbH
  • Stuttgart, Germany
View GitHub Profile
cmake_minimum_required(VERSION 3.2)
project(<<PROJECTNAME>>)
find_package(Boost 1.58.0 REQUIRED)
IF(Boost_Found)
include_directories(${Boost_INCLUDE_DIRS})
add_definitions("-DHAS_BOOST")
ENDIF()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -lboost_system")
@yolier
yolier / Acme.tmTheme
Created August 21, 2016 07:16
Acme colorscheme for the Sublime-Text editor.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Acme</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@yolier
yolier / MAT_2_HDF5.m
Created July 26, 2016 14:31
MAT two HDF5 converter script.
function MAT_2_HDF5(filepath)
vars = load(filepath);
expression = '[\\/\.]';
splitPath = regexp(filepath,expression,'split');
splitPathChar = char(splitPath);
matFilename = strtrim(splitPathChar(end-1,:));
h5Filename = sprintf('%s.h5', matFilename);
for f = fieldnames(vars)'

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname