Video Link: Apache Kafka Crash Course | What is Kafka?
- Knowledge
- Node.JS Intermediate level
- Experience with designing distributed systems
- Tools
- Node.js: Download Node.JS
- Docker: Download Docker
- VsCode: Download VSCode
Video Link: Apache Kafka Crash Course | What is Kafka?
| FROM sonarqube:7.4-community | |
| import React, { Component } from 'react'; | |
| // Import Custom Components | |
| import TextField from '../CustomFieldComponents/TextField'; | |
| import DateField from '../CustomFieldComponents/DateField'; | |
| import RadioField from '../CustomFieldComponents/RadioField'; | |
| export const CustomFieldContext = React.createContext(); | |
| export class CustomFieldProvider extends Component { |
| // DART Maps | |
| Map<String, int> phoneBook = { | |
| 'Mary': 6563039400, | |
| 'Bindu': 9414521345, | |
| 'Ashwani': 9660025446 | |
| }; | |
| main(){ | |
| print(phoneBook['Mary']); |
| "Laravel AJAX GET Request": { | |
| "prefix": "laravelAjaxGET", | |
| "body": [ | |
| "var id = $('#some_id').val();", | |
| "url=\"{{url('users/')}}\" +\"/\"+ id;", | |
| "console.log(url);", | |
| "$.ajax({", | |
| "\ttype: 'GET',", | |
| "\turl: url", | |
| "}).then(function (data) {", |
| ## Reference: | |
| https://packagist.org/packages/intervention/image | |
| http://image.intervention.io/ | |
| $ composer require intervention/image | |
| After you have installed Intervention Image, open your Laravel config file config/app.php and add the following lines. | |
| In the $providers array add the service providers for this package. | |
| config/app.php => Add in the Providers Array |
| // File Name "blade.json" | |
| { | |
| "Laravel Blade class for field error": { | |
| "prefix": "errclass", | |
| "body": [ | |
| "@error('$1') is-invalid @enderror" | |
| ], | |
| "description": "attach validation error for individual field" | |
| }, |
| ####################### | |
| # APACHE INSTALLATION | |
| ####################### | |
| sudo apt install apache2 | |
| # Apache2 is configured by placing directives in plain text configuration files. | |
| # These directives are separated between the following files and directories: | |
| # 1. apache2.conf: the main Apache2 configuration file. Contains settings that are global to Apache2. | |
| # 2. httpd.conf: historically the main Apache2 configuration file, named after the httpd daemon. |