Add and subtract time from a DateTime structure in Erlang I was trying to add times in Erlang, but couldn't find an existing function, so I wrote my own.
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement This error might look a little cryptic at first glance, but it's fairly descriptive in explaining what's wrong. You're likely to come across this one before your first cup of coffee.
Assign C# code to a variable and then run it Did you know most languages have a way to pass around code to other functions, so you can call (invoke) it in other parts of your application? In C#, it's called a delegate.
How can I find the state of NumLock, CapsLock or ScrollLock in WPF? If you're writing a WPF application and need to find the state of the Num Lock, Caps Lock, or Scroll Lock keys, you're in luck - there's a method for that.
What is the opposite of Any in LINQ? One of the many nice functions in LINQ is a single word that iterates through a collection, returning true if at least one item in the collection matches the condition you specify. But what's the opposite of the Any keyword in LINQ?
Enable logging for an AWS Lambda job In a new AWS Lambda function, logging is initially disabled. Lets see how to enable it, for those times where additional detail is needed.
What's the GitHub Package Registry? Most of us host something (and some of us everything) on GitHub, especially since they host private repos for free too now. I've been eager to try the GitHub Package Registry since they announced it last May. Well, I just got access to the beta, so let's see what we can do!