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
sudo apt-get install php7.0-dev | |
wget http://xdebug.org/files/xdebug-2.4.0rc2.tgz | |
tar -xzf xdebug-2.4.0rc2.tgz | |
cd xdebug-2.4.0RC2/ | |
phpize | |
./configure --enable-xdebug | |
make | |
sudo cp modules/xdebug.so /usr/lib/. | |
#FOR FPM | |
sudo echo 'zend_extension="/usr/lib/xdebug.so"' > /etc/php/7.0/fpm/conf.d/20-xdebug.ini |
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 php | |
sudo add-apt-repository ppa:ondrej/php | |
### install requirements | |
sudo apt install php5.6-gd php5.6-xml php5.6-mbstring php5.6-curl php5.6-zip | |
### install grav | |
git clone -b master https://github.com/getgrav/grav.git |
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
##################################### | |
::: gradle ::: | |
[prod-path]/platforms/android/cordova/lib/builders/GradleBuilder.js | |
var distributionUrl = 'distributionUrl=http\\://services.gradle.org/distributions/gradle-2.2.1-all.zip'; | |
And replace it with your own file's location: | |
var distributionUrl = 'distributionUrl=../gradle-2.2.1-all.zip'; | |
#################################### | |
::: android target ::: | |
[prod-path]/platforms/android/project.properties |
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
" folding settings | |
set foldmethod=indent "fold based on indent | |
set foldnestmax=10 "deepest fold is 10 levels | |
set nofoldenable "dont fold by default | |
set foldlevel=1 "this is just what i use" | |
""" za zm zr zM zR | |
" vim bootstrap + | |
" file |
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
1. size analys | |
npm i -g webpack-bundle-size-analyzer | |
webpack --json | webpack-bundle-size-analyzer | |
2. webpack.config.js for minimize | |
new webpack.optimize.UglifyJsPlugin({ | |
minimize: true, | |
compress: { | |
warnings: false, | |
}, |
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 openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
NewerOlder