C# Code Snippets DateTime

C# DateTime

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.

iCE40 FPGA iCE aStick with IceStorm Tutorial

Lattice iCE40 FPGA IceStorm Tutorial

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.

Docker Cheatsheet

Docker Cheatsheet

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.

Raspberry Pi Microscope

DIY Raspberry Pi Microscope

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.

TSQL Cheatsheet

T-SQL Cheatsheet

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.