This file contains hidden or 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
| From Woocommerce 3.3 you can use | |
| [sale_products limit=’10’ paginate=’true’] |
This file contains hidden or 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
| // Only IP | |
| dig +short myip.opendns.com @resolver1.opendns.com | |
| // Or everything: | |
| dig myip.opendns.com @resolver1.opendns.com |
This file contains hidden or 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
| #This may work if your image does not boot with HDMI | |
| #Edit system-boot/config.txt | |
| #Force HDMI in raspberryPi 3 | |
| config_hdmi_boost=4 | |
| hdmi_mode=16 | |
| hdmi_force_hotplug=1 | |
| hdmi_drive=2 |
This file contains hidden or 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 -i|grep 'php.ini' |
This file contains hidden or 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
| //Comand-line: Crea el ambiente de trabajo para localizar las dependencias del proyecto y seleccionar la version de python3 | |
| //default method | |
| virtualenv -p python3 envname | |
| //recomended method | |
| python3 -m venv venvname | |
| //start enviroment linux | |
| source env/bin/activate |
This file contains hidden or 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
| @mixin prefix($name, $argument) { | |
| -webkit-#{$name}: #{$argument}; | |
| -ms-#{$name}: #{$argument}; | |
| -moz-#{$name}: #{$argument}; | |
| -o-#{$name}: #{$argument}; | |
| #{$name}: #{$argument}; | |
| } | |
| @mixin linear-gradient($fromColor, $toColor) { | |
| background-color: $toColor; /* Fallback Color */ |
This file contains hidden or 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
| //git 1.7.2 ++ | |
| git submodule update --recursive --remote |
This file contains hidden or 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
| //avoid asking for pswd over http | |
| //source: https://help.github.com/articles/caching-your-github-password-in-git/ | |
| git config --global credential.helper cache | |
| git config --global credential.helper 'cache --timeout=3600' |
NewerOlder