Daniel Bradbury

Software engineer based in Sacramento, CA

July 03, 2024

Ruby Install Issues on Mac

I love rvm but won't pretend that I don't have to fight with it to stay on the latest version of Ruby when using my mac.

Here's an example that popped up when trying to work with the new WriteBooks codebase that was release...

Read more
June 22, 2024

Deploying with Kamal

After seeing the costs from 2 months of ECS running on my personal AWS account it was time to tryout something that doesn’t cost more than $15 a month to get a minimalist website up and running (this personal site)

I had listened to a podcast from DHH whe...

Read more
April 18, 2024

Deploying Rails Application to ECS with GitHub Actions

I recently had the pleasure of figuring out a deploy scenario without any of my favorite deploy tools kamal, Capistrano were not options as we are not allowed to SSH to any box that we want to deploy. In the scenario I'm describing you are being forced...

Read more
March 23, 2018

Git Auth when Windows Credentials are Locked

Most Windows users won’t run into this problem because they don’t have a system administrator controlling their machine but for anyone who is experiencing weirdness while using wincred here’s a brief explanation of the problem + an easy fix to get things...

Read more
January 08, 2018

Twitter Gaming

There are plenty of twitter management tools out that will help automate / manage your twitter account for a few bucks a month.

While most products don't add too much value I've found some particular features on Tweepi.com that have been pretty helpful. I...

Read more
December 20, 2017

Bioshock

The initial introduction to the underwater dystopian society of Rapture in the original Bioshock was something that I recommend every real gamer ex...

Read more
November 26, 2017

Reverse Engineering 'Product Catalog'

Recently I've been looking at an application that has some data that I'd like to scrape and use/format for my own selfish desires. The application we are targeting is on iOS + Android so I went through the usual flow on my iPhone

  • mitmproxy - no good. tra...
Read more
November 21, 2017

Ixalan Draft #1

Black/Blue/White Deck

Didnt realize I messed up mana until I got home.. would have preferred a 664

  • 7 Swamp
  • 6 Island
  • 3 Plains
  • Ixalans Binding
  • Slash of Talons
  • Cancel
  • ...
Read more
November 17, 2017

Connecting to Wifi on Amtrak

I wrote this post a few months ago when I was stuck on a train and figured I'd publish it before it gets lost forever.

Today I bring you the pain in the ass process I went through to get a really shitty connection on my Amtrak ride

Connecting to the wi...

Read more
November 16, 2017

Turbolinks

Just trying to do things like

<a href=”#” onclick=”alert(1)”>ZZZ</a>

Expected behavior here?.. Scroll to top of the page right? Not if turbolinks is doing its thang.

From my previous write-ups on Turbolinks ([1](http://danbradbury.net/blog/2016/05/0...

Read more
September 11, 2017

Intercepting iOS Network Traffic on Mac

For the most part you are probably fine just using a solution like mitmproxy (shown here) and sniffing HTTP/S traffic but sometimes there's a need to go deeper..

When testing an application you may notice so...

Read more
February 14, 2017

Trying to make sense of PG&E's Marketing Campaigns

We are getting close to baseball season and since I try to catch the majority of games that means I get to watch a ton more local advertising!

yay ads!

Last season I was lucky enough to return to Norcal and got to watch the Giants on CSN-Bay Area for t...

Read more
January 22, 2017

Mediocrity in Movies (part 1)

I've been trying to make sense of the wave of mediocore movies, games, and music that has been dumped on us lately. This will be part 1 of a series of rants dedicated to mediocrity.

The Question

Why the hell are studios making these trash movies ...

Read more
December 12, 2016

Exploiting P2P Game Hosting in Dead by Daylight

Any gamer will tell you dedicated servers are prefered to someone being selected as the host and having an unfair advantage with much better latency. P2P online gaming is just awful for anyone who wants a true competetive environment; clients must maintain...

Read more
December 04, 2016

Unnecessary Noise in the Programming community

Growing up on the internet I've always been aware of trolling and general BM that are associated with competetive gaming and message boards. Unfortunately I've been noticing similar behavior in more and more projects & programming community sites. It seems...

Read more
June 26, 2016

Turbolinks and anchors

So far my journey with turbolinks hasn't been too bad; I write my slop and things work as I'd expect them to. I knew this streak of good luck was bound to come to an end at some point and today is the day.

I had the misfortune of attempting to implement...

Read more
May 29, 2016

Different browsers are the worst

While working on a personal project I ran into an issue with a bootstrap navbar collapse. In my local testing everything went fine and I decided to push and hoped everything would behave properly.. I grab my iPhone 5 and take a look only to see that the dr...

Read more
May 29, 2016

Vim Tricks - Googling with keywordprg

Most vim users are familiar with the man page lookup; K under the cursor or on visual selection. For anyone who needs a quick refrersher lets take a look at the help docs (help :K)

K     Run a program to lookup the keyword under the
      curs...
Read more
May 04, 2016

Into the Abyss with Turbolinks

Previous attempts to adopt turbolinks during upgrades or new projects led me to the conclusion that I have a burning hatred for everything the project stands for (rage hatred is the worst kind..). From conversations with other Rails folks + former CTOs i...

Read more
May 02, 2016

Development Turntable

And the turntable keeps on turnin' and turnin' Nothing can fuck with the way it goes around

  • Slug

Human nature tells us that there is a natural desire to make sense of the uncertain and create some semblance of control in our lives. This fundamenta...

Read more
April 13, 2016

Scaling Images with HTML5 Canvas

Had intented to post this 8 months ago but it got lost in the sea of gists..

This is old news by now for most but I had quite a bit of fun implementing it for myself and figured I'd share my code and some learnings that came along with it. The basic ide...

Read more
April 09, 2016

Playing the Twitter-game

I am not a marketer not do I have any real prior experience managing PR/social media for a company of any size. This is just a write-up of some of my learnings while out in the wild

By all accounts I am a Twitter novice; I joined a few years ago but don...

Read more
February 12, 2016

Replacing SimpleCov

After fighting with simplecov for a little longer that I would like to admit; was attempting to get it to start analyzing a group of files that were the meat and potatoes of my application(Golaith application). U...

Read more
December 30, 2015

"Requirements for a Text Editor"

These are my minimum requirements for a competent text editor. The list is meant to serve as a quick litmus test for true understanding of tooling in the craft of writing software.

  1. Navigate with ease; jumping to line number, move to top/bottom of fi...
Read more
December 12, 2015

replacing heroku

For anyone still on Heroku and throwing addons at your application please stop and seriously reconsider what you are doing. Across the board things are getting a bit ridiculous for the average hobbyist / fincially conscious company. I used to be quite the ...

Read more
July 15, 2015

matchadd vs match

The target of this post is to clear up any confusion about the subtle differences between matchadd and match/2match/3match. This is not meant for the novice vim user but folks that have some experience with vimL. I'll try to keep it as simple as po...

Read more
November 01, 2014

stop being lazy and learn haml

The desire to write familiar view code, similar to the same html you were writing to support your shitty LAMP apps is completely understandable but it's time to move on from the glory days..

There seems to be this idea that using erb is "good enough" ...

Read more
October 22, 2014

thoughts on heroku

After deploying over 10 applications with Heroku I think that I can finally make a fair assessment on the general developer / Heroku relationship.

After watching an excellent talk by Matz at Waza (link at the bottom) I was taken aback by how much he seeme...

Read more