Open in app
Home
Notifications
Lists
Stories

Write
Petros Demetrakopoulos
Petros Demetrakopoulos

Home

Published in Better Programming

·May 16

Showing Toast Alerts in React With “react-toastify”

Build responsive web apps — Introduction We often need to inform the user about an action that succeeded or failed in any web app. This function is often achieved by showing the user alerts or notifications at the top of the screen, and then these disappear seconds later. …

Programming

3 min read

Showing Toast Alerts in React With “react-toastify”
Showing Toast Alerts in React With “react-toastify”

Published in Geek Culture

·Apr 29

Creating a game for Atari 2600 in 2022

I was born in 1997, just a year before Atari corporation was defunct and merged with JST storage (later acquired by Hasbro), a merger that would officially mark the end of an era. Despite the fact that I am a bit young to own or even to have ever played…

Atari

9 min read

Creating a game for Atari 2600 in 2022
Creating a game for Atari 2600 in 2022

Published in Better Programming

·Apr 26

Mocking API Calls for Snapshot Tests in React

How to effectively mock API responses to use in snapshot and unit tests in React — As software developers, many times, we need to mock data or API calls in order to write and run automated tests for our code. These tests can be either unit tests following the Given-When-Then principle, which are mainly used to test the correct functionality of functions and classes, or they…

Programming

5 min read

Mocking API Calls for Snapshot Tests in React
Mocking API Calls for Snapshot Tests in React

Published in Better Programming

·Jan 19

Storing Data on Ethereum Blockchain With Node.js

Use Ethereum blockchain as a persistent storage in an organized and model-oriented way without writing custom smart contracts — We are at the beginning of 2022 and everybody is talking about the “next big thing” on the internet: Web 3. But the majority of people who talk about NFTs, crypto assets, altcoins, and blockchain technologies in general, do not really know how they can use them in practice and…

Ethereum

6 min read

Storing Data on Ethereum Blockchain With Node.js
Storing Data on Ethereum Blockchain With Node.js

Published in Better Programming

·Jan 16

Handling Multiple Checkboxes in React

How to effectively handle multiple checkboxes in any React project — Introduction Many times in any web app, we need to collect data from the user as a list of specific and predefined options. This problem, most of the times is solved by using multiple checkboxes. The user can select one or more of them in order to create the final list…

React

4 min read

Handling Multiple Checkboxes in React
Handling Multiple Checkboxes in React

Published in Geek Culture

·Jun 8, 2021

Predicting car accidents in my neighborhood: A data-driven approach.

I was born and raised in a calm and mostly residential district of the northern suburbs of Athens called “Vrilissia”. However, this calmness is often interrupted by car crashes in the streets. And when I say often, I mean that as a kid, I remember periods of time that car…

Data Science

6 min read

Predicting car accidents in my neighborhood: A data-driven approach.
Predicting car accidents in my neighborhood: A data-driven approach.

May 5, 2021

A brief history of beer: Episode 8, Rauchbier

This one is one of my favorites. not just in terms of history but in terms of taste and smell too. Rauchbier is German lager brewed with smoked (Rauch, in German) malt. But how can malt be smoked ? In the old days, before the invention of smoking malts using…

Food

2 min read

A brief history of beer: Episode 8, Rauchbier
A brief history of beer: Episode 8, Rauchbier

Apr 20, 2021

Why cash flow is the building block of wealth

DISCLAIMER: I am not a financial, investment or legal advisor. All views expressed in this article are only that and nothing more, just my views, and their only purpose is to entertain you. Do not take financial advices from random guys on internet. Always talk to a certified advisor. When…

Money

3 min read

Why cash flow is the building block of wealth
Why cash flow is the building block of wealth

Apr 17, 2021

A brief history of beer: Episode 7, Kellerbier

Kellerbier is the German term for “Cellar beer” and as you can easily imagine, it is because this kind of beer was originally aged in the cellars of the brewers. Originating in Bavaria of middle ages, Kellerbier was one of the first beer kinds that were lagered. During this times…

Food

1 min read

A brief history of beer: Episode 7, Kellerbier
A brief history of beer: Episode 7, Kellerbier

Apr 8, 2021

A brief history of beer: Episode 6, Trappist ale

As the name of this beer style suggests, Trappist ales originate from the Trappist monks. Trappist monks are part of the “Order of Cistercians of the Strict Observance”, which began in 1098 and was originating from La Trappe, France. This order of monks follows strictly the “Rule of Benedict” as…

Beer

2 min read

A brief history of beer: Episode 6, Trappist ale
A brief history of beer: Episode 6, Trappist ale
Petros Demetrakopoulos

Petros Demetrakopoulos

💻Code-blooded, 🌏 Traveler, Passionate Homebrewer🍺. Lifelong learner 📚. https://petrosdemetrakopoulos.github.io

Following
  • Lauren Como

    Lauren Como

  • Unbecoming

    Unbecoming

  • Anupam Chugh

    Anupam Chugh

  • Cornell University

    Cornell University

  • Ben Le Fort

    Ben Le Fort

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable