Before begining, make sure your SSH keys are set so you can ssh to your Dreamhost account.
Mac
$ ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
$ ssh [email protected]Windows
$ scp ~/.ssh/id_rsa.pub [user]@[hostname]:~/.ssh/authorized_keys| {% if product.options[0] == 'Size' %} | |
| <small>Sizes: | |
| {% for sizes in product.options_by_name['Size'].values %} | |
| {% if forloop.last == true %} | |
| {{ sizes }} | |
| {% else %} | |
| {{ sizes | append: ', ' }} | |
| {% endif %} | |
| {% endfor %} | |
| </small> | 
Before begining, make sure your SSH keys are set so you can ssh to your Dreamhost account.
Mac
$ ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
$ ssh [email protected]Windows
$ scp ~/.ssh/id_rsa.pub [user]@[hostname]:~/.ssh/authorized_keys| import React, { Component } from 'react'; | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| // Element | |
| const Elemento = <h1>Hello World!</h1> | |
| // Functional Stateless Component | |
| const Component1 = (props) => { | |
| return <span>{props.name}</span> | 
| <?php | |
| $data = [ | |
| 'email' => $email, | |
| 'status' => 'subscribed', | |
| 'firstname' => $fname, | |
| 'lastname' => $lname | |
| ]; | |
| function syncMailchimp($data) { | |
| $apiKey = 'XXX'; | 
| Acre | |
| Alagoas | |
| Amapá | |
| Amazonas | |
| Bahia | |
| Ceará | |
| Distrito Federal | |
| Espírito Santo | |
| Goiás | |
| Maranhão | 
| RewriteEngine On | |
| # RewriteBase / | |
| # Force SSL and Non-WWW for main domain (except local) | |
| RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com\.br$ [NC] | |
| RewriteCond %{HTTPS} off [OR] | |
| RewriteCond %{HTTP_HOST} ^www\. [NC] | |
| RewriteRule ^ https://domain.com.br%{REQUEST_URI} [R=301,L,NE] | |
| ### Remove .php | 
| <!doctype html> | |
| <html lang="pt-br"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <meta name="description" content="" /> | |
| <meta name="author" content="Toledo Interactive" /> | |
| <meta name="designer" content="Marcio Toledo" /> | 
| // Live Search | |
| function liveSearch() { | |
| // Active tab All | |
| if ($('#search-filter').val() == '') { | |
| $('#filter-all').addClass('active'); | |
| } else { | |
| $('.tabs .button').removeClass('active'); | |
| } | |
| // Live Search | |
| function liveSearch() { | |
| // Retrieve the input field text and reset the count to zero | |
| var filter = $('#search-filter').val(), count = 0; | |
| // Loop through the comment list | |
| $(".main-list li").each(function(){ | |
| // If the list item does not contain the text phrase fade it out | 
| /*! | |
| * Toledo Interactive jQuery Slider Script III | |
| * Developed for http://inteface.eng.br | |
| * | |
| * Copyright 2012, Toledo Interactive | |
| * http://toledointeractive.com/ | |
| * | |
| * Usage: Slider.init(); | |
| * | |
| */ |