Getting The Most From Sublime Text 3

Using a text editor as an IDE sounds antediluvian, right? Well, then you probably haven’t tried Sublime Text. With it’s modern UI, superb performance, and fantastic feature set, it’s a must-have whether you’re a developer or a writer. Here are a few tips on how to get the most out of the best text editor to come along in the last decade.

Continue reading Getting The Most From Sublime Text 3

Registering Amazon's SendToKindle Behind A Proxy

If you are a Kindle user – the tablet or the app – Amazon has a great (free) service that allows you to select files on your computer – PC or Mac – and send them to your Kindle (or registered Kindle app) using the Kindle native format.  This is great for when the file you want to send is too large for email attachment restrictions – corporate or otherwise – and you can’t use their email service.

But if you are just installing the application, and trying to register it behind a corporate proxy, you might run into the same problem I did: the dreaded and ambiguous “Network error occurred”!

Continue reading Registering Amazon's SendToKindle Behind A Proxy

Remote Git Repos Behind A Proxy

A few colleagues and I recently started Mercenary as an open source project. One of the first problems we faced was accessing our GitHub repository when we were behind the corporate proxy.

The easiest way to resolve this is by installing and configuring Cntlm, as I described in my previous post.

Then, just update your Git configuration file (usually located at %UserProfile%\.gitconfig) and add (or updated) the following lines:

proxy = http://localhost:3128

proxy = http://localhost:3128

Restart your Git client and problem solved!

Solving Proxy Problems With Cntlm

Cntml is easy to install and configure, and supports multiple platforms.  This post, on the other hand, is specific to Windows.  For more information on using Cntlm on a different platform, consult their official wiki.

 What Proxy Problems?

Corporate proxy server are a pain.  If you don’t know why, you haven’t been working in a corporate environment very long.

  • The proxy server ignores your Windows host file
  • Most 3rd party Windows applications don’t support NTLM natively
  • For those that do, they usually store your credentials in plain text (bad)
  • And whether they do or not, when your credentials change (i.e., regularly scheduled forced password changes) you now have multiple places to update your credentials

While some of these are specific to being a software developer, most of these will impact you at some point in time.  All of these problems drove me to look for a solution – or in some cases, a better solution than whatever hack I was using.

Enter Cntlm, “…an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy… It stands between your applications and the corporate proxy, adding NTLM authentication on-the-fly.” – from the Cntlm homepage.

Continue reading Solving Proxy Problems With Cntlm