Bypass RBL Check in Exim

by Scott Hebert

Exim logo -left Although I do not use Exim myself, I have clients that do. Recently, we noticed that it was taking more than 20 seconds for their SMTP banner to display when initiating checks from the monitoring server. Connecting to the server locally (on any interface IP address) did not suffer the ...

Enable gzip in Nginx

by Scott Hebert

nginx logo -leftIf you have ever used any tool to optimize a web page, you know that compressing the return traffic to the client is a big win. In nginx, this is done with the gzip module. The easiest thing to do is add gzip on; to the http stanza in your ...

Geeky Goals for 2016

by Scott Hebert

Go Team Gorilla -rightThe new year is finally upon us. Traditionally, I have not been one to make New Year's Resolutions. This year, I decided that rather than a list of resolutions, I would create a list of goals. These are things I would like to achieve over the next year. In ...

Magento Home Page Returns 404 Status Code

by Scott Hebert

Magento logo -leftNaturally, I ran into this problem in the middle of the night when the client was asleep and I had no access to the Magento administrative interface. The short story is that after running a re-index of the site, the home page began returning a 404 error status. A bit ...

UnicodeDecodeError: 'ascii' codec can't decode byte

by Scott Hebert

Jinja2 logo -rightAlthough I was getting this output in relation to one of my Jinja2 templates, it really isn't a Jinja2 problem.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 69: ordinal not in range(128)

The bit of code here should be doing nothing more than printing a ...

MacPorts: upgrade gnutls failed

by Scott Hebert

MacPorts logo -rightI ran into this issue while trying to install wine-devel on my Mid 2012 MacBook Pro running El Capitan and MacPorts 2.3.4. As the install progressed, here is the error I got:

This appears to be a known bug with the MacPorts glib2 port. Commenters on that link ...

Python: Empty String?

by Scott Hebert

Python logo -rightI've mentioned before that empty strings in Python are false. This leads to a common if not string paradigm. Unfortunately, this can be problematic. Check out this snippet:

That pretty much worked out just as we imagined. The empty string returned False and our code did what it was ...

{git, hg} Custom Log Output

by Scott Hebert

Mercurial logo -rightThe standard log output for both Git and Mercurial is a bit verbose for my liking. I keep my terminal at ~50 lines, which results in only getting about 8 to 10 log entries depending on how verbose the commit was. This isn't a big deal if you are ...

« Page 2 / 4 »