Goal Display a map using react-leaflet and highlight certain regions. When a mouse hovers over a highlighted region, a popup containing the name and flag of the region should be displayed. Packages required leaflet react-leaflet leaflet css ( e.g. https://unpkg.com/leaflet@1.7.1/dist/leaflet.css ) randomcolor Solution Links Quick Start / Documentation www.countryflags.io These might interest you:Learning English and […]
Software Development
How to display a map on your website with react-leaflet for beginners 2020 – Dynamically load regions based on viewport changes
Goal Display a map using react-leaflet and highlight certain regions under given conditions Packages required leaflet react-leaflet leaflet css ( e.g. https://unpkg.com/leaflet@1.7.1/dist/leaflet.css ) randomcolor Solution Links Quick Start / Documentation These might interest you:How I learn German by Writing 2020 : 16/03/2020 – 30/03/2020Learning Java in 2020 – Beginner – Reverse StringPython 4 Beginners: XML […]
Learning Python in 2020 – Beginner – Basic MadLibs Generator
Problem Goal Read a sentence from the command line, ask for the locations of blanks and generate the phrases. Display the user’s result and compare with original sentence. Pseudo-code Read sentence from command line Ask for location of blanks and their associated categories or description (“e.g “noun”, “verb”, “place”, “celebrity,” “Exclamation” or “part of the […]
Learning Python in 2020 – Beginner – Pig Latin
Java solution Problem Goal Simply take a word, check if it begins with a vowel or a consonant cluster and append “ay” accordingly. If the word starts with a vowel, add an “ay” to the end of the word. Else extract the consonant cluster from the word, append “ay” to the cluster and join the […]
How to display a map on your website with react-leaflet for beginners 2020 – Display a basic map with a circle
Goal A simple map with a circle of specific radius. Packages required leaflet react-leaflet leaflet css ( e.g. https://unpkg.com/leaflet@1.7.1/dist/leaflet.css ) Solution Links Quick Start / Documentation These might interest you:Learning Python in 2020 – Beginner – Basic MadLibs GeneratorLearning Korean by Writing 2020 : 23/02/2020 – 29/02/2020How to display a map on your website with…I […]
10 German words/phrases you may need to know as a developer
These are terms that I, personally, hear very often at work. Initially I had moments of confusion but with time I got accustomed to them. I hope this list helps those that recently started working in Germany. Schleife Loop How do we loop through an array of objects ? Fehler beheben To fix a bug […]
How to display a map on your website with react-leaflet for beginners 2020 – Display a basic map with custom markers
Goal A simple map with markers, popups. Packages required leaflet react-leaflet leaflet css ( e.g. https://unpkg.com/leaflet@1.7.1/dist/leaflet.css ) Possible errors Icon isn’t showing properly solution import leaflet css in file related github question here or here Solution Links Quick Start / Documentation These might interest you:Learning Java in 2020 – Beginner – Reverse StringLearning Korean by […]
How to display a map on your website with react-leaflet for beginners 2020 – Highlight specific countries with custom colors
Goal Display a map using react-leaflet and highlight specific countries using different colors. Packages required leaflet react-leaflet leaflet css ( e.g. https://unpkg.com/leaflet@1.7.1/dist/leaflet.css ) randomcolor Solution Links Quick Start / Documentation These might interest you:Learning French by Writing 2020 : 23/02/2020 – 29/02/2020How to display a map on your website with…Learning Java in 2020 – Beginner […]
How to display a map on your website with react-leaflet for beginners 2020 – Display a basic map
Goal A simple map without markers, popups , tooltips. Packages required leaflet react-leaflet leaflet css ( e.g. https://unpkg.com/leaflet@1.7.1/dist/leaflet.css ) Possible errors Map isn’t loading properly solution import leaflet css in file related stackoverflow question here Solution Links Quick Start / Documentation These might interest you:How I learn German by Writing 2020 : 16/03/2020 – 30/03/2020How […]
I am learning C in 2020 – Beginner – why I am learning C programming in 2020
Better understanding of what goes on when coding After learning the basics of javascript and working on beginner level projects, I soon realized that I never knew what was going on behind the scenes. For instance what happens when my JS file is compiled? What does it actually mean to compile or execute a file […]
I am learning C in 2020 – Beginner – Understanding array memory storage
Operation System : Windows 10 IDE : VsCode Requirements : a computer, internet, notepad Book | Tutorial : see links below Git Project :None Goal Learn how int and char arrays are stored in memory and how much memory is allocated in specific scenarios. What I learned Integer arrays Pre and Post assignment I wanted […]
I am learning Python in 2020 – Beginner – Automate Backup of multiple Mongo Databases with python and a batch script
Operation System : Windows 10 IDE : VsCode Requirements : a computer, internet, notepad Book | Tutorial : see links below Git Project :None Goal Create a python program that backs-up a given database. This program should be called at intervals ( daily or weekly or monthly) by the Window task scheduler and should be […]
I am learning Java in 2020 – Beginner – Simple Spring REST Service Setup and basic Validation (Part 2)
Operation System : Windows 10 IDE : IntelliJ Requirements : Java 8 > , Postman ( For Testing) Book | Tutorial : youtube tutorial Java version : 12 Git Project : Here Parts: Part 1 Goal Learn how to indicate erroneous actions and objects in the REST Service Solution Main Changes Model During my research […]
I am learning Java in 2020 – Beginner – Simple Spring REST Service Setup with In-memory DB
Operation System : Windows 10 IDE : IntelliJ Requirements : Java 8 > , Postman ( Rest API Testing) Book | Tutorial : youtube tutorial Java version : 12 Git Project : Here Starter Project: Here Parts: Part 2 Goal Learn how to setup a spring rest application Learn how to add dependencies in the […]
I am learning C in 2020 – Beginner – Data types, Headers and Makefile
Operation System : Windows 10 IDE : https://cplayground.com/ Requirements: gcc compiler Book : Head first C chapter 4 Goal Learn more about C What I learned The different data types Keep in mind that there are other data types that are untreated here. Char I sincerely thought each char was stored as it is, but […]
I am learning Java in 2020 – Beginner – Absolutely Simple Restaurant DB connection using JPA
Operation System : Windows 10 IDE : Eclipse IDE ( Java EE – 4.15.0 ) Java version : 12 Less complicated version : In Java and in Python Requirements: Java installed, MySQL connector jar ( here) , MySQL Optional : Eclipse Java EE IDE Goal Learn the java persistence architecture ( JPA ) Pseudo-code Create […]
I am learning Python in 2020 – Beginner – Making a simple database for a restaurant menu
Operation System : Windows 10 IDE : Visual Studio Code Java Implementation : Java and a MySQL Database Problem Goal Generate a mysql database that holds a table of restaurant‘s menu which includes information about each meal. Pseudo-code Solution In order to connect to the MySQL database, we will need to import the mysql.connector which […]
I am learning C in 2020 – Beginner – Open, Read, Write and Close file
Operation System : Windows 10 IDE : Visual Studio Code Problem Goal Learn how to open, write, read and close a file given in as a command line argument Pseudo-code Read a given file write contents into another out.txt file Close file Solution Include dependencies I added the errno header to track when errors […]
I am learning Java in 2020 – Beginner – Java and a MySQL Database
Operation System : Windows 10 IDE : Intellij IDEA Community Python Implementation : Making a simple database for a restaurant menu Problem Goal Learn how to connect to a mysql database in Java. Pseudo-code Make a connection to the mysql db Create the “restaurants” database, if not exists Populate the “Nigerian” table in the restaurants […]
I am learning C in 2020 – Beginner – Understanding the size of pointer
Operation System : Windows 10 Problem Goal Be able to predict the number of bytes that will be allocated for an array, a pointer, integer, a single character etc. Pseudo-code No need for one. Solution Chars and pointer to strings As shown below, 1 byte is used to store a character. char a = ‘A’; […]