sudo cp /private/etc/php.ini.default /private/etc/php.ini;
sudo php /usr/lib/php/install-pear-nozlib.phar;
pear config-set php_ini /private/etc/php.ini;
- XAMPP for Windows: https://www.apachefriends.org/download.html
- Download Xdebug for:
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
<div class="prd-gallery"> | |
<div class="title"></div> | |
<div class="contents"></div> | |
</div> | |
<script> | |
//PoC only, remove before final version | |
const loadImagesFromTheWeb = (q) => { | |
if (q) { | |
$.ajax({ |
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
$(".datepicker").datepicker({ | |
minDate:new Date(), //disable past days | |
beforeShowDay: $.datepicker.noWeekends //disable weekends | |
}); |
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
composer.phar install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader |
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
<html> | |
<head> | |
<title>Mi super CV </title> | |
<style> | |
iframe{ | |
top:0px; left:0px; bottom:0px; right:0px; width:100%; height:4000px; border:none; margin:0; padding:0; overflow:hidden; z-index:-1; | |
} | |
@media print { |
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
# | |
echo installing zsh | |
sudo yum -y install zsh | |
#update possibly needed in centos | |
#yum update -y nss curl libcurl | |
#install oh-my-zsh | |
#git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
#cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc | |
#change login shell | |
#chsh -s zsh |
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 GCC | |
yum install gcc openssl-devel bzip2-devel | |
# Download Python 2.7 & extract | |
cd /usr/src | |
wget https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz | |
tar xzf Python-2.7.15.tgz | |
# Install Python 2.7 | |
cd Python-2.7.15 |
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 Node.js Yum Repository | |
yum install -y gcc-c++ make | |
curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash - | |
# Install Node.js and NPM | |
yum install nodejs | |
# Check Node.js and NPM Version | |
npm -v |
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
class CustomInput { | |
//constructor with default values | |
constructor({value = '', maxlength = 200, type = 'text', label = ''} = {}) { | |
this._value = value; | |
this.maxlength = maxlength; | |
this.type = type; | |
this.label = label; | |
} | |
get value() { |
OlderNewer