-
clean code: https://cleancoders.com/library/personal
-
api design: https://apiacademy.treblle.com/laravel-api-course/api-design
-
postgres: https://masteringpostgres.com/
-
freelance web developers interview: https://web-dev-freelancing.com/watch
- in css for an image, if set
border-radius
half ofwidth
of image, then image get rounded. e.g:
img {
width: 200px;
border-radius: 100px;
}
- installing typescript:
- install node
- npm i -g typescript
- write your typescript code and then you should compile your typescript code to javascript by using:
tsc index.ts
.
I assumed that our target file name is: index.ts
also note that all typescript files extension is: ts
- how to create a configuration file for typescript compiler:
This file contains hidden or 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
<?php | |
// Attributes (AKA Annotations). | |
#[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_FUNCTION)] | |
class CharDecoratorAttribute | |
{ | |
public function __construct(protected string $char) // Constructor Property Promotion | |
{ | |
} | |
public function decorate(Closure $fn): Closure |
##Windows users:
- Download wamp: http://www.wampserver.com/en/
- Download and extract cmder mini: https://github.com/cmderdev/cmder/releases/download/v1.1.4.1/cmder_mini.zip
- Update windows environment variable path to point to your php install folder (inside wamp installation dir) (here is how you can do this http://stackoverflow.com/questions/17727436/how-to-properly-set-php-environment-variable-to-run-commands-in-git-bash)
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
- Create a database locally named
homestead
utf8_general_ci