Skip to content

Instantly share code, notes, and snippets.

View mavieth's full-sized avatar

Michael Vieth mavieth

  • Denver, CO
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 / Stock-Ticker.markdown
Created July 25, 2014 19:52
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 / npm-registry-client-fix.sh
Last active April 17, 2019 15:08
Error: Cannot find module 'npm-registry-client'
# Update Node to latest version
brew upgrade
# Find potential problems
brew doctor
# Remove Node and prune libraries
brew uninstall node
brew prune
@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
@mavieth
mavieth / CreateExcelFileFromOutlookVBA.vba
Last active June 12, 2018 21:08
Create Excel File From Outlook VBA
Sub CreateExcelFileFromOutlookVBA()
' Excel Application, workbook, and sheet object
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Dim xlSheet As Object
' Filename
Dim fileDoesExist As Boolean
Dim FileName As String