Note:
<example>
is meant to denote text replaced by you (including brackets).
// global dependencies
npm install -g knex
import React, { Component } from 'react' | |
import { Redirect } from 'react-router' | |
export default class ContactForm extends Component { | |
constructor () { | |
super(); | |
this.state = { | |
fireRedirect: false | |
} | |
} |
/* Mobile */ | |
@media only screen and (max-width: 767px) { | |
[class*="mobile hidden"], | |
[class*="tablet only"]:not(.mobile), | |
[class*="computer only"]:not(.mobile), | |
[class*="large screen only"]:not(.mobile), | |
[class*="widescreen only"]:not(.mobile), | |
[class*="or lower hidden"] { | |
display: none !important; | |
} |
'use strict'; | |
/*****************NATIVE forEACH*********************/ | |
Array.prototype.myEach = function(callback) { | |
for (var i = 0; i < this.length; i++) | |
callback(this[i], i, this); | |
}; | |
//tests |
mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.
Github will be the main account and bitbucket the secondary.
t = 236 # seconds | |
Time.at(t).utc.strftime("%H:%M:%S") | |
=> "00:03:56" | |
# Reference | |
# http://stackoverflow.com/questions/3963930/ruby-rails-how-to-convert-seconds-to-time |