MaisonBisson

a bunch of stuff I would have emailed you about

Rewrite git repo URLs

A question in a mail list I’m on introduced me to a git feature that was very new to me: it’s possible to have git rewrite the repository URLs to always use HTTPS or git+ssh, etc.

This one-liner seems to force https:

git config --global url.https://github.com/.insteadOf git://github.com/

Or you can add these to your .gitconfig:

# Use https instead of git and git+ssh
[url "https://github.com/"]
  insteadOf = git://github.com/
[url "https://github.com/"]
  insteadOf = git@github.com:
# Use git and git+ssh instead of https
[url "git://github.com/"]
  insteadOf = https://github.com/
[url "git@github.com:"]
  pushInsteadOf = "git://github.com/"
[url "git@github.com:"]
  pushInsteadOf = "https://github.com/"
Casey Bisson

Docker stories from New Relic

From New Relic’s August 2014 blog post: [W]e didn’t try to create a full PaaS framework all at once. Though this may be our eventual goal, it wouldn’t have solved the immediate deployment problem.   We did not begin Dockerizing our applications by starting with those that have the highest data volume. Rather, we started […] » about 200 words

How Jackie Chan wins

Tony Zhou’ video is genius, as are the nine principles of action comedy he’s identified:

  1. Start with a DISADVANTAGE
  2. Use the ENVIRONMENT
  3. Be CLEAR in your shots
  4. Action & Reaction in the SAME frame
  5. Do as many TAKES as necessary
  6. Let the audience feel the RHYTHM
  7. In editing, TWO good hits = ONE great hit
  8. PAIN is humanizing
  9. Earn your FINISH

Read the full video description for more, and consider donating to support his work.

Unit test WordPress plugins like a ninja (in progress)

Unit testing a plugin can be easy, but if the plugin needs dashboard configuration or has dependencies on other plugins, it can quickly go off the tracks. And if you haven’t setup Travis integration, you’re missing out. Activate Travis CI To start with, go sign in to Travis now and activate your repos for testing. If you’re […] » about 300 words

Deliverables, iteration, and constraints

When asked to give a timeline for project delivery, my first questions, of course, are about the details of the project. Then, I take a guess about the timeline and double it, and fight like hell to eliminate blockers and distractions for the team, work with them on implementation theories, ask leading questions that help balance […] » about 400 words

Casey Bisson

Ruins of Roebling’s Works

From Flux Machine: a tumbler of Kevin Weir’s creepy gifs. The original is from the Library of Congress. If the name “Roebling” sounds familiar, it’s because this is the company, founded by John A. Roebling, that built the Brooklyn Bridge and setup a good business making cables, or wire rope. The Roebling brothers suspected the […] » about 100 words

Google’s link policies raise hell for simple bloggers

I get a bunch of emails like this: We have recently received a notification from Google stating that our website has unnatural links pointing towards it. This has affected our rankings on Google and as a result, we’re trying to clear things up. Our website URL is www.builddirect.com. We noticed the following links are pointing […] » about 300 words

Porn consumption by geography and type

This is shamefully old news, but Pornhub released stats that correlate viewing preferences by geography and pulled out a quote too juicy to ignore: Dixie loves dicks so much that the percentage of gay viewers for every single state in the South is higher than the average of the legal gay marriage states. I’m concerned […] » about 300 words

Fuji Instax 210 Tips and Tricks

On focusing and using the closeup attachment lens: If you want to take portraits, use [the included closeup adapter]. With the camera focus set to infinity, the point of sharp focus becomes 1 meter. With the same [closeup] attachment the .9-3m focus setting gives pin sharp results at 45cm. (Selfie range) The depth of field […] » about 300 words