Did you know guys can be seen as exclusive language? Consider $generNeutralTerm
instead. $articleLink Come to #guybot-discussions for more information
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe | |
src="/asset/you/wanna/include.html" | |
style="visibility: collapse; position: absolute; height: 0; width: 0;left: -100%;top: -100%;" | |
onload="this.parentNode.insertBefore((this.contentDocument.body || this.contentDocument).firstChild, this);this.parentNode.removeChild(this)" | |
></iframe> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "nm-engineering-tech-blog", | |
"main": "src/server/server.js", | |
"engines": { | |
"node": "^8.9.1" | |
}, | |
"scripts": { | |
"start": "...", | |
"dev": "rimraf ./dist && yarn build:copy && export NODE_ENV=dev && ./node_modules/.bin/nodemon --exec 'yarn server'", | |
"server": "...", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const actionTypes = [ | |
'ACTION_NAME', | |
].reduce((actions, action) => { | |
actions[action] = action; | |
return actions | |
}, {}); | |
//will output { ACTION_NAME: 'ACTION_NAME' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const actionTypes = [ | |
'ACTION_NAME', | |
].reduce((actions, action) => { | |
actions[action] = action; | |
return actions | |
}, {}); | |
//will output { ACTION_NAME: 'ACTION_NAME' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Sets up theme-wide options | |
* | |
* @since _geekery_ 1.0 | |
*/ | |
use Carbon_Fields\Container; | |
use Carbon_Fields\Field; | |
Container::make('theme_options', 'Geekery settings') |
- https://css-tricks.com/using-svg/
- https://lincolnloop.com/blog/svg-sprites-and-icon-systems-are-super/
- https://css-tricks.com/svg-sprites-use-better-icon-fonts/
- https://css-tricks.com/icon-fonts-vs-svg/
- https://24ways.org/2014/an-overview-of-svg-sprite-creation-techniques/
- https://css-tricks.com/creating-svg-icon-system-react/
- Deprecated, but a differing opinion: https://css-tricks.com/creating-svg-icon-system-react/
- https://cloudfour.com/thinks/seriously-dont-use-icon-fonts/
- http://ianfeather.co.uk/ten-reasons-we-switched-from-an-icon-font-to-svg/
- https://speakerdeck.com/ninjanails/death-to-icon-fonts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
export default class Icon extends Component { | |
fullName(href='') { | |
return `#${href}_icon-${this.props.glyph}`; | |
} | |
render() { | |
const { glyph } = this.props; | |
let wrapperClasses = [ | |
'_icon', |
NewerOlder