Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Levett nicklevett

View GitHub Profile
@nicklevett
nicklevett / gist:7253154
Last active Dec 27, 2015
ZF2 Paginator with nested selects bind paramaters error
View gist:7253154
<?php
class DbTest
{
public function testSubSelects()
{
$adapter = new \Zend\Db\Adapter\Adapter(array(
'driver' => 'Mysqli',
'database' => 'test',
'username' => 'root',
@nicklevett
nicklevett / ra2_yuri_wine
Last active Jan 19, 2020
RA2/Yuri's Revenge on Wine on Mac OS X
View ra2_yuri_wine
Prerequisites (this is what I use, your mileage may vary):
Mac OS X 10.10.4 running on iMac13,2
XQuartz (http://xquartz.macosforge.org)
PlayOnMac 4.2.8 (https://www.playonmac.com) - N.B. PlayOnLinux available
Wine 1.6.2 (downloaded in PlayOnMac)
The First Decade (TFD) DVD (Red Alert 2 and Yuri's Revenge)
TFD v1.03 revision 4 patch (http://www.cncnz.com/hosted-projects/command-patch/the-first-decade-unofficial-patch/)
Updates to latest versions of RA2 and Yuri plus NO-CD, TCP (network play) patch and other goodies
Install PlayOnMac