Skip to content

Instantly share code, notes, and snippets.

View beardedinbinary's full-sized avatar

Steve Balistreri beardedinbinary

View GitHub Profile
#!/bin/bash
#Download latest WordPress and uncompress
wget http://wordpress.org/latest.tar.gz
tar zxf latest.tar.gz
mv wordpress/* ./
wget https://github.com/interconnectit/Search-Replace-DB/archive/master.zip
unzip Search-Replace-DB-master.zip
mv Search-Replacy-DB-master srdb
@beardedinbinary
beardedinbinary / wp-install.sh
Last active October 22, 2024 05:56
Automated Wordpress Install Script
#!/bin/bash
# Install script for Latest WordPress on local dev
# Setup
# Hardcoded variables that shouldn't change much
# Path to MySQL
MYSQL='/usr/bin/mysql'
@beardedinbinary
beardedinbinary / _strip-units.scss
Created April 15, 2015 18:14
Strip Units Sass Function
@function strip-units($number) {
@return $number / ($number * 0 + 1);
}
//strip-units(13.48cm) will return 13.48.