Skip to content

Instantly share code, notes, and snippets.

@mbeall
mbeall / README.md
Created March 10, 2014 17:10
Transferring products from Sparks Store to Steel Marketplace

Transferring products from Sparks Store to Steel Marketplace

The easiest way to do this is to setup a temporary WordPress installation (remote, not local). This ensures all media is attached. If you are unable to setup a temporary remote WordPress installation, see the "Alternative Process" section.

Process Overview

  1. Export "All Content" using WordPress tool from main site.
  2. Open the downloaded xml file.
  3. Edit the xml file according the instructions in the next section, "Edit the XML."
  4. Make sure the Steel plugin is activated and the Marketplace module is activated on the temporary site.
@mbeall
mbeall / style.css
Last active August 29, 2015 13:57
Flint Child Theme Starter
/*
Theme Name: Child Theme of Flint
Theme URI:
Author:
Description:
Version:
Template: flint
License: GPLv3 or later
License URI: LICENSE.md
Tags:
@mbeall
mbeall / order.txt
Created March 24, 2014 05:56
CSS Comb order
position
top
right
bottom
left
z-index
display
float
width
min-width
@mbeall
mbeall / googlefonts.sh
Last active August 29, 2015 14:00
Move all files from directory tree to single directory if match a pattern
#!/bin/bash
#
# Accepts two arguments
src=$(echo $1)
dest=$(echo $2)
if [ -z $1 ]
then
if [ -z $(ls | grep googlefontsdirectory) ]
@mbeall
mbeall / install.sh
Last active August 29, 2015 14:05
Purge and re-install mysql-server
# (Run as sudo)
# (Run after purge_mysql.sh)
apt-get install --reinstall mysql-server
<?php
/*
Name: Memcached
Description: Memcached backend for the WP Object Cache.
Version: 2.0
URI: http://dev.wp-plugins.org/browser/memcached/
Author: Ryan Boren
@mbeall
mbeall / style.css
Created September 19, 2014 19:57
.embed-expand-*
/**
* .embed-expand-*
*
* Apply this class to the closest ancestor
* element that has a col-*-* class
*/
@media (max-width: 767px) {
.embed-expand-xs {
padding-right: 0;
padding-left: 0;
@mbeall
mbeall / class.php
Last active August 29, 2015 14:07
DocBlock Templates
/**
* A summary informing the user what the associated element does.
*
* A *description*, that can span multiple lines, to go _in-depth_ into the details of this element
* and to provide some background information or textual references.
*
* @author
* @deprecated
* @since
*
@mbeall
mbeall / research.md
Last active August 29, 2015 14:07
Research Project

History

What it does

  • Sorts CSS declarations
  • Helps maintain coding style through multiple iterations, revisions, and contributors
  • Makes code easier to read by colleagues and yourself
  • Helps find CSS properties faster
  • Prevents accidental errors by revealing redundant declarations

How to use

@mbeall
mbeall / README.md
Created November 7, 2014 01:18
Echo ASP README.md

Echo (ASP) 0.0.0

The ASP code for the ASP version of the project

Visual Studio Configuration

Before working on any code, make sure to configure Visual Studio, by doing the following:

  1. Open Visual Studio and open website, pointing to the echo-asp folder.
  2. Go to Tools -> Options...