08th Aug2014

Best way to manipulate images using PHP?

by Gyro

I have deployed lots of different solutions to manipulate images with PHP, but today I stumbled upon probably the best PHP library out there.

It is called WideImage (requires PHP 5.2+ with GD2 extension), and it makes resizing, cropping, rotating, adding watermarks. and much more super easy.

Check out WideImage, I'm sure you'll love it!

Enjoy! :crazy:

746

06th Aug2014

Comming Soon: HHVM Support in WHM/cPanel?

by Gyro

Great news everyone, it looks like cPanel is gearing up to integrate HHVM (HipHip Virtual Machine)!

I just received a notification from the official features request section of cPanel, in particular the request for PHP HHVM support for better performance.

To quote: "Has anyone had any success implementing PHP HHVM on their own? It's very helpful for us to hear about real world experiences with features we are considering to add in cPanel & WHM." -- cPScottT (cPanel staff).

Don't know HHVM yet?

HHVM is what powers Facebook, it has been developed by Facebook, and they made it available for everyone free of charge. HHVM processes PHP code lighting fast and is currently compatible with about 98% of all php applications.

Today, cPanel employees have finally picked up on this and started asking some questions about HHVM in the respective feature request. What happened next is what got me really excited: Their entire features request section went temporarilly offline! I can only guess that the news has spread rapidly through the twitterverse and other social media channels, resulting in such an increase of page requests that it overwhelmed their server! Maybe they should run their feature request section on HHVM…

Anyways, I am pretty sure that with this kind of response to an "innocent" question by cPanel staff, integrating HHMV into WHM/cPanel has just jumped to the top of their To-Do-List.

Not sure about you, but I am thrilled about this news! :crazy:

2056

05th Aug2014

Free Styles for Google Maps

by Gyro

Today, I was working on a website that needed a Google map and ran into a real problem: None of the "looks" really fit in the design of the website.

After some searching on how to customize the look of a Google Map, I came across a website that just won my imaginary website of the year award.

It is called Snazzy Maps, a FREE repository of different color schemes for Google Maps aimed towards web designers and developers. All styles are licensed under creative commons and are completely free to use.

Check it out: Free Styles for Google Maps

623

02nd Aug2014

FIX: Skype 4.3 for Linux crashes after start

by Gyro

Yesterday,

Microshit forced all Linux Skype users to update to version 4.3 and made is "impossible" to keep your chat history.

Reason being, they changed something in the main.db so it is now incompatible with Skype Version 4.3 on Linux (Ubuntu).

However, there is a simple fix when Skype 4.3 for Linux crashes after start, as the issue has to do with files that were sent and received.

$ sqlite3 ~/.Skype/[YOURUSER}/main.db
sqlite> DELETE FROM Messages WHERE type=68;
sqlite> .quit

Once you are logged into skype, it will re-add your recently sent and received files, so most of them will be back in the history.

Enjoy! :crazy:

Source: http://community.skype.com/t5/Linux/Skype-4-3-crash-on-ubuntu-14-04/td-p/3219892/page/2

3333