This is required in package.json:
"scripts": {
"lint": "eslint"
},
This is required in package.json:
"scripts": {
"lint": "eslint"
},
Install composer : https://farhan-tanvir-utshaw.medium.com/install-composer-ubuntu-e52cd1c93da2
Now follow from install laravel section from here:
I had trouble getting laravel in command line: it seems it was installed in:
/home/utshaw/.config/composer/vendor/bin
Add this line at the end of ~/.profile:
export PATH=$PATH:/home/utshaw/.config/composer/vendor/bin
Install php zip
First check your php version: php --version
Mine was 7.4 so, ran this:
sudo apt-get install php7.4-zip
Solve:
composer global remove laravel/installer
composer global require laravel/installer
Issue: https://stackoverflow.com/questions/43408604/php7-install-ext-dom-issue
Solve:
sudo apt install php-xml
sudo apt-get install php-mbstring
Ref: https://phoenixnap.com/kb/how-to-install-composer-ubuntu-16-04
If /usr/local/bin doesn’t exist then follow this:
https://stackoverflow.com/questions/25654731/usr-local-bin-no-such-file-or-directory
Environment variable for Android SDK:
[ -d “$HOME/Android/Sdk” ] && ANDROID_SDK=$HOME/Android/Sdk || ANDROID_SDK=$HOME/Android/Sdk
echo “export ANDROID_SDK=$ANDROID_SDK” >> ~/`[[ $SHELL == *”zsh” ]] && echo ‘.zshenv’ || echo ‘.profile’`
Intent i = new
Intent(OldActivity.this, NewActivity.class);
// set the new task and clear flags
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
startActivity(i);
Uri uri = Uri.parse("smsto:YOUR_SMS_NUMBER");
Intent intent = new Intent(Intent.ACTION_SENDTO, uri);
intent.putExtra("sms_body", "The SMS text");
startActivity(intent);
searchView1.setMaxWidth(Integer.MAX_VALUE);//set search menu as full width
works with `androidx.appcompat.widget.SearchView`