Archive

Move array to bottom or to top

function moveArrayKeyToTop(&$array, $key) { $temp = array($key => $array[$key]); unset($array[$key]); $array = $temp + $array; } function moveArrayKeyToBottom(&$array, $key) { $value = $array[$key]; unset($array[$key]); $array[$key]

Read More »

Convert PHP array to Bootstrap grid

function bootstrapGrids($gridCols, $columns = 3) { if (is_array($gridCols) && count($gridCols) && is_numeric($columns)) { $array = array_chunk($gridCols, ceil(count($gridCols) / $columns)); $content .= ‘<div class=”row”>’; foreach ($array

Read More »

Undocumented VMware .VMX parameters

USE AT YOUR OWN RISK AIOMGR aiomgr.noContinueOnFailure aiomgr.numThreads aiomgr.simple aiomgr.unbuf ANSWER answer.msg.serial.disconnect BIOS bios.bootDelay bios.bootDeviceClasses bios.bootOrder bios.bootRetry.delay bios.bootRetry.enabled bios.forceSetupOnce bios.hddOrder CBTMOTION (Change Block Tracking) cbtmotion.compareDisks

Read More »

Most Popular