See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # This setup allows you to both connect from within the docker-compose context as well as from services running on your local | |
| # machine but not as part of the docker-compose setup. Any client connecting to the broker from the outside can connect to | |
| # localhost:9092 while services running as part of the docker-compose connect to broker:9093. | |
| # | |
| # To access kafka-ui: http://localhost:7777 | |
| # | |
| # I hope this helps someone out there! :) | |
| version: '3' | |
| networks: |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
| Online Reservation System / Central Reservation System (CRS) is commonly used in travel and tourism industry for making online reservations for airline, hotel rooms, tour package , bus, car etc. to increase sales and customer’s reach across the globe. But it is majorly used in hotel industry. | |
| http://www.hotelreservationssystem.com/index.html | |
| Quality Award - http://www.hotelreservationssystem.com/onlinebookingsystems-internationalqualityaward.html | |
| Here are some of the benefits of online reservation system. | |
| Compatibility |
| // connect() is a function that injects Redux-related props into your component. | |
| // You can inject data and callbacks that change that data by dispatching actions. | |
| function connect(mapStateToProps, mapDispatchToProps) { | |
| // It lets us inject component as the last step so people can use it as a decorator. | |
| // Generally you don't need to worry about it. | |
| return function (WrappedComponent) { | |
| // It returns a component | |
| return class extends React.Component { | |
| render() { | |
| return ( |
| #!/usr/bin/env python | |
| """ | |
| Clone all public and private repositories from a GitHub user or organization. | |
| Copyright (c) 2018 Yuriy Guts | |
| usage: github-clone-all.py [-h] [--auth-user AUTH_USER] | |
| [--auth-password AUTH_PASSWORD] [--clone-user USER] | |
| [--clone-org ORG] |
| document.body.innerHTML = 'Paste or drop items onto this page. View results in console.'; | |
| function getPayload(item) { | |
| const kind = item.kind; | |
| switch (kind) { | |
| case 'string': return new Promise(res => item.getAsString(res)); | |
| case 'file': return Promise.resolve(item.getAsFile()); | |
| default: throw new Error('unknown item kind! ' + kind); | |
| } |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| import { Component } from "react"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| static displayName = "Enhanced" | |
| constructor() { | |
| super(); | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { |
| { | |
| "Use Non-ASCII Font" : true, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { | |
| "Red Component" : 0, | |
| "Color Space" : "sRGB", | |
| "Blue Component" : 1, | |
| "Alpha Component" : 1, |