See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
Located in alphabetical order (not prefer)
Cab), also designed as a more modern replacement, written in Cgolang)| # Setup KRaft | |
| $CONFLUENT_HOME/bin/kafka-storage random-uuid | |
| $CONFLUENT_HOME/bin/kafka-storage format -t <uuid> -c ./etc/kafka/kraft/server.properties | |
| # Start Kafka | |
| $CONFLUENT_HOME/bin/kafka-server-start ./etc/kafka/kraft/server.properties | |
| # Start Kafka Schema Registry | |
| $CONFLUENT_HOME/bin/schema-registry-start ./etc/schema-registry/schema-registry.properties |
| { | |
| "name": "test-mysql-connector01", | |
| "config": { | |
| "connector.class": "io.debezium.connector.mysql.MySqlConnector", | |
| "tasks.max": "1", | |
| "database.hostname": "127.0.0.1", | |
| "database.port": "3306", | |
| "database.user": "root", | |
| "database.password": "", | |
| "database.include.list": "test-src01", |
| { | |
| "name": "test-mysql-sink", | |
| "config": { | |
| "connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector", | |
| "tasks.max": "1", | |
| "group.id": "test-mysql-sink", | |
| "topics": "post,comment", | |
| "connection.url": "jdbc:mysql://localhost:3306/test-des?user=root&nullCatalogMeansCurrent=true", | |
| "auto.create": "true", | |
| "auto.evolve": "true", |
Brought to you by Headjack
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.
Let's start with some basics:
ffmpeg calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe file| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.lang.reflect.ParameterizedType; | |
| import java.lang.reflect.Type; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public abstract class TypeReference<T> { | |
| private final Type type; |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type Pinger interface { | |
| Ping() | |
| } |
(by @andrestaltz)
So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.
Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:
Rx.Observable.prototype.flatMapLatest(selector, [thisArg])
Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.