First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Withing the terminal, Fire this command:
which php
class DospuntoceroCMS extends LeftAndMainExtension{ | |
function alternateAccessCheck(){ | |
// html display simplification | |
$lines = array('pastetext','ssmedia','separator','bold','italic','underline','strikethrough','hr','separator','styleselect','formatselect','separator','bullist','numlist','blockquote','sslink','unlink','anchor','separator','code'); | |
$config = HtmlEditorConfig::get('cms'); | |
$config->setButtonsForLine(1, $lines); | |
$config->setButtonsForLine(2, 'tablecontrols'); | |
$config->setButtonsForLine(3, null); |
Iniciar Screen: screen | |
Desengancharnos de Screen: Ctrl-a d | |
Re-engancharnos a Screen: screen -x or screen -x PID | |
Partir la terminal horizontalmente: Ctrl-a S | |
Partir la terminal verticalmente: Ctrl-a | | |
Moverse entre ventanas: Ctrl-a Tab | |
Renombrar las sesiones: Ctrl-a A | |
Salvar un registro de la sesión: Ctrl-a H | |
Salvar una captura de la sesión: Ctrl-a h |
Reconfigure your server to use the new vhost.conf file using Plesk's websrvmng command: | |
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all |
Importante: para hacer pagos en el banco de prueba "DemoBank" puedes usar un RUT válido y la clave "1234". Cuando llegues a la tarjeta matricial debes introducir las coordenadas "11", "22" y "33". |
First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Withing the terminal, Fire this command:
which php
/*! | |
* gulp | |
* npm install gulp-ruby-sass gulp-autoprefixer gulp-minify-css gulp-jshint gulp-concat gulp-uglify gulp-notify gulp-rename gulp-cache del --save-dev | |
*/ | |
// Load plugins | |
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), |
nano ~/.bash_profile | |
alias phpmamp='/Applications/MAMP/bin/php/php5.4.10/bin/php' | |
curl -sS https://getcomposer.org/installer | phpmamp | |
sudo mv composer.phar /usr/local/bin/composer | |
composer | |
# defining base url for the git repository | |
DREAMGIT_DOMAIN=[your server here] | |
# connecting there and creating the new base git | |
ssh $DREAMGIT_DOMAIN 'mkdir -p ~/git/'$1'.git && cd ~/git/'$1'.git && git --bare init' | |
mkdir $1 | |
cd $1 |
a = setInterval(function () { | |
window.scrollTo(0,document.body.scrollHeight); | |
$("button.bt-request-buffed[data-act='request']").click(); | |
}, 3000); |
arp -a |