Skip to content

Instantly share code, notes, and snippets.

View hiyali's full-sized avatar
🌎
Focusing

Salam Hiyali hiyali

🌎
Focusing
View GitHub Profile
@hiyali
hiyali / grav-installation-requirements-php-composer-and-another
Last active August 29, 2016 08:30
grav-installation-requirements-php-composer-and-another
### 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
#####################################
::: 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
" 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
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
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,
},
# 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