GREG MAJOR

Lies and misinformation about computers and life

24 March 2015

Driving Big Trucks in Houston

In May of 2014 I bought a brand new Ford F-250 FX4 Crew Cab. For those of you that aren’t quite sure, it’s a truck. No, it’s a big truck. It’s a four wheel drive, 6.7 liter turbo diesel beast with 800 ft/lbs of torque that can pull a damn house down. It’s a no-joke vehicle that can handle jobs way beyond what I’ll ever ask of it.

Read more
24 March 2015

Create a Cheatsheet

When you start a new gig there’s a lot to learn. Every environment is different and the tools reflect that. The smartest thing that you can do, regardless of your position, is to create a cheatsheet. Write it like you’re giving the next guy a heads up and you can’t lose.

Read more
20 March 2015

Getting GitHub Pages Code Highlighting To Work

If you’re a programmer (or at least comfortable with markdown and Git) and you’ve not checked out GitHub Pages you should. It’s a free blogging platform that leverages Jeykll to serve static sites written in HTML and Markdown that you push to GitHub. In other words, it’s a great option for programmers because it uses ubiquitous technologies and a comfortable workflow.

Read more
18 March 2015

Deleting All Docs in a Raven Collection

Recently I was faced with a problem I’ve never encountered before. I needed to delete all of the documents in a RavenDB collection during a data migration (using FluentMigrations for what it’s worth) and re-populate the collection using data from a SQL Server table. Simple, right? Well, yes and no.

Read more