Mongodb

[nodejs/mongodb] Data in mongodb can’t be updated but working only root db url

problem The following code does work. const MONGODB_URL = `mongodb://${process.env.DB_USERNAME}:${process.env.DB_PASSWOR...
Dart

[Flutter/Dart] How to change icon of grabbing and ungrabbing.

Preparation You have to use StatefulWidget or HookWidget You can implement it without any event conflicts by using Liste...
Dart

You want to controll opacity dynamicaly but you don’t want to remove the widget that has opacity = 0

Problem You want to implement some animation in flutter. And you are using flutter_hooks as state management. Once the o...
未分類

[Swift ]To add some entitlements is needed to enroll apple developer (pay 💲99)

未分類

[Dart💠] How to forgive a bit diffs in golden test

You will create the followign class. import 'package:flutter/foundation.dart'; import 'package:flutter_te...
Docker

[Docker🐳] Docker Tips (updatable)

Forcus on mysql container. pull image docker pull mysql build and run container from pulling image docker run --name por...
未分類

[Rust🦀] Rust Web Application Framework Actix Setup

# What is Actix? Actix is one of the most high performance web framework written in Rust. If you want to know in the det...
Rust

[Rust🦀]I analysed the error to make me level up as a Rust developer !!

# ownership and borrowing I'm always confused about which valuable has `ownership` or `borrowing`. The following code wa...
Rust

[Rust🦀] How To Pass The Closure To The Function Argument

For example `execute()` function can take the type of closure as `F` F defines `FnOnece() + Send + 'static` ('static is ...
General

[Programming]Multiple Producer Single Consumer (MPSC)

# What is MPSC? multiple entities (producers) generate or produce data, and a single entity (consumer) processes or cons...