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
Copy File from Remote to Local using SSH: | |
------------------------------------------------------------ | |
scp -r username@remoteIP:/remote_Directory /local_Directory | |
KILL RUNNING PORT IN UBUNTU | |
------------------------------------------------------------- | |
sudo kill -9 `sudo lsof -t -i:9001` |
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
Laravel File Download: | |
---------------------------------- | |
return response() | |
->download(storage_path('app/download.zip')); | |
Delete File After Download: | |
---------------------------------- | |
return response() | |
->download(storage_path('app/download.zip')) | |
->deleteFileAfterSend(true); |
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 a2enmod rewrite |
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
$('.select-product').trigger("chosen:activate"); //works on verson 1.0 |
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
git pull origin <branch> --rebase |
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
format to remove <!-- end info-content --> | |
code : <!-- (.*?)--> |
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
$thanas = array( | |
array('id' => '1','created_by' => '1','updated_by' => '1','district_id' => '30','name' => 'Kotchandpur','created_at' => '2021-09-08 17:11:25','updated_at' => '2021-09-08 17:11:25'), | |
array('id' => '2','created_by' => '1','updated_by' => '1','district_id' => '54','name' => 'Bhanga','created_at' => '2021-09-08 17:11:25','updated_at' => '2021-09-08 17:11:25'), | |
array('id' => '3','created_by' => '1','updated_by' => '1','district_id' => '32','name' => 'Shah Mokhdum','created_at' => '2021-09-08 17:11:25','updated_at' => '2021-09-08 17:11:25'), | |
array('id' => '4','created_by' => '1','updated_by' => '1','district_id' => '58','name' => 'Adabar','created_at' => '2021-09-08 17:11:25','updated_at' => '2021-09-08 17:11:25'), | |
array('id' => '5','created_by' => '1','updated_by' => '1','district_id' => '54','name' => 'Sadarpur','created_at' => '2021-09-08 17:11:25','updated_at' => '2021-09-08 17:11:25'), | |
array('id' => '6','created_by' => '1','updated_by' => '1','district_id' => '16','name' => 'Titas' |
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
$districts = array( | |
array('id' => '1','created_by' => '1','updated_by' => '1','name' => 'Natore','created_at' => '2021-09-08 17:11:24','updated_at' => '2021-09-08 17:11:24'), | |
array('id' => '2','created_by' => '1','updated_by' => '1','name' => 'Naogan','created_at' => '2021-09-08 17:11:24','updated_at' => '2021-09-11 18:16:11'), | |
array('id' => '3','created_by' => '1','updated_by' => '1','name' => 'Chuadanga','created_at' => '2021-09-08 17:11:24','updated_at' => '2021-09-08 17:11:24'), | |
array('id' => '4','created_by' => '1','updated_by' => '1','name' => 'Chittagong','created_at' => '2021-09-08 17:11:24','updated_at' => '2021-09-08 17:11:24'), | |
array('id' => '5','created_by' => '1','updated_by' => '1','name' => 'Bogra','created_at' => '2021-09-08 17:11:24','updated_at' => '2021-09-08 17:11:24'), | |
array('id' => '6','created_by' => '1','updated_by' => '1','name' => 'Sylhet','created_at' => '2021-09-08 17:11:24','updated_at' => '2021-09-08 17:11:24'), | |
array('id' => '7','created_by' => '1','updated_by' => |
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
Complete Installation and Configuration of Apache2, Multiple PHP, MariaDB, phpMyAdmin, LetsEncrypt, | |
HTTP/2, IonCube, Postfix, Dovecot, SPF, DKIM, Roundcube Webmail and | |
Files Permission Commands on Ubuntu 18.04 and 18.10 Web Server | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
This is a complete Ubuntu Linux based web server for Website, PHP, SSL, TLS, Database and Email hosting purpose. | |
Built with the below components for good performance. Also, I tried to make it as secure as possible. |
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
<Directory /var/www/html/xgroup> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> |
OlderNewer