Friday, January 14, 2011

[MIPS/C] Tiny little search function

I thought I would share this, since I'm sure someone else might be able to use it. Some1 asked me to write a function to search for a string and return its location, in order to find functions in a PSP VSH exploit. The function is simple enough, it searches for the first letter of your null-terminated string, and once it does, loops through the string to test if the next characters are the same, if not, it goes back and looks for the first character again. It returns 0 if nothing was found.

Friday, December 24, 2010

[Javascript] Playing with my blog

While adding these sub-blogs, I have been playing with javascript, trying to learn to modify the site a bit more to my liking. One problem I noticed was that some blog posts may be covered by multiple blog topics(PSP and Programming, for instance) and I would need to have the comments in the main blog, not in the sub-blogs. I also wanted a nice menu at the top that would highlight which site you were one, similar to the pages widget, but a link-list doesn't do that. So I wrote my own two little scripts to fix this.

Wednesday, December 22, 2010

New Sub-Blog: Programming

In order to try cleaning up my blog for people who don't have all the same interests as me, I am making "sub-blogs", which will contain mirrors of posts made on my main blog, but only on their specific topic. Feel free to follow whatever blog interests you, or use it's feed if you prefer.

This is the "Programming" blog, it will contain info on any future programming projects, programming tips, and samples of my source code. Please note I am far from a professional, this is just a hobby of mine, feel free to give your opinions.