Build a Real-time Chat With Phoenix and LiveView in Less Than 50 Lines of Code | by Jonathan | Jul, 2022

How Phoenix and LiveView make scalable, real-time communication between clients simple Photo by Marek Piwnicki on Unsplash If you haven’t experienced the awesome power of LiveView in the Phoenix framework, strap in: we’re going to build a real-time, high-performance chat system with fewer than 50 lines of code. That includes all the code for both … Read more

html – How to make filling lines inside the card?

@import url(‘https://fonts.googleapis.com/css?family=Lato’); *, *::after, *::before { margin: 0; padding: 0; box-sizing: border-box; } /* body */ body { min-height: 100vh; padding: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; background: hsl(220, 10%, 12%); font-family: “Lato”, “Segoe Ui”, -apple-system, BlinkMacSystemFont, sans-serif; } /* .flip-card-container */ .flip-card-container { –hue: 150; –primary: hsl(var(–hue), 50%, 50%); –white-1: hsl(0, … Read more

Sending Posix message via pipe

Sending Posix message via pipe I have the following file called helper.h, which I want to call in server and client files later. Code: #ifndef HELPER_H #include <iostream> … Read more