Sublime Text – Exclude Files or Directories from Go To Anything Feature

Tired of seeing unnecessary files from Sublime Text’s CTRL+P or Go To Anything search feature? Want to get rid of those generated files like minified CSS/JS or generated from templating engines? Want to get rid of them from search but still need to see them in sidebar? There is a config for that!

Declare as binary files

There are several configurations that can be set so that specific file name patterns can be excluded from search, however, some of them will result to having these files removed from the sidebar. A trick is to declare these files are binary so that search feature would exclude them.

On Preferences -> Settings – Default, look for binary_file_patterns config value. Copy the entire config values and go to Preferences -> Settings – User. Add binary_file_patterns config to it and append the additional patterns that suits your need. See example below.

{
    ...
    "binary_file_patterns": ["<existing file patterns>", "compiledtemplate_*", "generated_files/*", "*.min.js", "*.min.css"],
    ...
}

That’s it.

Posted in Web Development | Tagged | Leave a comment

Vagrant and CentOS 6.5 Guest – Port Forwarding Does Not Work for HTTPD

Been trying to setup port forwarding for this guest’s port 80 into host’s port 8080 in this vagrant setup but I can’t make it work for the past 5 hours. Playing around with Windows firewall does not give any hope. … Continue reading

Posted in Web Development | Tagged , | Leave a comment

Vagrant up failed with some weird errors

During my first week of setting up vagrant, got this weird error when running vagrant up. After some research on the internet, it turns out that the issue is caused by my VirtualBox version. Downgrading seems to be the best … Continue reading

Posted in Web Development | Tagged , | Leave a comment

Increasing sound of an MP3 file using lame

Is your mp3 file audio volume too low? Using lame MP3 encoder using your Linux box, it is just a one command away. See command below. We want an MP3 file to be 4 times louder then it was originally, … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Cutting audio or video using ffmpeg

If you have installed ffmpeg on your linux box with dependencies installed as well, it is easy to cut video clips out of the original video using ffmpeg. This is useful when creating clips from your favorite movie scenes. It … Continue reading

Posted in Linux | Tagged , | Leave a comment

Centos and nginx – phpMyAdmin not working

With my default setup of Centos 6.5 64 bit and nginx 1.4.x, I got a strange error when setting up phpMyAdmin. It turns out that it was just a directory permission issue and that the default setup expects user it … Continue reading

Posted in Linux | Tagged , , , | 1 Comment

Beware of Smart Prepaid Data Offers

Been experimenting with Smart’s data offers for more than a month now especially the Always ON promo. Don’t know what went wrong but most of the time, it eats up all my load as if I was using the default … Continue reading

Posted in Personal Blog | Tagged , | 1 Comment

Rooting Cherry Mobile Cosmos X

My wife got a Cherry Mobile Cosmos X phone last month. It is a mid-range phone with good specs and is powered by Android Jelly Bean 4.2.x. I’m hesitant to root it but since I have successfully rooted my other … Continue reading

Posted in Uncategorized | 2 Comments

Rooting Huawei Ascend G525

Got some entry level (or is it mid-range?) Android phone last December and I immediately rooted it. It is a Huawei Ascend G525 phone (a really good phone for the price). Rooting this Ascend G525 phone is really easy and … Continue reading

Posted in Android | Tagged , , , | 2 Comments

Ipad cannot close apps and does not turn off

When I arrived home from work, I noticed that the iPad is stuck at the app task manager screen frozen although it is still playing sounds from a farming app/game. Took mo so long to fix it and here is … Continue reading

Posted in Personal Blog | Tagged , , , , , | Leave a comment