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

Issue: https://stackoverflow.com/questions/64686037/why-do-i-get-a-laravel-error-while-creating-a-new-project/64694433

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

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’`

Ref: https://docs.expo.io/workflow/android-studio-emulator/


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);


AWS Free Learning Resources valid for 2021

What is Cloud Computing : https://www.youtube.com/watch?v=M988_fsOSWo

A visit into the “Cloud”: https://www.youtube.com/watch?v=94PO2-TL4Vs

How to take AWS Exam From Home: https://www.youtube.com/watch?v=Wtp4GZHcq-8

— — Youtube — -

What is AWS: https://www.youtube.com/watch?v=a9__D53WsUs

AWS Cloud Computing(Bangla): https://www.youtube.com/watch?v=8yy0GVYjhQc

AWS Cloud Practitioner: https://www.youtube.com/watch?v=XjPUyGKRjZs

AwS Full Traning: https://www.youtube.com/watch?v=cJLJrLlZ8no


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`

Farhan Utshaw

CSE student at BUET

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store