David is a back end developer with a major in computer science. He loves to solve problems using technology, learning new things, and making new friends. David is currently a technical writer who enjoys making hard concepts easier for other developers to understand and his work has been published on multiple sites.
Articles by David Mbochi
Docker Howto's
- How to Create a Database User Using Docker Postgres
- How to Create an Environment Variable File in Docker
- How to Restart a Docker Container
- The --rm Flag in Docker
- The Difference Between Docker Container and Docker Image
- How to List Only the Stopped Containers in Docker
- How to Recreate Containers From New Images Using Docker-Compose
- How to Clear Docker Container Logs
- How to Enter a Running Docker Container With a New Pseudo TTY
- How to Use the Docker Network Host Command
- How to Get IP Address of Docker Host From Inside a Docker Container
- How to Rebuild a Container in a Docker-Compose File
- How to Set Environment Variables in Docker
- How to Add Users to a Docker Container
- How to Expose Multiple Ports in a Docker Container
- How to Copy a Directory From the Host to a Docker Image
PostgreSQL Howtos
- How to Search Data Saved in Uppercase in PostgreSQL
- How to Differentiate Between Numeric and Decimal Data Types in PostgreSQL
- How to Install the Client Tools for PostgreSQL on Windows
- PostgreSQL Is Not a NoSQL Database
- How to Login and Authenticate to PostgreSQL
- PostgreSQL Naming Conventions
- How to Cast String to Date DD/MM/YYYY in PostgreSQL
- How to Declare a Variable in a PostgreSQL Query
- How to Locate Configuration Files in PostgreSQL on Ubuntu
- How to Use pg_dump to Create a Backup File of the Database in PostgreSQL
- How to Import CSV File Data Into a Table in PostgreSQL
- How to Use Multiple WITH Statements in One PostgreSQL Query
- The if Statement in PostgreSQL
- How to Drop All Tables in PostgreSQL
- How to Insert Into Select in PostgreSQL
- How to List Tables in PostgreSQL
TypeScript Howtos
- How to Use Useref to Call Child Component From Parent Component in React With TypeScript
- How to Create an Empty Array in TypeScript
- Global Variable in TypeScript
- How to Define an Array in TypeScript Interface
- How to Convert String to Boolean in TypeScript
- How to Import Modules in TypeScript
- How to Import Type Feature of TypeScript
- How to Create Custom Valueof Similar to Keyof to Return Union of Property Value Types in TypeScript
- How to Initialize a Map Containing Arrays in TypeScript
- How to Extend an Interface With Nested Properties in TypeScript
Kotlin Howtos
- How to Implement the Floor Modulo Function in Kotlin
- Difference Between CoroutineScope and coroutineScope in Kotlin
- How to Split a String Into an Array in Kotlin
- How to Use synchronized() and withLock() to Lock Shared Resources in Kotlin
- Kotlin Spread Operator
- How to Clone Object in Kotlin
- How to Sort a Collection Using Multiple Fields in Kotlin
- How to Use the with Keyword in Kotlin
- How to Create a Singleton in Kotlin
- How to Create an HTTP Request in Kotlin
- How to Implicitly Infer the Type of Fail Method in JUnit 5
- How to Convert List to Map in Kotlin
- Kotlin flatMap() Function
- Object vs Class in Kotlin
- How to Get a Random Number in Kotlin
- How to Use the reified Keyword in Kotlin
- Difference Between fold() and reduce() in Kotlin
- How to Create Constants in Kotlin
- How to Get the Instance of an Object in Kotlin
- How to Parse JSON String to Object in Kotlin
- How to Create and Execute Coroutines in Kotlin
- How to Create an Empty Mutable List in Kotlin
- How to Differentiate the Extension Functions in Kotlin
- How to Use setOnClickListener in Kotlin