Tuesday, September 01, 2015

Run iPhone simulator from command line (Xcode 6)

From the command line (terminal):


open "/Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app"


Or in newer versions:

open "/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app"

Wednesday, September 25, 2013

Free and Fast Way to Accurately Convert PDFs to Excel Files

Anyone working with tabular data on a regular basis knows that Microsoft Excel is the preferred program for manipulating this type of material for most people. The Excel spreadsheet is an industry standard when it comes to presenting numbers or statistics and working with them. And while Excel is the most popular program for using this type of material, you might not always receive this data from others in the Excel format.

It’s not uncommon for people to convert tabular data to PDF before sending it to others. PDF is not only easily compressed into a small file size and, therefore, easy to send and transfer, but it is also a universal file format that appears identically on every platform. But with all of these advantages of the PDF, it has one fairly big disadvantage – it’s hard to edit.


So if this does occur to you on a regular basis and you need to convert your PDFs into Excel, thankfully, there are ways to do so effectively and cost free.

PDFtoExcel.org is one tool that enables users to quickly turn their PDFs into Excel files, without losing any of the formatting and structure of the PDF document.

pdf to excel


For a free tool, it’s incredibly accurate with its conversions, and it’s also very easy to use.

To use the tool, click Browse to find the PDF file on your computer that you want to have converted. 


Now simply enter your email and click Send – that’s it!




In a matter of minutes, your converted Excel file will be ready. An email with a link to your downloadable Excel file will be sent to the address that you specified.



The accuracy of the service is what really sets it apart from many other free services. When converting from PDF to Excel, it’s important to get accurate conversions so that the formatting of the cells and rows is preserved. This saves you a lot of time that you could potentially have to waste on editing the converted file further before being able to use it.

The tool is not only incredibly accurate in its conversions, but it’s also very secure and safe to use. Your email address and files will be deleted from the server permanently 24 hours after the conversion has been completed.

For anyone looking for a free and fast way to accurately convert PDFs to Excel files, PDFtoExcel.org is definitely one of the best online tools available for this purpose.

This guest post was written by the nice folks at PDFtoExcel.org. Do check out their tool and let me know if it worked for you in the comments below.

Saturday, June 29, 2013

Can't embed Youtube video iframe in Magento

What you need to do is select the checkbox that reads 'Use old embed code.' This will give you some code that uses the 'object' tag and 'should' work:




This is working on Magento ver. 1.6.1.0.


Sunday, June 09, 2013

new field not being detected cakephp


1. Find the file:

/app/Config/core.php

2. Make sure the following configuration is set:

Configure::write('debug', 2);

The new database field will only be detected if the debug level is set to 2.

Monday, June 03, 2013

PHP Fatal error: Call to undefined function imagecreatetruecolor() in /var/www/lib/Varien/Image/Adapter/Gd2.php

It's likely the gd library is not installed/enabled.

Remedy this (in Ubuntu) by installing php5-gd using apt-get, like so:

apt-get install php5-gd

Then restart apache.

sudo apachectl restart 

Sunday, March 17, 2013

Magic Mouse Slow Mac

If, like me, you're someone who likes to have your mouse on maniac speed settings, but doesn't like the slow speed that MacOS gives you even with the fastest setting.

1. Do it by the command line via terminal (which involves restarting your machine each time you set it).  Using something like this:

defaults write -g com.apple.mouse.scaling 5.0

or

2. Download this nice little tool, which changes the setting instantly:

http://blog.boastr.net/

Thursday, March 14, 2013

Failed to download pear/XML_svg2image within preferred state "stable"



When running this: pear install XML_svg2image

Getting the error:
Failed to download pear/XML_svg2image within preferred state "stable", latest release is version 0.2.0, stability "beta", use "channel://pear.php.net/XML_svg2image-0.2.0" to install
install failed

Solution, run this:
pear install XML_svg2image-0.2.0

Wednesday, March 06, 2013

Tuesday, January 29, 2013

Safari. How to send message from popover to global

In essence you don't need to because you still have access to the safari.extension object in your popover.

So instead of sending a message 'foo' you can simply make a function inside your global page called 'foo()' and call it like so from your popover:

safari.extension.globalPage.contentWindow.foo();


Read this thread:

http://stackoverflow.com/questions/12663743/how-do-i-pass-a-message-from-a-safari-extension-popover-to-the-global-page