How To Calculate CSS Height On The Fly Using Calc

Author: , March 25th, 2020

I needed to use an iframe between a pre-defined header and footer that would auto-fill the full height on any size screen. On a desktop, the combined height of the header + footer was 223px and for mobile was 157px, so below find the CSS example: calc(100vh – 223px) – for desktop calc(100vh – 157px) […]

How To Disable the Brightness Keys in MacOSX

Author: , July 26th, 2012

Download and install the prefpane FunctionFlip. Then set the F1 and F2 keys to default to having Fn pressed, which effectively disables the “Change Brightness” feature… http://kevingessner.com/software/functionflip/

How To Pass A Reference To An Existing Object From One Class To Another In PHP

Author: , February 2nd, 2012

Inside class “yourClassA” calling “yourClassB”:

Inside class “yourClassB” getting the call from “yourClassA”:

How To Call Functions Within Classes Dynamically In PHP

Author: , January 19th, 2012