Thursday, December 4, 2014

Get Penguinning and Win an Annual Learnable Membership!

If you love cute animals and memes (and who doesn’t), then this is the competition for you.


penguin_sitepoint

We’ve been amazed by the response to our first Christmas Sale offer this year — a two-year Learnable membership with a big donation to the Penguin Foundation http://ift.tt/1zO5vBN — and we decided we want to throw down for the penguins!


So we are launching a competition via Twitter, Instagram, Facebook and our forums for the 5 best penguin-themed memes. The winners will each receive an annual Learnable membership.


How to enter:


Twitter


Tweet your meme to @sitepointdotcom with #penguinning


Facebook


Post your meme on our wall with #penguinning


Instagram


Post your meme on Instagram with #penguinning and tagging @learnablehq


SitePoint Forums


Comment on this article to submit your meme to our forums


Don’t want to create your own?

Spread the word and like your favorites!

Here’s our lead off tweet http://ift.tt/1vUgdaV


Competition Ends December 17 11:59 pm PST

Winners will be notified within a few days.


Meme Competition Rules




  • Memes must be submitted as directed above.




  • No profanity (in the caption or the picture)




  • Memes must be original.



  • Each meme post should have the watermark/hashtag “#penguinning” and tag SitePoint

  • The penguinning memes will be judged by a panel of specialist SitePoint penguin judges


Continue reading %Get Penguinning and Win an Annual Learnable Membership!%




by Tom Trumble via SitePoint

3D Rotating Navigation with CSS3

A 3D rotating navigation, powered by CSS transformations. Animated elements are key ingredients of the user experience. In this case a 3D menu can’t just be fun. It has to be efficient.


The post 3D Rotating Navigation with CSS3 appeared first on jQuery Rain.




by Admin via jQuery Rain

SVG Morpheus : JavaScript library for SVG icons to morph

JavaScript library enabling SVG icons to morph from one to the other.


The post SVG Morpheus : JavaScript library for SVG icons to morph appeared first on jQuery Rain.




by Admin via jQuery Rain

Moving Forward with ngCordova

This is a guest post by Paolo Bernasconi, lead developer on ngCordova.


To watch ngCordova grow from a small idea to a popular open source project with over 1250 stars on GitHub has been a great pleasure for me. Since its inception in July 2014, I've had the opportunity to learn about creating and maintaining a GitHub repository, and I've come to realize the true power of the open source community and individual contributors. With the community's troubleshooting help and submissions, we've been able to improve ngCordova more rapidly and effectively than one person, or even a small team, ever could.


When we first built ngCordova, it covered 14 basic Cordova plugins. Now it has 47 and counting, ranging from Push Notifications to Facebook support. We have since released 8 versions, received 230 pull requests from 49 contributors, and resolved over 170 issues.


So, what's next?


The first new feature in ngCordova's future is an automatic deviceready check to determine whether a device is ready to use plugins. Currently, the only way to ensure this is to manually insert plugin calls inside the event-listener:




document.addEventListener("deviceready", function () {
$cordovaPlugin.someFunction().then(success, error);
}, false);

// OR with Ionic

$ionicPlatform.ready(function() {
$cordovaPlugin.someFunction().then(success, error);
});


This "event check" needs to be done for each plugin method, which becomes a bit tedious and over-bloats code in the controller. Soon, ngCordova will call the deviceready event in the background, making it easier and simpler to use plugins.


Another important feature on the roadmap is an improved demo app. Cordova plugins can often be very hard to use, and there are times when you might have no idea why your app isn't working or what error is being produced. While the current demo does include quite a few plugins, we plan to support all plugins in ngCordova, with very detailed examples and unit-tests.


Finally, we understand the need for great documentation, so we are improving the docs with more comprehensive methods for each plugin API (see the Facebook plugin for an example), so you'll have all the information you need readily available.


What about testing in the browser?


One of the biggest issues with app development using Cordova plugins is the fact that it can sometimes break an app when testing in the browser, giving us the "white screen of death". ngCordova does have a mocks module, but it requires a lot of extra code in your controller to simulate the phone environment and isn't well documented at the moment.


That's why I created a Google Chrome extension called Cordova Mocks (Github), which generates mock-data and automatically injects it into your browser. It follows the same API that Cordova plugins use, so the only thing you have to do is install the extension and start using your app as if you were testing on your phone.


It currently supports the following plugins, with many more to come:



  • Camera

  • Device Motion

  • Device Orientation

  • Device

  • Dialogs

  • Flashlight

  • Geolocation

  • Globalization

  • Network Information


Soon, you'll be able to configure the data yourself in an options panel built into the extension. Also, expect a Firefox (and maybe Safari) extension in the next few weeks.


Conclusion


ngCordova is still growing day by day and always welcomes new ideas and plugins. If you encounter any issues or want to get official support for a specific plugin, create a new issue, and stay tuned for new features and fixes.




by via Ionic Framework

You Don’t Have to Be an Artist to Create Quality Infographics

“Content is king” is one of the biggest rules in the marketing world, however even the greatest material is a waste if nobody actually reads it.


Today content marketing is one of the most cost effective ways to boost the credibility of your brand but things like podcasts and blog posts take significant time to absorb. In a world where you only have a few seconds to catch the attention of your audience, you need to stand out from the crowd.


Infographics are a great way to do this because they allow you to take almost any type of information and turn it into something which can easily catch fire on social media. When it comes to shareable content, images top the list due to most people preferring visual material. For many, one of the biggest challenges to integrating infographics into their campaigns is price and effort. If you hire a graphic designer to create an infographic, the typical price is around $500-2,000 depending on the size and complexity of the project.


Fortunately by using readily available resources, you can create infographics yourself without retaining a graphic artist.


Read more on SitePoint...

Continue reading %You Don’t Have to Be an Artist to Create Quality Infographics%




by Charles Costa via SitePoint

Stop the Use of Disposable Email Addresses in WordPress

Spammers are everywhere, they use automated software that crawls the web in search of websites (such WordPress sites) with the aim of submitting and registering hundreds and thousands of accounts and spam comments.


On one of my WordPress powered sites, I discovered over 50 newly registered spam accounts, all created with disposable email addresses. To prevent a re-occurrence, I had to create a plugin that prevented the registration of accounts with disposable email addresses.


In this tutorial, we'll learn the meaning of disposable email addresses, how they work and finally, how they can be stopped in a PHP application - albeit with focus on WordPress.


Introduction to Disposable Email Addresses


DEA, an acronym for Disposable Email Address (sometimes referred to as throw-away, temporary email or self-destructive email), is a service that allows a registered user to receive email at a temporary address that expires after a certain time period lapses. Simply put, they are email accounts created to accomplish a short-term goal.


Continue reading %Stop the Use of Disposable Email Addresses in WordPress%




by Agbonghama Collins via SitePoint

Improved Android Emulation with Genymotion

If you have been developing Android apps for some time and have ever used the default emulator, then you know how frustratingly slow it can be. Even on a powerful machine, it is manageable at best. The emulator is not only slow in booting up, but on all subsequent runs of your app. A solution to this was AndroVM which provided an Android VM client for VirtualBox. This resulted in an emulator that was noticeably faster than the default Android emulator.


AndroVM was bought by Genymobile and they released Genymotion which is a commercial product that improves on AndroVM.


The Genymotion emulator uses x86 architecture virtualization and OpenGL hardware acceleration which makes running your apps more efficient. It works by creating a virtual machine through VirtualBox to deliver an Android emulator with support for hardware sensors such as GPS, accelerometer and battery. It is available for Windows, Mac and Linux. You can get it for free and it has a premium license which adds more features to the emulator. For a list of these, take a look at this list. For general testing, the free version is sufficient. For this overview we had a time limited code for the full version.


Continue reading %Improved Android Emulation with Genymotion%




by Joyce Echessa via SitePoint