Skip to content

Instantly share code, notes, and snippets.

Glauber Mota glauberm

Block or report user

Report or block glauberm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@glauberm
glauberm / colors.scss
Created Jan 16, 2019
Color Palette Generator
View colors.scss
// Source: https://news.ycombinator.com/item?id=18421755
$palettes: (
blue: (
lightest: hsl(201, 75%, 66%),
lighter: hsl(201, 75%, 61%),
light: hsl(201, 75%, 56%),
base: hsl(201, 75%, 51%),
dark: hsl(201, 75%, 46%),
darker: hsl(201, 75%, 41%),
@glauberm
glauberm / RandomAlgebraicExpression.js
Created Nov 21, 2018
Generates a random algebraic expression with two random terms and its result. The terms have a maximum of two numerical digits max and are never zero.
View RandomAlgebraicExpression.js
class RandomAlgebraicExpression
{
constructor() {
this.operations = [
this.addition,
this.subtraction,
this.multiplication,
this.division
];
this.x = this.getRandomInt(-99, 100);
You can’t perform that action at this time.