If you just made a commit and realized it was on the wrong branch, use: git reset HEAD~1 git checkout correct-branch This will remove the unpushed commit so that you can make the change on the correct branch. Note: You will have to write your commit message again. The best […]

Sometimes when I’m opening a really large file, Sublime Text 3 will just crash with no warning. It loads roughly 15% of the file and then just closes unexpectedly. From what I’ve read on the Sublime Text forum, it’s likely due to the processing it takes to perform syntax highlighting […]

I wanted to share this article about websites/applications’ password reset process by Troy Hunt. It has a ton of information and examples of how to securely store passwords (with encryption and 1-way hashing), what username enumeration is, what a persistent password is, the purpose of CAPTCHAs, secret questions, etc. On […]

If you are getting started with WordPress or just starting to get involved, here are a few resources for WordPress news: WordPress.org Blog WordPress.tv (Recorded Sessions from WordCamps) WP Tavern WordPress Weekly Podcast (From the Makers of WP Tavern, Hosted by Jeff Chandler) WP Roundtable Podcast (Hosted by Kyle Maurer) The […]

When working on my company’s intranet site, we realized that we wanted to be able to quickly sort through all the posts by a particular author and didn’t necessarily want to switch between the front-end and wp-admin. It took me a while to be able to find the hook for […]

I use Gmail for my personal email, but there are some basic features that it’s missing out of the box. Gmail Labs are basically like browser extensions but for your Inbox. There are a lot of different features that can improve your productivity. These are my three favorites: Canned Responses […]