BWSnippets

Oh, blah blah blah....

Cake PHP 3 - Order By a contain on parent

Relation contain ordered using an order by using cake php 3

2017-10-19


Select With Pad

Want to pad a field while selecting using mysql?

2017-10-19


Force type using MYSQL

This can force and integer from a field that is or is not an int

2017-10-19


Mysql select sub-string from database

Select part of a string from a field in the database using mysql

2017-10-19


Fun MYSQL

Select field from table that is a varchar, get the last piece, increment that last part of the string, and then re-make the original varchar with new ending!

2017-10-19


iOS 11 random airplay icon? FIX

In iOS 11 I noticed random airplay and audio icons appearing.

2017-10-13


Swift move subview to top of parent

Move a subview to the front of the stack of its parent view hierarchy

2017-10-13


Swift move view to top of view hierarchy using parent

Move a subview to the front of the stack of parent view using the parent

2017-10-13