In this code snippet, we will take a look at DateTime in C#. DateTime is used to represent dates and times in code. The DateTime class contains many useful methods to manipulate the date(formatting the date, adding/subtracting years, months, days, hours, …). Let’s have a look at the code below to see how to use DateTime.
This tutorial will cover the hardware and software setup for the icestick development board that uses an iCE40 FPGA. The IceStorm open source toolchain will be used for programming the board instead of the vendor tools. For the demonstration, we’ll make a simple binary counter that will display its value with the onboard LEDs. The logic design will be defined/coded with Verilog.
In this post, I’ll show the portable 100W LED torch floodlight I made. I originally bought the 100W LED and lens kit many years ago but have just recently decided I would finally make an LED flashlight out of it. A lot of the flashlights online usually don’t have a very large battery capacity and need to be recharged quite often if you use them for an extended period. The problem is a lot of those flashlights also use 16850 batteries that have to be taken out of the flashlight to be recharged with a charger. This prompted me to create my own flashlight with a large battery capacity that is also easily rechargeable without having to take out the batteries every time.
This post is a cheatsheet for Docker. I wrote this for myself so if I ever have trouble remembering some of the more common commands I can just look them up on my own site. And maybe someone out there on the internet will find this useful for themselves as well.
In this post, I’ll show you a Raspberry Pi microscope I made for soldering and inspecting PCBs. The great thing about it is that it has a long working distance. This enables the microscope to be mounted on the shelf above my workbench so it doesn’t get in the way. An additional benefit is that the image doesn’t shake if you bump the table when working.
This short post is a cheat sheet for transact SQL or T-SQL for Microsoft Server. I wrote this for myself so if I ever have trouble remembering some of the more common queries(as I don’t work with databases on a daily basis) I can just look them up on my own site. And maybe someone out there on the internet will find this useful for themselves as well.
In this post, I’ll show you how to measure the length or find a break in a coaxial cable with the help of your oscilloscope and waveform generator. We can do this using signal reflection that occurs when a transmission line is not terminated correctly.