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
//line 177 | |
@if( $formatted_max_quantity > 0) | |
<p class="help-block text-success"><small> {{__('validation.custom-messages.quantity_not_available', ['qty'=> $formatted_max_quantity, 'unit' => $product->unit ])}} </small></p> | |
@else | |
<p class="help-block text-red"><small> {{__('validation.custom-messages.quantity_not_available', ['qty'=> $formatted_max_quantity, 'unit' => $product->unit ])}} </small></p> | |
@endif | |
custom massage chnage |
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
<IfModule mod_rewrite.c> | |
<IfModule mod_negotiation.c> | |
Options -MultiViews -Indexes | |
</IfModule> | |
RewriteEngine On | |
# Handle Authorization Header | |
RewriteCond %{HTTP:Authorization} . | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |
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 update | |
sudo apt upgrade | |
sudo apt-get install lunzip lzip uget hardinfo gwenview ibus-m17n git composer | |
sudo apt install apache2 | |
sudo apt install mysql-server mysql-client | |
sudo systemctl status mysql |
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
<IfModule mod_rewrite.c> | |
# Turn Off mod_dir Redirect For Existing Directories | |
DirectorySlash Off | |
# Rewrite For Public Folder | |
RewriteEngine on | |
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ | |
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$ | |
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ |
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
# checkout full Documentation here : https://github.com/maateen/avro | |
#install required package | |
sudo apt install gjs gir1.2-ibus-1.0 libibus-1.0-5 libibus-1.0-dev ibus-gtk ibus-gtk3 ibus-clutter ibus-qt4 | |
# get avro file .deb | |
wget "https://github.com/maateen/avro/releases/download/v2.1/avro_2.1-3_all.deb" | |
# install avro |
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
composer create-project laravel/laravel testLaravel | |
cd testLaravel | |
cp .env.example .env | |
git init | |
git add -A | |
git commit -m 'Initial commit' | |
php artisan key:generate | |
php artisan config:clear | |
php artisan config:cache |
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
#File Upload | |
if (!empty($request->file('files'))) { | |
if (!file_exists(public_path() . '/files')) { | |
mkdir(public_path() . '/files', 0777, true); | |
} | |
foreach ($request->file('files') as $file) { |