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
#ie8-ie9-ie10-VM | |
+ Instalar [VirtualBox] para Mac | |
+ Ir a: [ModernIE](http://loc.modern.ie/es-es/virtualization-tools#downloads) | |
+ Bajarse una Máquina-Config de las disponibles. (No todavía, copiar el texto de cURL) | |
´´´ | |
curl -O -L "http://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE8-WinXP&filename=VirtualBox/IE8_WinXP/Mac/IE8.WinXP.For.MacVirtualBox.part{1.sfx,2.rar}" | |
´´´ |
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
To enable PHP in Apache add the following to httpd.conf and restart Apache: | |
LoadModule php5_module /usr/local/opt/php53/libexec/apache2/libphp5.so | |
The php.ini file can be found in: | |
/usr/local/etc/php/5.3/php.ini | |
✩✩✩✩ PEAR ✩✩✩✩ | |
If PEAR complains about permissions, 'fix' the default PEAR permissions and config: | |
chmod -R ug+w /usr/local/Cellar/php53/5.3.28/lib/php |
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
<?php | |
# Originally seen here: 'Using Bitbucket for Automated Deployments' | |
# http://brandonsummers.name/blog/2012/02/10/using-bitbucket-for-automated-deployments/ | |
# Is it safe servers time ? | |
#date_default_timezone_set('America/Los_Angeles'); | |
class Deploy { | |
/** |
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
<script> | |
WebFontConfig = { | |
typekit: { id: 'bwr6gne' }, | |
google: { | |
families: ['Roboto'] | |
} | |
}; | |
(function() { | |
var wf = document.createElement('script'); | |
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + |
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
<?php | |
/** | |
* | |
* Based on Ryan Cramer´s Code | |
* ProcessWire Template to power a sitemap.xml | |
* | |
* Purpose: Render sitemap.xml for this special conditions | |
* | |
* / [home](/) Without children! | |
* /page-that-holds-the-tree/ [Page that holds the tree of the web.] With all his children. |
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
# Add this functions at the end of your ~/.alias file [OSX] | |
# Create .alias file at ~/ if not present. | |
# Search Replace Recursively | |
# $ replace searchTerm replaceTerm | |
replace () { | |
LANG=C && LC_ALL=C && LANG_ALL=C && find . -type f -name '*.html' -exec sed -i '' s/${1}/${2}/ {} + | |
} | |
# delete files recursively by extension | |
# $ delbyext html |
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
<?php | |
/* If You use it in a template file */ | |
$useMain = false; | |
/* Repeater to PageTable */ | |
/* Select the pages with the Repeater Field we want to migrate. Vía:Template Name */ |
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
# install homebrew-cask | |
brew tap phinze/homebrew-cask | |
brew install brew-cask | |
# essential | |
brew cask install adium | |
brew cask install caffeine | |
brew cask install dropbox | |
brew cask install one-password |
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
# File sampled form here: | |
# http://spatialreference.org/ref/sr-org/7297/geoserver/ | |
# Geoserver. Config. Needed to import data from: | |
# http://centrodedescargas.cnig.es/CentroDescargas/ | |
# 1.-Put this custom SRS handlers in GEOSERVER_DATA_DIR | |
# 2.-In OSX: /Applications/GeoServer.app/Contents/Java/data_dir/user_projections/epsg.properties | |
# 3.-Restart Geoserver. | |
# Import SRS files to Geoserver. | |
# | |
# epsg.propertieslines to add: |
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
# File Location: /private/etc/apache2/users | |
# File name: nombre_de_usuario.conf | |
# Load Correct Cellar | |
#LoadModule php5_module /usr/local/opt/php53/libexec/apache2/libphp5.so | |
#LoadModule php5_module /usr/local/opt/php54/libexec/apache2/libphp5.so | |
LoadModule php5_module /usr/local/opt/php55/libexec/apache2/libphp5.so | |
#Main localhost DIR | |
DocumentRoot "/Users/nombre_de_usuario/Sites/" | |
<Directory "/Users/nombre_de_usuario/Sites/"> |
OlderNewer