Illustrators showing Web Developer Roadmap, found on codeburst.io
A site for Every Useful in all fields, specially IT world
Illustrators showing Web Developer Roadmap, found on codeburst.io
LARAVEL:
GIT ToolsIf you want to explode a string (mostly a loaded text file content), you just use this code:
$rows = explode(PHP_EOL, $content);
A very nice and easy tutorials to explain GIT for the beginners …
https://www.atlassian.com/git/tutorials/what-is-version-control
If you want to test if you can send email from Laravel using only command prompt, here is how ..
Here is a good article talking about Laravel Admin Panel generators
https://laravel-news.com/13-laravel-admin-panel-generators
Redirect all non-HTTPS traffic to HTTPS using htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !on [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule>
for more htaccess tips, go to this url:
https://www.leaseweb.com/labs/tag/htaccess/
If you are using Apache on your Windows machine and want to set up virtual hosts so you can type something like this “www.myDomain.tst” in your browser and it’ll direct you to your local hosted site … you have to edit this file:
C:\WINDOWS\system32\drivers\etc\hosts
Add a new line with this text
127.0.0.1 myDomain
Open apache\conf\extra\httpd-vhosts.conf file and add these lines:
<VirtualHost *:80>
DocumentRoot path_to_your_document_root
ServerName myDomain
</VirtualHost>
If you want to go to edit page after saving an item , here is the code
$data = $request->only('title', 'body'); $item = Item::create($data); return redirect()->route('edit_item',['id'=> $item->id]);
There are a number of free DNS that you can use:
Here is a good article comparing DNS for speed and features
For the speed results, The Top 5 DNS are:
Global Average Speed: