Skip to content

Instantly share code, notes, and snippets.

View brianespinosa's full-sized avatar
:shipit:
Get Shit Done

Brian Espinosa brianespinosa

:shipit:
Get Shit Done
View GitHub Profile
@brianespinosa
brianespinosa / 2019-https-localhost.md
Last active June 11, 2021 19:51 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

# atom-sync-settings
These settings are automatically synced with atom. There's a lot of customizing that goes into Atom and this is a great way not to lose that work and sync it across devices.
@brianespinosa
brianespinosa / _material-shadow.scss
Created March 1, 2016 22:29
Material shadow SASS/SCSS mixin
// Based on http://www.google.com/design/spec/what-is-material/elevation-shadows.html
$material-shadow-color: #000 !default;
@mixin material-shadow($z-height) {
@if $z-height == 1 {
box-shadow: 0 1.5px 3px rgba($material-shadow-color, 0.24),
0 3px 8px rgba($material-shadow-color, 0.05);
}
@if $z-height == 2 {