Skip to content

Instantly share code, notes, and snippets.

View nicklevett's full-sized avatar

Nick Levett nicklevett

View GitHub Profile
@nicklevett
nicklevett / gist:7253154
Last active December 27, 2015 02:29
ZF2 Paginator with nested selects bind paramaters error
<?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 March 3, 2023 10:07
RA2/Yuri's Revenge on Wine on Mac OS X
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