Skip to content

Instantly share code, notes, and snippets.

View samandera's full-sized avatar

Ela at checkout team samandera

View GitHub Profile
@samandera
samandera / fluid-layout.scss
Created August 18, 2018 13:13
Functions and mixins to easily set properties for fluid layout.
$minresolution: 320px;
$desktop-resolution: 1024px;
@function strip-form-unit($value) {
@return $value/($value*0+1);
}
@function min-resolution-percentage($value) {
@return #{$min-resolution * strip-form-unit($value) / 100};
}
@samandera
samandera / Electron tutorial.md
Last active June 17, 2017 12:49 — forked from stevekinney/fem-setup.md
Electron tutorial

Participants should have a recent version of Node.js installed on their system (preferably the latest LTS version, which is 6.9.1 as of this writing—but anything from 0.10 on should work). Participants should clone the following repositories and run npm install in each of them prior to the start of the workshop.

Optional: It might be helpful to install Electron globally so that you can use it from the command line in case there are any issues with any of the dependencies in the project above. You can install this through npm install -g electron.

Finally, debugging the main process is easiest using Visual Studio Code, which is available for all platforms (Windows, Linux, and macOS). This is not a hard requirement, but helpful if you'd like to follow along for that small segment of the workshop.