Install iTerm 2
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
add_filter( 'woocommerce_currency_symbol', 'change_currency_symbol', 10, 2 ); | |
function change_currency_symbol( $symbols, $currency ) { | |
if ( 'USD' === $currency ) { | |
return 'USD'; | |
} | |
if ( 'EUR' === $currency ) { | |
return 'Euro'; | |
} |
import React, { Component } from 'react'; | |
import { withRouter } from 'react-router-dom'; // <--- import `withRouter`. We will use this in the bottom of our file. | |
class ContactForm extends Component { | |
submitForm (e) { | |
e.preventDefault() | |
this.props.history.push('/thank-you'); // <--- The page you want to redirect your user to. | |
} |
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html