https://getgrav.org/blog/macos-sierra-apache-multiple-php-versions
https://getgrav.org/blog/macos-sierra-apache-mysql-vhost-apc
| (() => { | |
| 'use strict'; | |
| /**************** Gulp.js 4 configuration ****************/ | |
| const | |
| // development or production | |
| devBuild = ((process.env.NODE_ENV || 'development').trim().toLowerCase() === 'development'), |
| (() => { | |
| 'use strict'; | |
| /**************** Gulp.js 3 configuration ****************/ | |
| const | |
| // development or production | |
| devBuild = ((process.env.NODE_ENV || 'development').trim().toLowerCase() === 'development'), |
| ### BREW UPGRADE MYSQL | |
| DocumentRoot is /usr/local/var/www. | |
| The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in | |
| /usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo. | |
| To have launchd start httpd now and restart at login: | |
| brew services start httpd | |
| Or, if you don't want/need a background service you can just run: |
| smoothscroll = require 'smoothscroll-polyfill' | |
| smoothscroll.polyfill(); | |
| _ss_to_links = ($el)-> | |
| $el.each ()-> | |
| $(@).on 'click', (e)-> | |
| #console.log $(@) | |
| e.preventDefault() | |
| anchor = $(@).attr('href') |
| /* extra homepage */ | |
| .extra-img { | |
| z-index: 0; | |
| position: relative; | |
| //display: table; | |
| width: 100%; | |
| //min-height: 20rem; | |
| background-repeat: no-repeat; | |
| background-position: 50% 50%; |
| /* Arlequin Order Shift Layout Pattern CSS */ | |
| @media only screen and (max-width: 599px) { | |
| td[class="arlequin2col"] .product_image img { | |
| width: 100%; | |
| height: auto !important; | |
| } | |
| } | |
| @media only screen and (max-width: 460px) { | |
| td[class="arlequin2col"] .product { padding: 0 !important; } |
| .templateColumns { | |
| margin: 0 auto; | |
| } | |
| @media only screen and (max-width: 630px){ | |
| .templateColumns{ | |
| width:100% !important; | |
| } | |
| .templateColumnContainer{ | |
| display:block !important; |
| table.templateColumns.bgcolor(border='0', cellpadding='0', cellspacing='0', width='630') | |
| // Mailchimp 2 Col | |
| tr | |
| td.templateColumnContainer(align='center', valign='top', width='50%') | |
| table(border='0', cellpadding='0', cellspacing='0', width='100%') | |
| tr | |
| td.leftColumnContent | |
| img.columnImage(src='http://placekitten.com/g/480/300', width='315') | |
| h1 L1LLLLLLL | |
| tr |
| # Sacar el audio de cualquier mpeg, mov, avi... a mp3 -b:320(insane): | |
| find ./ -name "*.mpeg" -exec ffmpeg -i {} -acodec:a libmp3lame -qscale:a 0 {}.mp3 \; | |
| find ./ -name "*.mov" -exec ffmpeg -i {} -acodec:a libmp3lame -qscale:a 0 {}.mp3 \; | |
| find ./ -name "*.avi" -exec ffmpeg -i {} -acodec:a libmp3lame -qscale:a 0 {}.mp3 \; | |
| find ./ -name "*.m4v" -exec ffmpeg -i {} -acodec:a libmp3lame -qscale:a 0 {}.mp3 \; | |
| # ... | |
| # sustituye mpeg por tu extensión... |