Domain-Driven Design Handbook

Domain-Driven Design Handbook

Source: https://medium.com/carvago-development/domain-driven-design-handbook-4d34b069bec4 How to apply 1. Hear the story2. Understand terms3. Extract scenarios4. Select use cases5. Model concepts6. Write tests + code7. Connect to the infrastructure 1. Hear the story The first and most important step of programming. A person who knows the domain, the topic we are going to program, has to explain it to us. Such a person is known as a domain expert. We have to listen carefully. Car dealer is the domain expert. The car dealer…

Read More Read More

[Hướng dẫn] Fix iMessage

[Hướng dẫn] Fix iMessage

Hôm nay, mình sẽ hướng dẫn các bạn Fix iMessage, mong bài viết này sẽ hữu ích với các bạn. Bạn có thể làm theo hướng dẫn này từ Window, MacOS, Linux.   CHUẨN BỊ: Nếu bạn đang đăng nhập iCloud thì hãy thoát ra hết nhé Bạn cần tải: 1. GenSMBIOS (Bấm vào “Code” góc phải -> Download ZIP) 2. Tor Browser (trình duyệt Tor) 3. Hackintool Cách làm: Cách 1: Cách tốn thời gian. Đầu tiên, bạn cài…

Read More Read More

50 thiên kiến nhận thức

50 thiên kiến nhận thức

1. Lỗi quy chụp căn bản: Khi người khác đến muộn, đó là do họ lười. Khi bạn đến muộn, đó là do đường tắc. 2. Thiên kiến tự phục vụ: Bạn nghĩ mình thành công là nhờ năng lực và bản thân, còn thất bại là do hoàn cảnh hoặc thiếu may mắn. 3. Ưu đãi bè phái: Bạn có xu hướng thiên vị thành viên nhóm mình hơn những người khác. 4. Hiệu ứng đoàn tàu: Bạn chạy…

Read More Read More

Manual Oracle Uninstall

Manual Oracle Uninstall

A number of people have contacted me regarding problems uninstalling Oracle products. The two methods listed below should only be used as a last resort and will remove *all* Oracle software allowing a re-install. If you make any mistakes they can be quite destructive so be careful. Windows UNIX Windows In the past I’ve had many problems uninstalling all Oracle products from Windows systems. Here’s my last resort method: Uninstall all Oracle components using the Oracle Universal Installer (OUI). Run regedit.exe and delete the HKEY_LOCAL_MACHINE/SOFTWARE/Oracle key….

Read More Read More

Debezium with Oracle 11g

Debezium with Oracle 11g

Versions in use Kafka 2.3.0 / Confluent Platform 5.3.0 Debezium 0.10 Oracle 11g EE 11.2.0.4 tl;dr It works, though you need some small adjustments to the DB setup that is described in the Debezium Tutorial Using Oracle. You need a minimum version of 11.2.0.4. You also need an Oracle license for XStream in addition to your 11g database. Watch out for Oracle data types that come through Debezium as a byte array: KSQL can’t read it, so you need some other way…

Read More Read More

XStream Inbound… A Sample Java Program

XStream Inbound… A Sample Java Program

Oracle XStream is a new feature of Oracle Database 11g Release 2. Though it has been developed by the Streams team and is part of the database, XStream is part of GoldenGate! And now that the GoldenGate deal has been closed, 7 days before Oracle Openworld, it’s easy to guess why XStream went out a few hours ago. This post is about XStream; it provides a Java program that uses “XStream In” to enqueue messages to a buffered queue. A…

Read More Read More

XStream Outbound… A sample Java Program

XStream Outbound… A sample Java Program

Like with XStream InBound in my previous post, you’ll find below a simple Java for XStream Outbound. This new program subscribes to Streams captured changes. Does it sound easy ? It is, like you’ll figure out below. Step 1: Create a Sample Schema For this sample program, create a schema and a table : connect / as sysdbacreate user source identified by source default tablespace users temporary tablespace temp;grant connect,resource to source;col dbname new_value dbnameselect value dbname from v$parameterwhere name=’db_unique_name’;prompt &&dbnameconnect…

Read More Read More

Oracle to Kafka made easy.

Oracle to Kafka made easy.

Source: http://oebsnotes.blogspot.com Sometimes we need to expose data from Oracle database to external systems/services.  In our experience, it ends ups with kind of interim tables or even interim databases or REST service solutions, the downsides of such approaches are well known. These days one of the best solution to communicate services is message broker, namely Apache Kafka.  This time we would like to send data from Oracle database to Kafka, after some googling we come up with – GoldenGate, WebLogic,…

Read More Read More

Installing oracle 11.2.0.4 under Docker

Installing oracle 11.2.0.4 under Docker

1. Upload the oracle installation package to the host and extract it (for example, under the directory of / data) [root@localhost data]# ll total 2487256 drwxr-xr-x. 7 440 200 4096 Aug 27 2013 database drwx——. 2 root root 16384 Aug 30 23:23 lost+found -rw-r–r–. 1 root root 1395582860 Aug 30 23:59 p13390677_112040_Linux-x86-64_1of7.zip -rw-r–r–. 1 root root 1151304589 Aug 30 23:59 p13390677_112040_Linux-x86-64_2of7.zip 2. Start with the image of Docker official website and mount / data to / install docker run -it –privileged…

Read More Read More

How to secure Windows Remote Desktop (RDP)

How to secure Windows Remote Desktop (RDP)

How secure is Windows RDP? By default, a Remote Desktop session is operated via an encrypted channel which prevents anyone to view your session by network listening methods. Although this is a secure method, it is still susceptible to “man-in-the-middle-attack” to a certain degree as well as a form of brute-force attacks or simple guesses if the attacker has any info on your general likes, preferences and habits (Social media is fun indeed). Basic security tips Keep your Windows updated…

Read More Read More