How to install Python 3 on Mac
brew install pyenv
pyenv init
pyenv install 3.3.3
pyenv local 3.3.3
#!/bin/bash | |
#### | |
# Split MySQL dump SQL file into one file per table | |
# based on http://blog.tty.nl/2011/12/28/splitting-a-database-dump | |
#### | |
if [ $# -lt 1 ] ; then | |
echo "USAGE $0 DUMP_FILE [TABLE]" | |
exit |
How to install Python 3 on Mac
brew install pyenv
pyenv init
pyenv install 3.3.3
pyenv local 3.3.3
//////////////////////////////////////// | |
// Review Pro Popup Formatting | |
.review-pro-popup-content { | |
padding-top: 100%; | |
padding-top: 925px; | |
} | |
.mfp-iframe-holder .mfp-content { | |
max-width: 620px; | |
} | |
/////////////////////////////////////// |
jQuery(function($) { | |
$('.image-popup-full-width').magnificPopup({ | |
type: 'image', | |
closeOnContentClick: true, | |
image: { | |
verticalFit: false | |
} | |
}); | |
}); |
while getopts ":a:" opt; do | |
case $opt in | |
a) | |
echo "-a was triggered, Parameter: $OPTARG" >&2 | |
;; | |
\?) | |
echo "Invalid option: -$OPTARG" >&2 | |
exit 1 | |
;; | |
:) |
// MAX WIDTH CLASSES | |
// ****************** | |
// Mobile | |
@media (max-width: 767px){ | |
a[class*=m-maxw-]{ | |
display: inline-block; | |
} | |
.m-maxw-100p { max-width:100% !important} | |
.m-maxw-90p { max-width:90% !important} | |
.m-maxw-80p { max-width:80% !important} |
@color-primary: #f50; | |
@color-secondary: #ccf; | |
@pumpkin: #fa7500; | |
#theme-color-mixin(@color, @class) { | |
.@{class}{color: @color} | |
.@{class}i{color: @color !important} | |
.@{class}-bg{background-color:@color} | |
.@{class}-bgi{background-color:@color !important} |
{"fields":[ | |
{ | |
"title":"Icon", | |
"token":"icon", | |
"type":"select_icon", | |
"help":"Font Awesome Icon", | |
"default":"fa fa-heart" | |
}, | |
{ | |
"title":"Heading", |
Control + s
(PC) or Command + s
to save the post.