Code Snippets

Facebook social login for iOS

 

Simplest way to load json without an external networking framework iOS Objective c

 

iOS prevent scroll insets

iOS 9+ occasionally screws up scroll insets when working with a UITabbar and a UINavigationcontroller at the same time. I have spent hours figuring out that the solution is just one simple line of code.

 

Encrypt and decrypt strings in PHP the easy way

 

Get the brightness of a color in php

With this function it is possible to decide the font color based on a variable background colour.

 

Redirect WP-Login to a frontend login

 

WordPress: Add uploaded image to the media library

 

Woocommerce change price in cart

 

Instagram social API

 

Animate View iOS

 

Woocommerce Change price of product without effecting the database

 

Function to get Dutch Month name

 

 

OR