php artisan config:clear php artisan cache:clear php artisan view:clear php artisan route:clear
composer dump-autoload
php artisan serve
| [ | |
| { | |
| "upazila": "Amtali Upazila", | |
| "district": "Barguna", | |
| "division": "Barisal" | |
| }, | |
| { | |
| "upazila": "Bamna Upazila", | |
| "district": "Barguna", | |
| "division": "Barisal" |
| .middle-content { | |
| text-align: center; | |
| height: 100%; | |
| display: -webkit-box; | |
| -webkit-box-pack: center; | |
| -webkit-box-align: center; | |
| display: -moz-box; | |
| -moz-box-pack: center; | |
| -moz-box-align: center; | |
| display: -ms-flexbox; |
| #Command to start serve and continue in backend: | |
| 1. Open terminal and run: php artisan serve --host 192.168.78.10 --port 5000 & | |
| 2. To exit from terminal: exit | |
| ##Stop artisan server from backend | |
| 1. Go to project directory by (project is in linux server on "my_project" directory): cd ../var/www/my_project | |
| 2. To show running server process: ps -ef | grep "$PWD/server.php" | |
| Result is as: | |
| [root@mahedi my_project]# root 6817 6813 0 17:14 ? 00:00:00 /usr/bin/php -S 192.168.78.10:5000 /var/www/my_project/server.php |
| 1. Add this before </body> | |
| <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script> | |
| 2. Encapsulate your code block with <pre> tag and the "prettyprint" class | |
| <pre class="prettyprint"> | |
| $(function() { | |
| alert('I am using Prettify as Syntax Highlighter'); | |
| }); | |
| </pre> |
| #include<stdio.h> | |
| int a,b,u,v,n,i,j,ne=1; | |
| int visited[10]={0},min,mincost=0,cost[10][10]; | |
| void main() | |
| { | |
| printf("\n Enter the number of nodes:"); | |
| scanf("%d",&n); | |
| printf("\n Enter the adjacency matrix:\n"); |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
| <script> | |
| var num =1; | |
| $(document).ready(function() { | |
| setInterval(longPoll,8000); | |
| }); |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
| </head> | |
| <body> | |
| <?php | |
| $unicodeNumber = $_GET['num']; | |
| print_r( $unicodeNumber); | |
| function convertToEnglishNumber($unicodeNumber){ |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://www.google.com/jsapi"> | |
| </script> | |
| <script type="text/javascript"> | |
| // Load the Google Transliteration API | |
| google.load("elements", "1", { packages: "transliteration" }); |