Categories

Tags

Page 12 of All Articles

Switching from Mac OS X back to Linux, Part 2: The Distro

In case you need to catch up, here’s the story thus far: Part 1: The Motive Caught up? Solid. Okay so at this point I have been running Linux again full-time for two weeks. There have been moments of needing to reboot into OS X. Couple times because I have […]

Switching from Mac OS X back to Linux, Part 1: The Motive

This post is half a decade in the making. On June 15th, 2012 I took the plunge and switched from Linux to Mac OS X. 1,585 days later, I am writing to let you know that I have seen the error in my ways and I am back home, running […]

Reading a specific line from a file with PHP

As I’ve been building a system that is driven primarily by CSV files (because it’s easier to use Google Sheets than it is to build out an admin section) I’ve had to get creative. Recently I found myself working with a CSV file that’s around of 3000 lines of data […]

Invalid or corrupted package (PGP signature) during pacman sync / install

I’ve been using Linux off and on for the last 20 years. I’m currently moving back to Arch Linux after a short stint on OS X (now MacOS). I am quite the Arch noob but I’ve been completely taken by it’s simplicity and wasn’t turned off by high barrier of […]

How to pickle peppers

A few months back I wrote a post about making sauerkraut. It was a bit wordy considering how simple the process really is. Along with kraut, I have been pickling [hot] peppers. At any given time, I have at least a couple of jars of peppers hanging out on the […]

Convert Mongo BSONDocument to an array in PHP

Ran into a scenario this weekend where I needed to take a sub-document from Mongo but I needed it in an array in PHP. Reading the data from Mongo with PHP was simple and won’t be discussed. What I’d like to talk about is taking the BSONDocument that Mongo returns […]

Programming the same thing in multiple programming languages

Recently I set out on an interesting journey. I wanted to build programming libraries for my API, HolidayAPI. Some of the languages I know like the back of my hand. Others, have never even touched them before. Before you start sending me hate comment, I am fully aware of Swagger. […]

Losing friends to the great beyond

Found out I had lost another friend from the wayback machine not too long ago. We were great friends back in school and kept up online fairly regularly ever since then. I knew he was damaged goods, but I had no idea that he was considering checking out. I’m very […]

Sourcing external files from your .gitconfig

If you’re like me, there’s a great chance that you have not only some public dotfiles but you also have some private stuff you don’t want the world to have open access to. I refer to these private dotfiles simple as dotprivate. I include my dotprivate files as a submodule […]

Set Vim tab spacing based on the type of file

Now that my buddy Justin is back to using vim, he’s been flooding me with questions. Loljk, but he did ask about setting the tab spacing based on the type of file he was working with. Incidentally, this was something I had just improved in my dotfiles. Back before I […]

You should totally blog about that

Hate to say it, but I am a broken record. If it’s not “OH, I actually wrote a blog post about that” then it’s “that would make a great blog post, you should write about it”. When I mention my own posts, I follow up with a link and maybe […]

Closed sourcing an open source project

Most of the time, folks are talking about making projects open source not closed. Companies use it as way to get some press and to position themselves as being altruistic by giving back to the community. I used to be that guy. Recently, I came to realize that one of […]

The soundtrack to your feelings

I’ve heard it many times before, “this album is the soundtrack to my life”. That’s not me, or at least the album that I feel that way about has yet to be produced (or I’ve yet to composure it myself? ;). That said, there are a few songs that just […]

Making a house a home

Last Tuesday I flew back to Austin, Texas from Chicago, Illinois. During the trip I came to realize that Austin simply isn’t home, not yet. It became unbearably apparent during the flight home. Quality of life is up, but we’ve yet to settle into our new house. We lack a […]

Get the day of the week from a date in PHP

Typical of PHP, it’s very easy to get the day of the week from a date, but they also provide the data in multiple format. Three in fact. The first, and arguably the most straight forward is to get the textual name of the day of the week. <?php echo […]

Calculate time left in day in PHP

Before PHP 5.3, finding the difference between two dates was a bit of a pain. Convert the date strings to UNIX timestamps (if they weren’t already), subtract them, and then divide the result until you had each of the components (seconds, minutes, et cetera). As of PHP 5.3+ you can […]

$10 Showdown: Linode vs. DigitalOcean (July 2016)

Been a minute since my last $10 Showdown. Since then, Linode has turned thirteen and doubled the RAM offered on all of their servers for new and existing customers. This means that Linode is offering twice the RAM as DigitalOcean at the ten dollar price point! Here’s the plan overview: […]

How to pull from git

Had a peculiar request on one of my posts asking for a tutorial on how to pull from git. To be honest, I’m not entirely sure if the comment was just trolling or what, but figured may as well do a post on it. Cloning a repository If you want […]

How to make sauerkraut

Sauerkraut is one of my favorite things to make. Incidentally, it’s one of the easiest things to prepare. It’s always an exercise in extreme patience. As they say, “it’s ready when it’s ready”. Before we talk about it being ready, let’s talk about how to start your journey. To begin […]

How to read more

I never completed a single assigned book while in school. Up until a few years ago, I averaged reading only two books per year. This year, I’m on track to read at least thirty-five. Double what I read the year prior. And I am fully intent on reading fifty plus […]

Leveraging the power of the right-command key in OS X

Not too long ago I was singing the praises of creating hotkeys to switch between apps, a method I consider to be far superior to using CMD+TAB and having to cycle through open apps. I mentioned taking things a step further by utilizing the right-command (and/or right-option) key to reduce […]

Jazz Sucks

I hate it, I just fucking hate it. But like most things, I’m always willing to give it another shot from time to time. June 2016 for me, will be Jazzy June. I plan to wholly emerse myself in jazz music. I’m going to listen to it, I’m even going […]

Grilling: Gas vs. Charcoal

I never thought that in the great state of Texas my preference to grilling with charcoal would be met with ridicule. But I guess it’s to be expected as the person handing out the shade was probably working for comission and was trying to push some more expensive grill. This […]

Why my site doesn’t have any navigation

Because I fucking said so, that’s why. loljk. It’s funny because this hasn’t really come up in the four or five months or so since I updated (reads: half-assed) a new layout for my site. I pined heavily over a new header. I paid somebody on Fiverr to make me […]

Honeymoon in Austin

Home is where the heart is and as of last Wednesday that is Austin, Texas. This isn’t our first time in the area, but after settling into our new digs, I can definitely say that we’re in love with the area. That being said, I’m fully aware that right now […]