Today I’ve spent the last couple of hours getting Bioshock 2 working. This is the steam version, but these fixes will likely apply to all versions (retail, steam, etc).
(Steam-only) Bioshock 2 Stuck on Preparing to Launch
If you’re running steam, you double click Bioshock 2 to get it running, and nothing happens, there could be a [...]
Author Archive > searbe
Bioshock 2 Won’t Launch / Seculaunch 2000 Error
Windows 7 Lamp – Use Ubuntu and VirtualBox for a Great PHP Development Environment
I’ve just spent today making myself feel incredibly bad for switching back to Windows, but of course, I still need Linux for my web development stuff – you can’t beat a good LAMP and without it, Windows 7 can’t be my primary operating system. Sorry, but PHP on Windows 7 still doesn’t compare to PHP [...]
Acer 3000, 3020, 5020 Windows 7 Drivers & Windows Vista Drivers
Acer apparently “dont support” Windows 7 or Windows Vista drivers on my Acer 3020. After spending a while browsing around for drivers, I found Acer 3020 Vista drivers. With Vista not being very different to Windows 7, I thought I’d give them a go, and they worked!
What’s weird is Acer doesn’t list any drivers under [...]
Worthing Computer Help
Really this is just a post to get Google seeing Worthing Computer Help – my brothers computer support service, based in Worthing. So if you’re local and need help with your computer, give him a call
Ubuntu 9.04 LAMP, Apache PHP MySQL phpMyAdmin, Windows Fonts, PlayOnLinux
update seeings I’m getting so many hits for Ubuntu 9.04 LAMP, I’ll pull out the LAMP-specific bits. Hopefully I don’t miss anything out. If you’re after windows fonts etc, you probably want the original version of this post – so scroll down a bit.
# Install Apache2
sudo apt-get install apache2
sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 stop
# Install PHP5 [...]
Symfony Slots
How to use Slots in Symfony.
Symfony Slots are ways to set simple data in one template, and have it displayed in another. It’s helpful if, for example, you want to set the Title in the layout from a controller actions view. Rather than ramble on about Symfony Slots, I’ll blast through how Slots are used [...]
Symfony Admin Generator File Upload
This post is presuming that you …
have Symfony 1.2+
have models set up
have some sort of admin area set up, albeit without file uploads
This is *not* about storing file data in the database, it is about storing file *locations* in the database. The actual file data will be stored on the filesystem.
So lets get file uploads [...]
Web Authoring Component failed to install, Cannot open include file: ‘windows.h’ or ‘d3dx9.h’, Cannot open file ‘dxerr.lib’ – Solutions
Oh WOW you really do forget how much of a headache getting Visual C++ ready to use is. Fixing these errors is so majorly counter-intuitive, and from the point of view of someone who programs in C++ once in a blue moon it’s a total pig when you want to spend an evening programming then [...]
Symfony Get Raw Data from Function in Template
If you’re in a template in Symfony, and you have your output escaping enabled, one thing that bugged me was when I tried to do this:
$my_model->getMyOutput(’param1′,’param2′);
The output would be escaped – for example I’d get “<b>this is bold</b>” rather than “this is bold“. The usual $my_model->getRaw(’MyOutput’) didn’t help, as it doesn’t accept parameters (actually I [...]
MooTools Select from Element Children
Something that doesn’t bring up an instant result is MooTools Select Element Children.
Again, this is part of my all-of-the-sudden drive to put things that don’t give me a Google insta-answer on my blog.
What you’re looking for is:
var childEl = $(’parent_element’).getElement(’#child_element’);
Or alternatively
var parentElCollection = $$(’#parent_element’);
parentEl = parentElCollection[0];
var childEl = parentEl.getElement(’#child_element’);
