RSS
 

Archive for the ‘Random’ Category

Simple XML Serializer/De-Serializer

18 Mar
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace XmlSerializerHelper
{
    static class SerializerHelpers
    {
        public static void Save(string fileName, object objectToSerialze)
        {
            XmlSerializer x = new XmlSerializer(objectToSerialze.GetType());
            using (XmlWriter writer = XmlWriter.Create(fileName))
            {
                x.Serialize(writer, objectToSerialze);
            }
        }

        public static T LoadFromFile<T>(string fileName) where T : class
        {
            try
            {
                XmlSerializer x = new XmlSerializer(typeof(T));
                using (XmlReader reader = XmlReader.Create(fileName))
                {
                    return x.Deserialize(reader) as T;
                }
            }
            catch
            {
                return null;
            }

        }
    }
}
 
No Comments

Posted in Random

 

[Release] AutoLoL

25 Jul

Thanks to SaphuA (my Dutch buddy) Mastery Clicker v2.0 is ready to go… However it has happened to change its name to AutoLoL in the process.

AutoLoL can be found at http://autolol.codeplex.com/
Feel free to download and enjoy the greatness of AutoLoL

A new page regarding all the features will be up shortly…. for now look at Mastery Clicker Page

 
No Comments

Posted in Random

 

Epic Battle

22 Jul

I can’t believe I’m uploading this to my site but I just got done with an Epic battle in League of Legends. So epic that I had to take a screenshot of the results. This match was so well balanced and came down to the last minute, too bad recording games doesn’t work yet!

 
No Comments

Posted in Random

 

Near Disaster — Thanks Arvixe

21 Jul

So, I was messing with my FTP accounts and every time I delete an account there is a little checkbox… Remove accounts home directory… well thats bad if the home directory of the account is public_html and did I mention the box is checked by default… Well anyways, as you can see its all back up. Thanks Arvixe for keeping a backup! Their tech support was quick and I didn’t even have to call them (I used their online chat). My host has been great so anyone looking for a great host should check out http://www.arvixe.com

 
No Comments

Posted in Random

 

Mastery Clicker & League of Legends Season One

13 Jul

I thought Season One would give us the option to save our masteries… Apparently I was wrong. I am currently in Hawaii so I won’t be able to release a patch for mastery clicker until I get home from vacation. In fact Mastery Clicker 2.0 or should I say AutoLOL should be released in the short future adding a lot more features then just clicking masteries.

 
No Comments

Posted in Random

 

Graduated

17 May
Well, It’s finally over, school is complete and I feel I did a pretty good job this semester getting 2 A’s and 2 B’s for a final Grade-point  of 3.00. Check AJ’s blog if you really care to see photos or anything like that
 
No Comments

Posted in Random

 

the new site

20 Mar

While it’s unfortunate that my old site crashed and burned, and years of data was lost (kinda) To start fresh is a blessing in itself. I was tired of the 1990′s layout and think its time to get with the program. WordPress has so far impressed me, its slick look and feel make working with a CMS fun again. I’ll slowly build this site up with some good content that is hopefully useful to someone somewhere.

Note: I will upload old data as I located it and probably place it in an Archives/Ancient section… :)

 
No Comments

Posted in Random