Melikedev - melikedev.com - Me Like Dev

Latest News:

Linux – SELinux – SEModule – Compile .pp module from .te file 19 Aug 2013 | 10:32 pm

I recently ran into a situation where I needed to grant access to certain /home dirs in order to get puppetmaster started with SELinux enforcing. And I had to do it in such a way that I could keep the...

PHP – Doctrine – Soft Delete – Multiple Rows at a Time 11 Jul 2013 | 05:48 am

One of the big fallacies of working with an ORM is that behind the scenes there may be high number of queries being executed to support the application. For example, say you want to delete several mes...

PHP – Doctrine – DQL – Select Subquery 7 Jun 2013 | 10:37 pm

Whilst working on a recent project I needed the ability to do a subquery look-up as part of a select statement. Basically I needed to count the number of rows, without having to do a group by on the e...

Apple – Mac – Lion – Mountain Lion – User Experience Tweaks 16 May 2013 | 04:30 am

Add new spaces Click the “Mission Control” icon (window with 3 smaller images), from dock. Then, hover mouse in upper right hand corner, after a few seconds a mini-desktop with a “+” (plus) sign will...

iTerm2 – Reattach a Detached Window as a Tab to Another Window 30 Apr 2013 | 04:15 am

I love iTerm2, much more than the default terminal that is shipped with the Mac OS, but I could never figure out how to reattach a detached window as tab to another window. After some futzing around, ...

Javascript – jQuery – Stopping Event Propagation – stopImmediatePropagation 5 Apr 2013 | 10:19 pm

Recently ran into another issue where I had two separate and de-coupled event handlers tied to the same dom element, specifically a form submit. However, the first event handler returned false if cert...

Javascript – jQuery – Property Submit of Object htmlformelement is not a Function 3 Apr 2013 | 10:45 pm

Recently ran into an issue while trying to add some jQuery logic to a form element, where the following error was being generated in the Javascript console every time I submitted the form: Uncaught Ty...

Javascript – JQuery – Google Analytics – Submit Form Using GET Instead of POST 28 Mar 2013 | 04:17 am

Was working on adding Google Analytics cross domain tracking for a form which uses the GET (instead of POST) method. The problem I was running into was the Google Analytics Tracking Cookie (GATC) data...

Symfony – Share Template Across Multiple Apps 27 Feb 2013 | 05:05 am

I am currently working on a new project where I wanted multiple apps (frontend (fe) and backend (be)) to have the same exact appearance, and without having to duplicate the code in both template/layou...

Linux – Using Curl to Test Response Headers 25 Jan 2013 | 02:27 am

After moving melikedev.com to a vps, I was able to improve performance by configuring nginx to serve static assets while apache serves the content. In order to test if the NGinx config was correctly c...

Recently parsed news:

Recent searches: