 | Banana Choc-chip Muffins |  |
 | |  | | Posted by: Maz on 13-Aug-2011 04:53:59pm in categories: food
1 1/2 cups Self-Raising Flour 1/2 cup castor sugar 1 teasp Vanilla Essence 3 Bananas (mashed) 125g Butter (melted/softened) 1 egg beaten 1/2 cup Milk Choc Chips 1/2 cup White Choc chips
Mix all dry ingredients together. Add remaining ingredients in order. Bake in muffin tins for about 20mins at 180 C.

food, muffins, baking | |  | |  |
 | EA game distribution service hates Australians |  |
 | |  | | Posted by: Maz on 10-Jun-2011 12:21:34am in categories: games
In unsurprising news today, EA launched Origin, its digital distribution software for EA titles. Which of course has different prices for AU and US customers..
US price:

AU price:

Obviously it costs a lot to ship those 1's and 0's over here.. About $8 / GB. Almost sounds like Telstra are involved. :P
EA, Steam, Origin, games, Australia | |  | |  |
 | Restart a computer after ping failures. |  |
 | |  | | Posted by: Maz on 10-Apr-2011 07:28:52pm in categories: geebin
I just had to throw together a program for someone to reboot a server after a number of failed pings to the router because their NIC was locking up. Here is the source:
using System; using System.Collections.Generic; using System.Text; using System.Net.NetworkInformation; using System.Threading; using System.Diagnostics;
namespace PingRestart { class Program { static void Main(string[] args) { if (args.Length == 2) { try { Ping ps = new Ping(); int count = int.Parse(args[1]); int failed = 0; for (int i = 0; i < count; i++) { PingReply pr = ps.Send ( args[0], 999, Encoding.ASCII.GetBytes("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), new PingOptions(128, true) ); if (pr.Status != IPStatus.Success) { failed++; } } if (failed == count) { Process.Start("shutdown.exe", "-r -t 30"); Console.WriteLine("The system will shutdown in 30 seconds"); Thread.Sleep(20000); } } catch (Exception ex) { Console.WriteLine(ex.Message); Thread.Sleep(30000); } } else { Console.WriteLine("Invalid arguments. Usage: "); Console.WriteLine("PingRestart [router IP] [number of attempts]"); Thread.Sleep(30000); } } } }
The usage is: PingRestart.exe [remote host IP] [number of ping attemts]
e.g. "PingRestart.exe 192.168.1.1 10"
If all ping attempts fail then the program will run "shutdown.exe -r -t 30" and display a message on the console. If there are any problems a message will be written to the console then after 30 seconds it will quit. So be quick!.
Download EXE only
code, server, .net, download, program, restart | |  | |  |
 | Anyone interested? |  |
 | |  | | Posted by: Maz on 30-Dec-2010 09:54:00am in categories: geebin
I'm bored and feel like building a new pc. A good one. Anyone interested?
Also. The umart site has the worst formed HTML ever.
computer, projects | |  | |  |
 | 16TB of Nas |  |
 | |  | | Posted by: Maz on 08-Aug-2010 02:04:36pm in categories: geebin
Pics of my nas to show someone.


Nas, server, disk, computer, projects, storage | |  | |  |
1327784582
|