An old WordPress hack I found
I was poking through old WordPress backups I have and noticed a strange
wp-content/85060.php
file. Turns out one of my sites was hacked back in 2006
or 2007 and I had never noticed.
How to Mount a USB Drive on Linux
Need to mount a USB drive on Linux?
How to generate a simple calendar
Need to generate a simple calendar for a specific month or year? The cal
command does just that.
Viewing and killing MySQL queries
MySQL running slow and want to see which queries are running? If you can get a
mysql>
prompt, try SHOW PROCESSLIST
or SHOW FULL PROCESSLIST
.
Reverting a Git Pull
If you ran a git pull
and need to revert, you can use git reflog
to find
the last revision you were on before you pulled:
1Password Classic Extensions
1Password makes it hard to find their “classic” browser extensions (i.e. the ones that work without a subscription), so, here they are: https://support.1password.com/cs/1password-classic-extension/
Somehow, I Manage: Disagreement is a Healthy Part of Collaboration
A strong collaborative culture is one of my favorite parts of coming to work every day. One thing that isn’t touched on often is that disagreement can actually be an indicator of a healthy team.
What does it take to be a good programmer?
I stumbled across this quote on Hacker News that talks about what it feels like to be a good programmer:
Using direnv to set a custom git email for work projects
I like to specify a different git author email for personal projects and work
projects. This can be done per-repo with git config user.name
and git
config user.email
, but it can be easy to forget as you clone repos. Here is
how I used direnv to accomplish this automatically.
Somehow, I Manage: The Ten Slack Commandments
As a fully distributed team, Slack is our main tool for real-time communication with each other. Keeping up with dozens of messages a day can be daunting, and distractions abound. Here are just a few ways I’ve seen remote teams of all sizes use Slack effectively to cut through the noise and keep the communication flowing.