My attempt at recreating the style of link underlines used on medium.com
Inspired by Marcin Wichary's post located here: https://medium.com/p/7c03a9274f9
A Pen by Bruce Bentley on CodePen.
My attempt at recreating the style of link underlines used on medium.com
Inspired by Marcin Wichary's post located here: https://medium.com/p/7c03a9274f9
A Pen by Bruce Bentley on CodePen.
#!/usr/bin/env ruby | |
# | |
# Locates and removes Homebrew installation | |
# http://brew.sh/ | |
# | |
# Author: Bruce Bentley | |
# https://github.com/brucebentley | |
# | |
# Contributors: | |
# - @AaronKulick |
/// | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// MATERIAL DESIGN COLOR PALETTE | |
/// @AUTHOR: GOOGLE | |
/// @SOURCE: http://www.google.com/design/spec/style/color.html#color-ui-color-palette | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// | |
/// |
angular.module('material.core.theming.palette', []) | |
.constant('$mdColorPalette', { | |
'red': { | |
'50': '#ffebee', | |
'100': '#ffcdd2', | |
'200': '#ef9a9a', | |
'300': '#e57373', | |
'400': '#ef5350', | |
'500': '#f44336', | |
'600': '#e53935', |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso
# | |
# Create a temporary directory to store everything while we're working on it. | |
# | |
$ mkdir -p ~/Desktop/localhost_cert && cd $_ | |
############################################################ | |
# STEP 1: Root SSL Certificate | |
############################################################ | |
# | |
# Generate a RSA-2048 key which you'll use to generate the Root SSL certificate. |
#!/bin/bash | |
# | |
# Install the ChefDK on macOS | |
# | |
# @USAGE | |
# ./chefdk-macos-install.sh | |
# | |
# Arguments: | |
# VERSION Version of the ChefDK to install |
/// | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// Sass Logger | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// | |
/// The idea is to provide some kind of friendly API to log stuff in Sass, | |
/// including a way to log different type of messages (warnings, errors...). | |
/// Current implementation provides: | |
/// - 5 levels of logging ("DEBUG" "INFO" "WARN" "ERROR" "FATAL"); | |
/// - a minimum level at which the logger starts printing; |
/// | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// AURA APP COMPONENT | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - | |
/// @SOURCE: https://sforce.co/2SdZxKA; | |
/// | |
/// | |
/// KEYFRAMES | |
/// - - - - - - - - - - - - - - - - - - - - - - - - - |