Code As A Craft

Notes on technology and the web

Getting Started With Regular Expressions

Regular expressions, commonly referred to as “regex” or “regexp”, are a special kind of text string used for describing a search pattern for string data. Put simply, regular expressions find patterns in strings. Neat huh? This post will cover how to use regular expressions, considerations when using special characters, and character classes.

Collections in C#

When you want to keep track of a group of objects in C#, you can do so by either creating arrays of objects or collections of objects. Collections offer a more flexible way of storing and referencing groups of objects compared to the fixed size and data type of arrays. The following is a brief overview of a few of the collections available in C# and their properties.

Dirty Checking vs. VDOM

What is the difference between updating the DOM using dirty checking and VDOM manipulation? Is one more efficient than the other? What the heck is the DOM? Let’s try to answer these questions!

Mac Backup Strategy

If you’re like me, then you probably store a lot of precious data on your digital devices: family photos, videos, music, fun projects, work projects, notes, and the like. When(it’s definitely when, not if) we experience a device failure/loss, the last thing we want to worry about is whether the data we’ve accumuated over the years, our digital life, is safe or not. Here is the backup strategy I use to make sure that when a computer fails it’s a minor inconvenience instead of a major headache(or heartache).

Managing Multiple Ruby Versions

The other day I decided to dust off this Octopress blog that I had started back in the Spring of this year to find that my rake tasks weren’t running properly. After a brief search of the web it seemed that outdated versions of Ruby were to blame. However, I still needed to maintain these older versions of Ruby for other projects I’m working on. With that in mind, I set about learning how to manage multiple versions of Ruby on my Mac and stumbled across rbenv.

Intro to Javascript Objects

To understand how functions and other objects work in Javascript it’s important to first understand objects. What makes an object, how are they used, and what can we do with them? Let’s tackle a few of these questions!

Learning Bootstrap vs Vanilla CSS

I don’t know why I had an aversion to learning a framework. Perhaps I was a CSS purist? During my internet travels I had come to believe that frameworks were for people who didn’t understand the underlying “vanilla” language that powered them. I was wrong.

Fibonacci Sequence in Ruby

So I’m teaching myself Ruby and today I decided to learn how to write a Fibonacci sequence after hearing about them on Twitter. When I first looked at this particular problem, I had an idea of what was supposed to happen but was unsure of how to write the expression in Ruby - that is until I stopped to draw it out on paper.

First Open Source Pull Request!

I made my first open source contribution today, and it felt triumphant! The challenges! The errors! The long nights searching the internet by candlelight!(Okay maybe not that last part.)

Hello World!

Howdy! My name’s Jordan and I’m a military veteran teaching myself how to code. This blog is a personal notebook of sorts to help me keep track of the things I’m learning, the tools I’m using, and the problems I’m solving along the way.