This is a shell script that will automate the process of synching databases between development, staging, and production servers for a website using Trellis and Bedrock from Roots.io.
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 goBack() { | |
window.history.back(); | |
setTimeout(clickFirstButton, Math.random() * 1000 + 300); | |
}; | |
function clickFirstButton() { | |
const allButtons = [...document.querySelectorAll('.mds-icon--cpo')].filter(b => b.type === 'ico_add_circle'); | |
const firstButton = allButtons.pop(); |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>*|MC:SUBJECT|*</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="format-detection" content="date=no"> | |
<meta name="format-detection" content="telephone=no"> | |
<meta http-equiv="x-ua-compatible" content="IE=edge"> | |
<!--[if gte mso 9]> |
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
// Add to: Preferences > User Snippets > vue.json | |
{ | |
"Scaffold_Component": { | |
"prefix": "scaffold", | |
"body": [ | |
"<template lang=\"pug\">", | |
"\t.${root}", | |
"</template>\n", | |
"<script>", |