Archive for the ‘Programming’ Category
These tutorials and code snippets for CodeIgniter are, sadly, in no particular order as these are things I’m discovering as I go and thus they are all over the place. After using CI for a little while, I recently stumbled across the gem that is Templating. There are some extensive documentation on template usage in [...]
Here’s a quick bit of code to create some tables with CI/Doctrine.
Upon starting my social network engine in pure PHP, I quickly abandonned it for CodeIgniter, which then fast become CodeIgniter & Doctrine. I have to say, I’m less suicidal when it comes to PHP now and this is a good thing, since PHP is the easiest language for ease of edit, access, and collaboration – [...]
Having recently picked up a project that was side-lined for a while I’ve come to the realisation that PHP is not a language I like, and I’m as rusty as hell with it. The project is a community engine for achievements. I won’t go into great deal just yet, but it requires a forum, a [...]
A quick mission created for Operation Flashpoint: Dragon Rising. Some sample code and “concept” code added for awesomeness. :D
Okay, so without going into much detail about this, I’m design a desktop UI for an OS. It’s not going to be used as an OS, but I want it to feel like one. So, for instance, when you open a browser page it gives some ‘pseudo-internet’ pages. Like a spoof OS, if you like.
What [...]
Firstly, you want to have your HTML code ready and waiting. For this, you will need a simple table. You can use this one I have if you wish, or make your own with a similar structure:
<html>
<head>
<title>Zebra Striping the jQuery Way</title>
<script src="http://jquery.com/src/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
</script>
</head>
<body>
<table class="myList">
<thead>
<tr>
<th>Name</th>
<th>E-Mail</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
<tr>
<td>Test User</td>
<td>email@mailserver.com</td>
<td>1234567890</td>
</tr>
<tr>
<td>Test User</td>
<td>email@mailserver.com</td>
<td>1234567890</td>
</tr>
<tr>
<td>Test User</td>
<td>email@mailserver.com</td>
<td>1234567890</td>
</tr>
<tr>
<td>Test [...]
jQuery is a very powerful and user-friendly javascript library that makes life much easier for you. Take a look at the jQuery Homepage for more information and full documentation on how to use it fully.
I’ve been looking at jQuery, and so I will give some examples of how to get some simple codes working over [...]
So recently I picked up a (rather overpriced) copy of Unreal Tournament 3. Yea, as a game it’s pretty shit; that’s me being honest. However, the Unreal Engine and its resources for creating mods are fantastic, and this is actually the only reason I picked it up. As a starting point I reacquainted myself with [...]
Someone recently asked me how to make a loot window for WoW that stays where it last closed and doesn’t reset itself to the top left corner of the screen again. Well, I’ll be damned if I can remember, tbh. Most likely (but can’t remember) I did it by:
OnEvent LOOT_OPEN
if x/y co-ords exist then
[...]
