Skip to content

Instantly share code, notes, and snippets.

View Yatekii's full-sized avatar

Noah Hüsser Yatekii

View GitHub Profile
@Yatekii
Yatekii / convert-gitlab-export.sh
Created November 7, 2018 09:19
Rewrites the version number inside a Gitlab export since Gitlab is too retarded to import "older" projects even when there is no issue importing them at all
# Usage:
# ./convert-gitlab-export.sh export.tar.gz 'version.number.string'
mkdir project_export
tar xfv $1 -C project_export
cd project_export
echo $2 > VERSION
tar czf ready-$1 *
cd ..
mv project_export/ready-$1 .
@thennequin
thennequin / PieMenu.cpp
Last active September 5, 2024 14:43
PieMenuAdv
struct PieMenuContext
{
static const int c_iMaxPieMenuStack = 8;
static const int c_iMaxPieItemCount = 12;
static const int c_iRadiusEmpty = 30;
static const int c_iRadiusMin = 30;
static const int c_iMinItemCount = 3;
static const int c_iMinItemCountPerLevel = 3;
struct PieMenu