Skip to content

Instantly share code, notes, and snippets.

View javivelasco's full-sized avatar

Javi Velasco javivelasco

View GitHub Profile
javivelasco /
Last active November 9, 2019 07:55 — forked from subfuzion/
CURL examples

CURL Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

javivelasco /
Last active April 6, 2017 04:55
Roadmap and manifesto for React Toolbox

This document defines a manifesto and the main Roadmap 🚵 ideas for React Toolbox. It's not a fixed document and of course it's open to change. You can leave your feedback in this gist or you can also do it through an issue.

The Manifesto

React Toolbox is a project intended to ship the best Material Design components for React. It is focused on the following principles:

  • Quality over quantity: we rather develop a bunch components close to perfection than a lot of unmaintainable buggy components.
  • Pixel perfection: every component should be nailed to the spec. We will pay attention to every single detail at both visual and interaction levels.
  • Flexibility: components should be as decoupled as possible from opinionated styling libraries/tools. They should be easy to theme and customize.
  • **Easy ado
javivelasco /
Created December 20, 2016 08:40 — forked from mdo/
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top

javivelasco /
Last active January 10, 2023 19:45
Proposal for lightning talk at Reactive Conf 2016

Please star ⭐️ the gist to help! This is a proposal for a ⚡️ talk at Reactive Conference.

Styling Components in React Toolbox 2

I wrote react-toolbox and presented it almost a year ago in lighning talk at Reactive Conf 2015 in Bratislava. At first it was just a proof of concept of a component library styled with CSS Modules and SASS. Now the project has grown quite a bit, and during this year there has been tons of changes and lessons learned.

Theming and customization is one of the most difficult and interesting problems to solve. For the first version we needed a custom Webpack loader to generate themes and doing simple style overrides was very painful. Today I'm working on a new playground that will allow you try CSS Modules live, and to create React Toolbox themes on the f

javivelasco /
Last active October 2, 2022 16:36
Proposal for lightning talk at Reactive Conf 2015

I’m amazed by React and how it’s bringing happiness to our developer lives. I specially like the workflow that integrates Webpack + React + CSS Modules + Babel among other tools and preprocessors. That’s why Javier Jiménez and I are working together in a library called React Toolbox that we would like to show in a lightning talk at Reactive Conference.

The main idea is to create a set of React components implementing Material Design guidelines. There are already some libraries that solve a similar problem but our project is mostly focused on the workflow and best practices to create a tool everybody would want to use. Also, we are sticking to the design guidelines proposed by Google and embracing minimalism by generating the minimum possible amount of HTML and styles to get the best result. Our workflow includes among others:

  • Webpack.
  • ES6 with Babel
  • Unit t