Tinkerwell code editor
For PHP you have multiple options like PhpFiddle, but here I will show you an amazing desktop tool called Tinkerwell. Recently I started using it to test my code, it helps saving you time,...
JavaScript, NodeJS, PHP, Laravel, Git, Tools and Tips
For PHP you have multiple options like PhpFiddle, but here I will show you an amazing desktop tool called Tinkerwell. Recently I started using it to test my code, it helps saving you time,...
It’s very important when you are writing your SQL queries to validate them. CREATE DB If you need to create a database, the SQL statement for that is:
1 2 3 4 |
CREATE DATABASE database_demo_name; |
But if you are going...
Sometimes you may need to see the results of a specific seeder class on a web page instead of a terminal. Thus instead of calling the seeder class via terminal:
1 2 3 4 |
php artisan db:seed --class="ClassName" |
Call the class...
Here we are going to see how in one line of code you can automate things using JavaScript in the web. If you log to your network LinkedIn account where you can add many...
As a developer you might have multiple open source projects with different accounts, one in Bitbucket and the other in Github. So if you clone many projects to the same computer and you need...
Here are some gotchas you need to keep your eye on them while you are developing in PHP, especially if you are new to PHP 7 new features. In this post, we are going...
The last project I was engaged in, is connecting to Godaddy’s Reseller API. So I developed an internal API for our project, that enables our frontend system doing some operations like (purchase, create, delete,...
As developers, we use a lot of boolean in our code, aren’t we? By the pieces of code below, we are going to do some experiments on casting(converting) boolean to a string. So enough...
I’m working on a new project. So I just wanted to install the last version of bootstrap (bootstrap@4.0.0-beta) through npm(Node Package Manager) tool. To install bootstrap as written in the documentation, you need to...
Whenever you want to make a variable constant, in order to not be able to change(mutate) it through the program, then you gonna need to define the variable to const like this:
1 2 3 4 5 6 7 8 |
const familyName = "Daka"; // Now any try of changing the variable familyName will throw an error. // I will try to change familyName varibale to the value of "newFamilyName" on the next line => familyName = "newFamilyName"; |
The...