Skip to content

Commit

Permalink
Add tags and categories
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 committed Jul 10, 2024
1 parent 087c02f commit 3327ffd
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/posts/2009-06-15-embedded-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Embedded Resources'
date = 2009-06-15T10:00:00-04:00
categories = 'Tutorial'
tags = [".NET", "SQL"]
+++

![Embedded Resource](/assets/img/EmbeddedResource.gif)
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2009-06-15-preconditions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Preconditions'
date = 2009-06-15T23:52:00-04:00
categories = 'Tech'
tags = ['Google', '.NET']
+++

Google's been doing some interesting things lately. Some attract lots of attention, some very little. One that you may not have heard of is [Google Collections](http://google-collections.googlecode.com/). It's just a series of Java helper classes. At first it may seem like a non-event, and mostly for us .NET folks that's true. But I read [this post](http://publicobject.com/2007/09/coding-in-small-with-google-collections_08.html) about a year ago, and my interest was piqued by their [Preconditions](http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common/base/Preconditions.html) class. It's nothing significant - it just throws various argument exceptions if you don't pass "true" to its methods. But, after writing and using a .NET implementation of it for over a year now, I'm a huge fan of the concept. Formalizing "preconditions" does a few things:
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2009-06-29-jquery-to-rescue.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'jQuery to the rescue!'
date = 2009-06-29T12:52:00-04:00
categories = 'Tutorial'
tags = ["jquery"]
+++

I had a thought today as I was posting - I like to link out from my blog, but it's really inconvenient for my readers to click on those links and have it open that link over top of the post they're reading. And I don't want to have to go back to my previous posts to update the links manually. Blogger should just handle it for me.
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2009-07-13-bad-cache.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Bad cache'
date = 2009-07-13T22:00:00-04:00
categories = 'Bugs'
tags = [".NET"]
+++

We had some code break down today. Here's the story.
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2009-07-15-robocopy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Robocopy'
date = 2009-07-15T20:54:00-04:00
categories = 'Tools'
tags = ['robocopy']
+++

Apparently I've been asleep at the command-line wheel. I was told today about [a tool](https://learn.microsoft.com/en-us/archive/blogs/tims/the-coolest-command-line-tool-in-windows-vista) that Vista includes free, and I cannot figure out how I lived without it: [robocopy](http://en.wikipedia.org/wiki/Robocopy).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = "C# Corner - fun with `yield` and extension methods"
date = 2010-01-22T10:11:00-05:00
categories = 'Play'
tags = ['.NET']
+++

All .NET developers learn about `IEnumerable` and `IEnumerator `in their first day of development, whether they realize it or not. Every `foreach `statement written utilizes the `.GetEnumerator()` call to iterate over a collection of objects. The "For Each" concept is a really nice piece of syntactic sugar. However, one of its limitations is that it doesn't give you a counter to track which loop iteration you're on. If you want to do that, you have to keep track of it yourself in your own variable. Not a big deal really, just a fact of programming life. This manifests itself in two ways - you can write a `for;;` loop which has the counter built in and then you get the object you want by indexing the collection as shown here:
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2010-03-12-dot-net-dst-calculator.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = '.NET DST Calculator'
date = 2010-03-12T11:58:00-05:00
categories = 'Tutorial'
tags = ['.NET']
+++

I have a common .NET library written in C# that I use everywhere. I call it `mattmc3.Util`, and it contains helper methods (static classes or extension methods) that correspond to Microsoft's BCL. So, for example, I have a `DateTimeHelper` with static methods that corresponds to the `System.DateTime` class. The `DateTime` class is one of the most anemic in the .NET library, mainly because MS has to deal with international customers, so methods like `DateTime GetMemorialDay(int year)` are too regional and clutter the BCL, but are essential in the American business world.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'String or binary data would be truncated'
date = 2011-04-25T16:12:00-04:00
categories = 'Bugs'
tags = ["SQL"]
+++

![String or Binary](/assets/img/StringOrBinary.png)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Colemak - the slowest way I could write a blog post (for now!)'
date = 2016-01-31T12:22:13-05:00
categories = 'Typing'
tags = ['Colemak']
+++

I am in the process of learning Colemak, an alternate keyboard layout. There are lots of great reasons to do something that seems so masochistic, but it would take too long to type them here (literally). I've gone from ~55 WPM, to about ~15-20, but my goal is ~80 COMFORTABLY by the time I'm done. The top of my right hand especially hurts after prolonged QWERTY use.
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2018-02-24-two-years-of-colemak.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Two years of Colemak'
date = 2018-02-24T18:03:00-05:00
categories = 'Typing'
tags = ['Colemak']
+++

![Colemak](https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/KB_US-Colemak.svg/800px-KB_US-Colemak.svg.png)
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2019-01-17-modern-sql-style-guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Modern SQL Style Guide'
date = 2019-01-17T00:00:00-04:00
categories = 'Guide'
tags = ['SQL']
+++

# Modern SQL Style Guide - rev 1.0.1
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2024-07-03-better-git-shell-aliases.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+++
title = 'Better git shell aliases'
date = 2024-07-03T09:00:00-04:00
categories = 'tutorial'
tags = 'git'
+++

# Better git shell aliases: using an external shell script
Expand Down

0 comments on commit 3327ffd

Please sign in to comment.