View Dockerfile
This file contains 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 minizinc/minizinc:latest-alpine | |
RUN apk add --update --no-cache python3 py3-pip | |
RUN pip3 install --no-cache-dir minizinc | |
COPY basic_example.py /usr/local/bin/basic_example.py | |
ENTRYPOINT ["/usr/local/bin/basic_example.py"] |
View init.vim
This file contains 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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Dein.vim initialisation | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
if &compatible | |
set nocompatible | |
endif | |
set runtimepath+=~/.config/nvim/repos/github.com/Shougo/dein.vim | |
call dein#begin(expand('~/.config/nvim/')) |
View Timer.cpp
This file contains 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
// | |
// Created by Jip J. Dekker on 05/10/15. | |
// | |
#include "Timer.h" | |
void Timer::start() { | |
if (output) cout << "\t Start Application"<< endl; | |
app.start = high_resolution_clock::now(); | |
} |
View Makefile
This file contains 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
# A simple and basic Makefile build script for Gecode for Mac OSX. | |
# | |
# Author: | |
# Jip J. Dekker <jip@dekker.li> | |
# Based on similar makefile for linux by Georgios Petrousis <gpetrousis@gmail.com> | |
# | |
# Updated on: 9/11/2014 | |
# | |
# Feel free to distribute this file to anyone. | |
# Please contact me for any corrections and suggestions. |
View kill.fish
This file contains 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
function flip | |
echo "$argv[1]" | perl -C3 -Mutf8 -lpe '$_=reverse;y/a-zA-Z.['\'',({?!\"<_;‿⁅∴\r/ɐqɔpǝɟƃɥıɾʞ|ɯuodbɹsʇnʌʍxʎzɐqɔpǝɟƃɥıɾʞ|ɯuodbɹsʇnʌʍxʎz˙],'\'')}¿¡,>‾؛⁀⁆∵\n/' | |
end | |
function fuck | |
set -l CMD "pkill" | |
which $CMD >/dev/null; or set -l CMD "killall" | |
echo | |
if [ $argv[1] = "off" ] | |
set FLIP ' (ノಠ益ಠ)ノ彡' '(ノಠ-ಠ)ノ彡' |
View .zlogin
This file contains 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
if test -e $HOME/.ecryptfs/auto-mount; then | |
mount | grep "$HOME type ecryptfs" | |
if test $? != 0; then | |
ecryptfs-mount-private | |
cd $HOME | |
source ~/.zshrc | |
fi | |
fi |