Skip to content

Instantly share code, notes, and snippets.

View kino90's full-sized avatar
🍪
Come to the Dark Side.. We have Cookies!

Luca Maroni kino90

🍪
Come to the Dark Side.. We have Cookies!
View GitHub Profile
@kino90
kino90 / curaengine.md
Created July 5, 2018 22:31 — forked from nickoala/curaengine.md
Build CuraEngine on Raspbian or Ubuntu

Build CuraEngine on Raspbian or Ubuntu

CuraEngine requires libArcus which requires protobuf. Let's build them in turn.

Make sure python3 is Python 3.4 or higher.

Install utilities used by the build process:

@kino90
kino90 / _decimal.scss
Created February 3, 2016 09:40 — forked from terkel/_decimal.scss
Rounding decimals in Sass
// _decimal.scss | MIT License | gist.github.com/terkel/4373420
// Round a number to specified digits.
//
// @param {Number} $number A number to round
// @param {Number} [$digits:0] Digits to output
// @param {String} [$mode:round] (round|ceil|floor) How to round a number
// @return {Number} A rounded number
// @example
// decimal-round(0.333) => 0