Filter
Web apps
Search
Blogroll and links
User
Archives
Author Archives: Joseph
Xbox Live script
If you’re not a member of the XCDP, the only way to access gamertag information is via the public “gamercard”, here. Microsoft, being Microsoft, hasn’t really left the information in a particularly useful format, so here’s a small script that boils all the HTML down to the bare stats and facts. (more…)
Posted in PHP and web
2 Comments
PHP syntax highlighter
Here’s a basic PHP “syntax highlighter” function: (more…)
Posted in PHP and web
Leave a comment
PHP: empty(), is_null() and isset() comparison
The subtle differences between empty(), is_null() and isset() are common source of confusion and uncertainty. So in this post I’ll try and clarify how these three (boolean) functions work. (more…)
Posted in PHP and web
Leave a comment
MW2 stats
- XP: 1,469,406
- Score: 1,985,550
- Kills: 20,894
- Headshots: 2,047
- Assists: 3,165
- Streak: 20
- Deaths: 25,005
Primary weapons
Assault rifles
| Kills | Headshots | |
| M4A1 | 1194 | 99 |
| FAMAS | 1959 | 177 |
| SCAR-H | 735 | 43 |
| TAR-21 | 1834 | 192 |
| FAL | 175 | 13 |
| M16A4 | 352 | 37 |
| ACR | 509 | 54 |
Sub-machine guns
| Kills | Headshots | |
| MP5K | 129 | 16 |
| UMP45 | 258 | 31 |
| Vector | 117 | 6 |
| P90 | 1077 | 107 |
| Mini-Uzi | 123 | 20 |
Light machine guns
| Kills | Headshots | |
| L86 LSW | 407 | 52 |
| RPD | 108 | 7 |
| MG4 | 135 | 13 |
| AUG HBAR | 314 | 23 |
| M240 | 135 | 10 |
Sniper rifles
| Kills | Headshots | |
| Barrett .50cal | 432 | 115 |
| Intervention | 756 | 185 |
| WA2000 | 76 | 24 |
| M21 EBR | 288 | 95 |
Posted in Media and tech
Leave a comment
2011 F1 Quotes
Each race of the 2011 season I’ll be picking out the Quote of the Weekend (or two) from the BBC’s coverage.
Posted in Formula 1
Leave a comment
Get ‘The Chain’ to Number 1
Posted in Formula 1
Leave a comment
BF:BC2 and MOH stats API
I’ve put together a small API that provides basic statistics for Battlefield: Bad Company 2, and Medal of Honor in XML form. The stats are sourced from StatsVerse.com and not direct from EA. Feel free to use the API as you see fit, but bear in mind that the API is reliant on a third-party (Stats Verse), so I cannot guarantee its reliability. (more…)
Posted in PHP and web
Leave a comment
C: Maths
Virtually any program you write from now on will need use maths of some sort, so it’s probably going to be useful to know how to do it. And it’s really simple. (more…)
Posted in C programming
Leave a comment
Logic gate simulation
To compliment yesterday’s post of logic gates, I’ve put together a series of super-simple little functions that simulates the output of the gates. This is not so much a post on programming, since the functions are so small and basic, but it may help you understand exactly how these gates work. (more…)
Logic gates
A and B are input logic variables, so they have two possible values 0 (false) or 1 (true). F is the output variable. In theory, logic gates (with the exception of the NOT gate) can have any number of inputs, but in reality they only ever have one or two. (more…)
Posted in Electrical engineering
Leave a comment
