Skip to content

Instantly share code, notes, and snippets.

View mavieth's full-sized avatar

Michael Vieth mavieth

View GitHub Profile
@mavieth
mavieth / Sass-Flip-Contact-Form.markdown
Created April 21, 2014 16:19
A Pen by Danny Beton.
@mavieth
mavieth / biEAa.markdown
Created April 21, 2014 22:21
A Pen by Captain Anonymous.
@mavieth
mavieth / Canvas-Oil-Pump-Jack.markdown
Created July 16, 2014 19:03
A Pen by Michael Abraham Vieth.
@mavieth
mavieth / Full-Screen-Nav.markdown
Created November 4, 2014 02:48
A Pen by Michael Abraham Vieth.

Full Screen Nav

I wanted to make something to tesst out Sass directives so I created this full screen nav animate in/out with the Sass @for directive.

At the moment the sizing is a bit wack on mobile - something to do with window.innerHeight not getting the mobile viewport size

Forked from Rachel Smith's Pen Full Screen Nav.

A Pen by Michael Abraham Vieth on CodePen.

@mavieth
mavieth / wp.sh
Last active August 29, 2015 14:25 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "
@mavieth
mavieth / angular-js-el-capitan.sh
Created November 22, 2015 21:48
Angular JS El Captan Setup
# Get angular js html template
git clone https://github.com/angular/angular.js.git
# Install dependencies (takes a few minutes)
cd angular.js
npm install
@mavieth
mavieth / bower-grunt-setup.sh
Created November 22, 2015 22:15
Bower and Grunt Setup Mac OS X El Capitan
# Update npm
npm install -g npm
# Installing Bower & Grunt cli
npm install -g yo bower gulp grunt-cli
# Installing the latest Yeoman webapp generators
npm install -g generator-gulp-webapp generator-webapp
<?php
/**
* Template Name: Sort User Table Page
*
* @package WordPress
*/
get_header();?>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css">
<?php
// Misc Functions
// Function that outputs the contents of the dashboard widget
function dash_widget( $post, $callback_args ) {
$posts_array = get_posts(
array(
'post_type' => 'post',
'orderby' => 'post_date',
'posts_per_page' => -1
<?php
/*
Plugin Name: Clock Spring
Plugin URI:
Description:
Author:
Version: 1.0
Author URI:
*/