- MAMP: https://www.mamp.info/en/downloads/
- Craft CMS: https://craftcms.com/pricing
- Open up MAMP
- Preferences -> Web Server
- Change Document Root to public folder in Craft CMS download
- Start Servers
- Preferences -> Web Server
- If it doesn't open automatically hit "open WebStart page"
- tools -> phpMyAdmin
- top left "new" button
- database name: project_name
This file contains 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
@charset "utf-8"; | |
/* | |
Author CrystalCommerce.com // Ross Dallaire | |
Colors | |
*/ | |
/* RESET */ | |
html, body, div, span, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
This file contains 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 str = "Foo isn't equal\nto bar."; | |
wrapChars(str); // => "<span>F</span><span>o</span><span>o</span> <span>i</span><span>s</span><span>n</span>'<span>t</span> <span>e</span><span>q</span><span>u</span><span>a</span><span>l</span> <span>t</span><span>o</span> <span>b</span><span>a</span><span>r</span>." | |
wrapWords(str); // => "<span>Foo</span> <span>isn</span>'<span>t</span> <span>equal</span> <span>to</span> <span>bar</span>." | |
wrapLines(str); // => "<span>Foo isn't equal</span> <span>to bar.</span>" |
This file contains 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
<h1>Testing </h1> |
This file contains 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 | |
namespace App; | |
use App\Controllers\App; | |
/** | |
* Return if Shortcodes already exists. | |
*/ | |
if (class_exists('Shortcodes')) { |
This file contains 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
{"lastUpload":"2019-07-17T18:27:48.966Z","extensionVersion":"v3.4.0"} |
This file contains 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
$('#cases-email').keyup(function(){ | |
var email = $('#cases-email').val(); | |
var filter = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | |
if (!filter.test(email)) { | |
//alert('Please provide a valid email address'); | |
$("#cases-error-email").text('Please enter a valid email.'); | |
$('#support-contact-cases .button').attr('disabled', true); | |
email.focus(); | |
//return false; | |
} else { |
This file contains 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
.continue_browsing a { | |
background: #626262; | |
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); | |
background: -moz-linear-gradient(top, #626262 0%, #3a3a3a 100%); | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#626262), color-stop(100%,#3a3a3a)); | |
background: -webkit-linear-gradient(top, #626262 0%,#3a3a3a 100%); | |
background: -o-linear-gradient(top, #626262 0%,#3a3a3a 100%); | |
background: -ms-linear-gradient(top, #626262 0%,#3a3a3a 100%); | |
background: linear-gradient(to bottom, #626262 0%,#3a3a3a 100%); | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#626262', endColorstr='#3a3a3a',GradientType=0 ); |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'yaml' | |
ip = '192.168.50.5' # pick any local IP | |
cpus = 1 | |
memory = 1024 # in MB | |
ANSIBLE_PATH = __dir__ # absolute path to Ansible directory |
NewerOlder