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 [...]
Larry Four – A Lazy Model and Migration Generator For Laravel 4
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 [...]
Why Are Source Codes Hard To Read And Understand
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 [...]
The True Value of Vim’s hjkl Key Bindings
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.
Validating Multiple Similar Forms on the Same Page In Laravel
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.
Understanding Ampersand Before PHP Function Names – Returning By Reference
You may have wondered how a PHP function defined as below behaves:
There IS a Single Best Way to Write Software
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 [...]
Query Multiple WordPress Meta Keys for a Post
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.
Learning EmberJS From Scratch
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 [...]
The Internet is Full of Chimpanzees
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
Recent Comments