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
sudo apt install i3 i3status dmenu i3lock xbacklight feh conky compton rofi | |
(and i3 gaps?) | |
i3-gaps # window border | |
feh # wall paper | |
rofi # like os X win+l (could open any application) | |
compton # for conky alpha | |
conky # manual configuration desktop | |
i3 # window manager | |
i3-status # i3 status bar |
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