Follow these steps to install Oh My Zsh with auto-suggestions and syntax highlighting on Ubuntu 20.04.
Before starting, update your package lists:
sudo apt update| Prepare the Font Files: | |
| Before proceeding, make sure you have all the font files (in .ttf or .otf format) you want to install. Place all these font files in a single directory, for example, create a folder named "MyFonts" and place the font files inside it. | |
| Open Terminal: | |
| Press `Ctrl + Alt + T` to open a terminal window. | |
| Navigate to the Font Directory: | |
| Use the cd command to navigate to the directory where you placed all the font files. For example, if you placed them in the "MyFonts" folder under your home directory, use the following command: | |
| `cd ~/MyFonts` |
| <?php | |
| public function uploadImage($fileInputField, $uploadFolder, $fileName = '', $create_thumb = false, $photoIndex = false) { | |
| $uploadedFileName = ''; | |
| if (Input::file($fileInputField)) { | |
| $fileName = preg_replace('/\s*/', '', $fileName); |
| <?php | |
| function bangla2englishNumber ($number){ | |
| $search_array= array("১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯", "০"); | |
| $replace_array= array("1", "2", "3", "4", "5", "6", "7", "8", "9", "0"); | |
| $en_number = str_replace($search_array, $replace_array, $number); | |
| return $en_number; | |
| } | |