Skip to content

Instantly share code, notes, and snippets.

View zavorka's full-sized avatar
🙈
LGTM

Roman Beránek zavorka

🙈
LGTM
  • Prusa Research, s.r.o.
  • Prague, CZ
View GitHub Profile
@zavorka
zavorka / SaF_FFT.hpp
Last active September 6, 2016 18:10
SaF FFT
// Copyright (c) 2016 Roman Beránek. All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@zavorka
zavorka / Ring_array.hpp
Created August 13, 2016 11:01
Simple fixed-sized ring "buffer"
// Copyright (c) 2016 Roman Beránek. All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@zavorka
zavorka / replace-with-stage3.sh
Last active December 23, 2015 05:39 — forked from arantius/create-test-container.script
How To Install Gentoo Onto Any OpenVZ VPS
#!/bin/sh
set -e
if [ `whoami` != "root" ]; then
echo "This script must run as root!"
exit 1
fi
if [ ! -f /root/stage3-*.tar.bz2 ]; then