Xcode ‘Could not find Developer Disk Image’ issue

On October 22, 2016, in iOS, Mac, by Anuj Gakhar

If you are running Xcode 7.3.1 (the previous version of Xcode) and you try to install an app to your iPhone running iOS 10 (latest version of iOS), you will most probably run into this issue. It’s not a very helpful message at all. Doesn’t really say what’s actually wrong here. It appears that the problem […]

Tagged with:  

GoDaddy Site Seal takes forever to load

On March 8, 2016, in Browsers, Miscellaneous, by Anuj Gakhar

On one of my sites, I use the GoDaddy Site seal and sometimes, it takes forever to load, causing serious damage to the page load times. It does not matter whether you put the code in the header section of the page or in the footer of the page, it won’t make a difference. It […]

Tagged with:  

MySQL Error caused by sql_mode=only_full_group_by

On December 23, 2015, in SQL, by Anuj Gakhar

If you’ve recently upgraded your MySQL server version to MySQL 5.7.5+ and you notice that some of your queries that contain GROUP BY clause, suddenly stop working, then it could be because of a change that was made in MySQL 5.7.5+. According to this page The default SQL mode in MySQL 5.7 includes these modes: […]


Installing NetExtender on OS X El Capitan

On October 31, 2015, in Mac, Miscellaneous, by Anuj Gakhar

If you are trying to install Dell SonicWALL NetExtender (it’s a VPN client) on OSX El Capitan, you might run into a situation where it won’t connect to the VPN server and you might see this in the logs. [xml] 10/31/2015 13:09:33.292 [general notice] SSL Connection is ready 10/31/2015 13:09:34.301 [general info] Using new PPP […]


Warning: mysql_connect(): No such file or directory

On January 27, 2015, in PHP, by Anuj Gakhar

I’ve been trying to setup a local PHP/Mysql app today and came across this issue with the database connection. Warning: mysql_connect(): No such file or directory The connection parameters I’ve been using were as follows :- [php]define("DB_HOST", "localhost"); define("DB_USER", "root"); define("DB_PASS", ""); define("DB_NAME", "my_db");[/php] Turns out, the fix was quite simple. Change the above code […]


Book review : JMeter Cookbook

On January 18, 2015, in Books, by Anuj Gakhar

I’ve got a review copy of the JMeter Cookbook by Packt publishing. This book is a practical, hands-on guide that focuses on how to leverage Apache JMeter to meet your testing needs. With over 50 practical and carefully selected recipes, it will guide you through building robust and maintainable test scripts, Cloud testing, developing custom […]


Partial Borders with CSS

On July 28, 2014, in Web Development, by Anuj Gakhar

There is no such thing as border-length in CSS, which would have made this really easy to do. But anyway, if you want to have partial borders (a border that spans only half the length of the div e.g.), you can use the before/after pseudo selectors for this. You shouldn’t have to change any markup […]

Tagged with:  

Dojo DateTextBox and disabled dates

On July 23, 2014, in Javascript, by Anuj Gakhar

Dojo’s DateTextBox widget is a widget that allows typing in or chosing a date from a calendar widget. By default, it uses the Dojo Calendar as it’s popUpClass although you can give it any popUpClass you need to. Normally, the Calendar class has a “isDisabledDate” function which can be overriden to provide your own implementation […]

Tagged with:  

Packt Publishing celebrates 10 years with a special $10 offer

On July 3, 2014, in Books, Miscellaneous, by Anuj Gakhar

It has been 10 years since Packt Publishing embarked on its mission to deliver effective learning and information services to IT professionals. In that time, it has published over 2000 titles and helped projects become household names, awarding over $400,000 through its Open Source Project Royalty Scheme. To celebrate this huge milestone, Packt is offering […]


Selenium webdriver “Element cannot be scrolled into view”

On June 19, 2014, in Javascript, Testing, by Anuj Gakhar

If you are trying to write a functional test with the Selenium webdriver, you might occasionally run into this error :- [js]Error: Failed to execute clickElement({"ELEMENT":"2"}): Error response status: 3 4. Element cannot be scrolled into view:javascript:void(0) Command duration or timeout: 33 milliseconds[/js] This is happening because the webdriver is trying to scroll the element […]

Tagged with:  
© 2011 Anuj Gakhar