This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function strip-units($number) { | |
@return $number / ($number * 0 + 1); | |
} | |
//strip-units(13.48cm) will return 13.48. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |