Skip to main content

Posts

Showing posts from 2020

Angular Helping Commands

Subject init Subject -> public readonly goToDirectory$ = new Subject< string >(); Subscribe Subject ->  s = this .common. goToDirectory$ . subscribe ((folder_id)                   => {      this . getListing (folder_id);} ); Emitt Data ->  this .common. goToDirectory$ . next (folder_id);

Laravel Help full commands

DB commands   Concat Two coloms:  DB::raw("CONCAT(u.first_name,' ',u.last_name) as full_name")     Search case sensitive:  -> where( 'name' , 'ilike' , $name ) Upload File In Chunks:: public function write(string $path , UploadedFile $file ) { Storage:: makeDirectory ( 'dir_name' ); $resource = fopen (Storage:: path ( $path ), 'a+' ); fwrite ( $resource , $file ->get()); fclose ( $resource ); }

What is Docker

https://www.edureka.co/blog/what-is-docker-container What is Docker? – Docker is a containerization platform that packages your application and all its dependencies together in the form of a docker container to ensure that your application works seamlessly in any environment.  – Docker is a containerization platform that packages your application and all its dependencies together in the form of a docker container to ensure that your application works seamlessly in any environment. What is Docker Image? Docker Image can be compared to a template which is used to create Docker Containers. They are the building blocks of a Docker Container. These Docker Images are created using the build command. These Read only templates are used for creating containers by using the run command. We will explore Docker commands in depth in the “Docker Commands blog”.  What is Docker Container? Containers are the ready applications created from Docker Images or you ca...