Skip to content

Instantly share code, notes, and snippets.

Error: ssh-cleanup

(Usually occurs when running Vagrant Up (Evolution ​v1.3.16​) = Vagrant 1.6.5 Virtual Box 4.3)

There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The 'ssh-cleanup' provisioner could not be found.
  • Upgrade to Vagrant 1.8.5+ & Virtual Box 5.1.2+
@jasoncomes
jasoncomes / removeACFDBMeta
Last active June 16, 2017 21:27
After removing ACF field groups from site, this function should be called once* on the fields that were trashed to remove them from WP Database.
<?php
/**
* Remove ACF DB Meta
*
* After removing ACF field groups from site, this function should be called once* on the fields that were trashed to remove them from WP Database.
* Removes them from the postmeta & options tables in the database.
* Removes from all pages, posts, categories, taxonomies, users the field groups were attached too.
* Note: Should only be called and used on local development, please remove from site when you deploy
*
@jasoncomes
jasoncomes / MobileMultiForm.jquery.js
Last active June 16, 2017 21:31
When multiple forms or inputs are placed throughout a web page, the native iOS "next" or "previous" arrows jump from input to input. On pages with our widget, the arrows "jump" from the final widget field to the next input element no matter where it is on the page. This jarring to our users and takes users who have selected widget fields to an u…
/*!
MobileMultForm - 1.5
*/
(function($) {
'use strict';
var mobileMultiForm = {
@jasoncomes
jasoncomes / Readme.md
Last active June 11, 2018 17:06
Developer Project - Cars

Project Overview

So this should take them about an 30 mins to 1 hr, depending on how in depth they get. I wanted to keep the instructions as vague as possible with little direction to see how they operate. Here is a list of things we'll be looking for as we QA:

  • Questions, if they ask any
  • Github
  • Javascript/JQuery
  • HTML Markup
  • PHP Logic
  • Git Committing
@jasoncomes
jasoncomes / ContenfulCMS.md
Last active February 13, 2019 03:45
Contentful CMS -> CircleCI -> Github Repo -> Netlify -> Static Site Generator Jekyll

SSH Key

  1. Create SSH Key with Read/Write Access for site: ssh-keygen -t rsa -b 4096 -C "deploy@{domain}"
  2. Choose Location: Add SSH Key to Projects lib folder.

Github

  1. Create Repository
  2. Copy generated SSH Key from the lib/id_rsa.pub key to site/settings/deploy, name it CircleCI Deploy Key. Allow write access.

SSR Widget Setup

Sites

accreditedschoolsonline.org
{PUBLISHER} = accreditedschoolsonline.org
{PARAMS} = &backgroundColor=%232dade4&cta=FIND%20ONLINE%20COLLEGES&ctaColor=%23fe3d00&height=325&title=FIND%20PROGRAMS&titleColor=%23363636
{"lastUpload":"2019-10-08T19:10:00.643Z","extensionVersion":"v3.4.3"}