Flowing LED on RaspberryPi using Python
Flowing LED on RaspberryPi using Python. In this article will make a flowing LED strip flowing in both directions using Python.
Blinking LED on Raspberry Pi using Golang
How to make a LED blinking on Raspberry Pi using Golang. Simple sample code using go-rpio library.
Blinking LED on Raspberry Pi using Python
How to make a LED blinking on Raspberry Pi using Python. Simple Python code sample.
Java 8 forEach examples
Java 8 forEach examples. Map and list loop using lambda, method reference, stream and filter.
Split a string and loop in SQL Server
How to split a string and loop it's values in Microsoft SQL Server. Simple solution used to insert data into tables.
If statement vs try catch block
Real live comparison:
If statement is like walking on the cliff, on each step you need to check your stability otherwise you may fall into abyss.
Try/catch block is like walking on the street, you don't have to care about the road on each step, only when there is an obstacle (something exceptional is happening).