There were a few people curious in the ST forums on how Sublime Text’s fuzzy matching works. In reality, I don’t know either. There were some interesting solutions given, but I haven’t researched their methods and workability. I needed to implement this for a small project I’m working on. I went with a solution that [...]
I’ve finally released a model and migration generator for Laravel 4, called Larry Four. Now, the idea is similar to Larry that I had created for Laravel 3. However, this is a complete rewrite with more features, a better syntax, and the code-base is unit tested using PHPUnit. Check out the GitHub page for more [...]
It takes time to read and understand code written by another person. If you wrote something a while back, even you might find it slightly difficult to comprehend. There is one exception to this. If you are in the process of writing an application (even big ones), you won’t have problems understanding parts of it [...]
When I first started learning Vim, the hjkl key bindings for moving around sounded awkward. For that reason, even while learning Vim, I’d often use arrow keys to move around. It was easier, or at least it appeared so.
I was creating some sort of URL management in Laravel. So, a single page contains forms for editing all of the URLs. For each URL, a form for editing it is rendered using a foreach loop.
You may have wondered how a PHP function defined as below behaves:
I just read this blog post, There is No Right Way to Develop Software. I actually appreciate the sentiments of the author, because it is right about the hyperbole surrounding various practices. But does that mean there is no right way to write software? Hardly so. I don’t think we should jump to that conclusion [...]
If you’re manually writing a query in WordPress, and you want to query multiple meta keys for a particular post or posts, here’s how to do it.
A while back, I saw some complaints about how EmberJS was unfriendly to beginners and people had a though time getting the basic examples to work. Well, I’ve never tried learning Ember before, but Tuts+ has released an EmberJS course. I haven’t watched it yet, but it seems like a perfect opportunity. Now, Tuts+ isn’t [...]
A person at the Security sub-network of StackExchange asked the reason for sites restricting the maximum length for passwords. Why couldn’t I have a password of, say, 1000 characters to feel more secure? Why don’t some sites allow more than 8 characters? Tom Leek answered this rather hilariously here: http://security.stackexchange.com/a/33471