Posted by & filed under Web Server.

If you throw some SSL onto your NGINX hosted website (as you’ve likely noticed thomashunter.name is now doing), you may notice a few hard-to-diagnose issues. Many PHP scripts look for the presence of a certain server variable, namely, $_SERVER[‘HTTPS’], to determine if it is behind an SSL connection. To fix this, you need to add the following… Read more »

Posted by & filed under Linux.

Chromium is the entirely free version of Google Chrome. What makes it entirely free? Well, it doesn’t include license restricted code, such as the PDF viewer. If you’re like me, you’re a stickler for installing software using your distributions package manager, and prefer doing so over installing packages outside of the package manager. And honestly, I… Read more »

Posted by & filed under Security.

TradeBit.com is an online marketplace for selling digital goods. Back when I was highly active selling applications and music on the Envato network, I would occasionally list items for sale on TradeBit which Envato deemed wasn’t up to their standards. Overall I made less than $60 throughout the lifetime of my TradeBit account. Since large… Read more »

Posted by & filed under Personal.

Like any employee, I’ve noticed working conditions where I thrive, conditions where I have no motivation, and everything in-between. I’ve worked at Fortune 50’s, Bay-Area Startups, companies with 30-year-old codebases, companies with no codebases. This list represents the ideologies of companies in which I’ve flourished in the past. Doesn’t use a custom framework, especially one… Read more »

Posted by & filed under GIT.

With an installation of GIT on a new machine, the push/pull behavior I was used to has changed. I prefer that a push and pull only affects the current branch, not all of them. To set this behavior, globally, run the following commands: git config –global pull.default current git config –global push.default current Now you… Read more »

Posted by & filed under Linux.

I recently purchased a Lenovo ThinkPad Carbon X1, which has been an absolutely stellar laptop so far, after immediately replacing Windows with Linux (specifically, Mint). One of the unfortunate things about Linux Mint is that it chooses to fallback DNS resolution to OpenDNS, which in the world of DNS is a sort of spyware. If… Read more »

Posted by & filed under Linux.

By running these commands, you will download the necessary fonts required to render Emoji on your Linux machine. mkdir ~/.fonts && cd ~/.fonts wget http://download.damieng.com/fonts/redistributed/DroidFamily.zip unzip DroidFamily.zip && rm DroidFamily.zip wget https://github.com/stv0g/unicode-emoji/raw/master/symbola/Symbola.ttf Interestingly enough, I didn’t even have to restart my apps. Pidgin, for example, immediately displayed the new font. It seems the OS is smart enough… Read more »