I had to detect screen orientation changes, but my activity in the manifest file had to stay locked in android:screenOrientation="portrait" mode.
Latest posts - Page 15
WooCommerce override left in stock and out of stock text
WooCommerce override left in stock and out of stock text was needed. In the case of a store that mostly sells unique items placing…
Detect Window Resize using jQuery
Detect Window Resize using jQuery the correct way. jQuery $(window).resize fires multiple times while you are still resizing the window. In order to avoid…
How to remove pocket from Firefox
How to remove pocket from Firefox, another service that probably wants to know everything about you for some reason. Don’t get scared Pocket is…
Less loop using mixin, simple example to generate CSS
Writing Less loops One of the advantages of writing less instead of CSS is that you can create loops instead of repeating the same…
Font Awesome font icon set
Probably the most used and most useful font icon set out there. Font Awesome
Drupal add custom page template for content type
In order for a content type to use a different page template in drupal 7 you need to do two things. Create a new…
Drupal l Function in Drupal 7 example
This is how you use the l function in Drupal 7 The Drupal l function should be used when printing out links. This function…