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
| <snippet> | |
| <content><![CDATA[ | |
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| const propTypes = { | |
| }; | |
| function ${1:${TM_FILENAME/(.+)\..+|.*/$1/:ComponentName}}(${2:props}) { |
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
| <snippet> | |
| <content><![CDATA[ | |
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| const propTypes = { | |
| name: PropTypes.string, | |
| }; | |
| class ${1:${TM_FILENAME/(.+)\..+|.*/$1/:ComponentName}} extends React.Component { |
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
| <snippet> | |
| <content><![CDATA[ | |
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import { bindActionCreators } from 'redux'; | |
| import { connect } from 'react-redux'; | |
| const propTypes = { | |
| name: PropTypes.string, | |
| }; |
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
| var ReactTable = React.createClass({ | |
| getInitialState: function() { | |
| return {currentData: this.props.data}; | |
| }, | |
| render: function() { | |
| var key = Date.now(); |
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 | |
| /* βββββββββββββββββββββββββ */ | |
| /* ACF Inline SVGs | |
| /* βββββββββββββββββββββββββ */ | |
| $repeater = 'repeater_field_name' | |
| if ( have_rows( $repeater ) ): ?> | |
| <section class="content-main"> | |
| <div class="container"> <?php |
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
| @mixin transition-props($property: all) { | |
| transition-property: $property; | |
| transition-duration: .5s; | |
| transition-timing-function: cubic-bezier(.25,.46,.45,.94); | |
| @if ($property != 'opacity') and ($property != 'transform') { | |
| will-change: $property; | |
| } | |
| } |
From: http://bocribbz.com/post/80417240179/nodejs-in-pythons-virtualenv
Virtualenv is very useful tool, it helps with isolation and solves some redundant administrative works. Node.js also has similar tools, but from them, one stands apart, nodeenv.
What is really great about nodeenv, is that it helps you avoid typing long source commands, and if you are used to virtualenvwrapper, you dont have to learn a new set of commands.
To install it you can follow these quick steps, after you have installed virtualenv and virtualenvwrapper.
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
| /** | |
| * Similar to Sass mixins | |
| * Goals are: | |
| * - intuitive, sensible naming convention for ranges | |
| * - declarative syntax | |
| * Two approaches explored... | |
| */ | |
| /* Breakpoints - if we want to keep these as separate variables (pros/cons) */ |
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
| // SublimeLinter Settings - User | |
| { | |
| "debug": true, | |
| "linters": { | |
| // https://github.com/SublimeLinter/SublimeLinter-eslint/issues/205 | |
| // https://github.com/SublimeLinter/SublimeLinter/blob/master/docs/troubleshooting.rst#on-macos | |
| "eslint": { | |
| "disable": false, | |
| "args": [], |