npm testnpm run build- Update package.json & bower.json version
- Update Changelog.md
git commit -am"Releasing x.x.x"git pushgit tag -a vx.x.x -m"version x.x.x"git push origin --tagsnpm publish ./
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
| set-option -g default-command "reattach-to-user-namespace -l zsh" | |
| set -g default-terminal "screen-256color" | |
| set -g history-limit 50000 | |
| # use VI | |
| set-window-option -g mode-keys vi | |
| # Decrease command delay to not interfere with vim | |
| # don't wait for an escape sequence after hitting | |
| # Esc. fixes insert mode exit lag in vim | |
| set -sg escape-time 0 |
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
| <script> | |
| window.intercomSettings = { | |
| app_id: "cgiwt8yt", | |
| user_id: 1312182000, // integer | |
| name: "Jane Doe", // Full name | |
| nickname: 'Lil Jane', | |
| email: "customer@example.com", // Email address | |
| created_at: 1312182000 // Signup date as a Unix timestamp | |
| }; | |
| </script> |
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 { Component } from "React"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| constructor() { | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { | |
| this.setState({ data: 'Hello' }); | |
| } | |
| render() { |
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
| // ---- | |
| // Sass (v3.4.14) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @mixin padding($suffix: null) { | |
| @if ($suffix != null) { | |
| $suffix: \@#{$suffix}; | |
| } |
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
| function add(a,b,c){ return a+b+c; } | |
| function curry(fn) { | |
| return function curried() { | |
| var args = [].slice.call(arguments); | |
| return args.length >= fn.length ? | |
| fn.apply(null, args) : | |
| function () { | |
| var rest = [].slice.call(arguments); | |
| console.log(args); |
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
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase /blog/ | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
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'; | |
| import { connect } from 'react-redux' | |
| import { resetForm } from './actions'; | |
| const getDisplayName = WrappedComponent => { | |
| return WrappedComponent.displayName || WrappedComponent.name; | |
| } | |
| const ReduxForm = (WrappedComponent, props) => { | |
| const displayName = getDisplayName(WrappedComponent); |
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
| const compose = (...fns) => x => fns.reduceRight((v, f) => f(v), x); | |
| let curry = fn => { // (1) | |
| let arity = fn.length; //(2) number of arguments fn expects | |
| return (...args) => { // (3) | |
| let firstArgs = args.length; // (4) | |
| if (firstArgs >= arity) { //correct number of arguments | |
| return fn(...args); // (5) | |
| } else { |
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
| //Set your APP_ID | |
| var APP_ID = "keznqdgj"; | |
| (function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true; | |
| s.src='https://widget.intercom.io/widget/' + APP_ID; | |
| window.Intercom('boot', { | |
| app_id: 'abc12345', | |
| email: 'example@example.com', | |
| user_id: 'abc123', |