Scripting


10
Jul 09

Blizzard to Wowhead Converter – Pets

I dont know if you remember but a while back i wote a php function that will turn blizzards talent builds into wowhead links (link). Well since then blizzard has added hunter pets to the armory, and along with them come their build. So we now need a way to convert that to a wowhead link. Well iv got another function for you.

Enjoy it after the break :)
Continue reading →


4
Jun 09

Top Github Languages Used

 github-toplangIv known about GitHub for a while, but i haven’t had a reason to use it because i dont really have any projects right now (i need one tho). I was looking around and found a page listing the top languages used on projects hosted on GitHub (found HERE).

As you can see that my main coding language, witch is php, is 7th on the list. And the main one is Ruby. It got me to thinking, should i take a look at the ruby language and see if its easyer and what not? I mean if 28% of projects on GitHub are using it, i would assume that its a good programing language right?


30
May 09

No WWW

A while ago, i found a site called “http://no-www.org/” where they beleive that “www” should be deprecated from urls. This is what they have to say about it.

Why is .www deprecated?

In order to answer this question, we must first recall the definition of WWW:

World Wide Web:
n. Abbr. WWW
1) The complete set of documents residing on all Internet servers that use the HTTP protocol, accessible to users via a simple point-and-click system.
2) n : a collection of internet sites that offer text and graphics and sound and animation resources through the hypertext transfer protocol.

By default, all popular Web browsers assume the HTTP protocol. In doing so, the software prepends the ‘http://’ onto the requested URL and automatically connect to the HTTP server on port 80. Why then do many servers require their websites to communicate through the www subdomain? Mail servers do not require you to send emails to recipient@mail.domain.com. Likewise, web servers should allow access to their pages though the main domain unless a particular subdomain is required.

Succinctly, use of the www subdomain is redundant and time consuming to communicate. The internet, media, and society are all better off without it.

I beleive that they have a very good point, and dont see why we should support these ideas. “www” is truly redundent. You can see that i support this idea on my site. If you go to http://www.justgizzmo.com/ you will be redirected to http://justgizzmo.com.

So i ask you, do you support http://no-www.org? If you do, you can add the following to your .htaccess to become a “Class B” domain.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] 

Be sure to check out http://no-www.org/ for more info and get your domain validated


1
May 09

Blizzard To Wowhead Talent converter

Wowhead has not officially released the code they use to convert convert, but a long while back someone asked in their forums about it. And from there people convert the code they shared into something readable, and worked pretty well.

In my short project to make a Wowarmory mirror type site, i wanted a way to convert blizzards talent build to wowheads. After lots of work, iv finely come out with a nice function that does pretty well.

Iv also been talking with one of the programmers of Armorylite to share this code with him. They just link to blizzard calculator and i thought it be nice for them to be able to link to the best calculator, Wowhead.

I am gonna share the function with all who want to use it for free, after the break. Continue reading →


19
Jan 09

Site Is Back

For any of you who came to the site and didn’t get access, I’m sorry. The server admins decided, spur of the moment, to move the servers. That means my this site was inaccessible for about a week.

There has been several things happen since then. For one, I’m playing WoW pretty much all day long. Second fluxbb has announced their development plan. 1.3 will never be officially released expect for betas. Their plans are 1.4 is a upgrade from 1.2 with some of major enhancements like UT8. Next is version 2.0 is witch is 1.3b with a better extension system, template system and some other improvements. I’m looking forward to whats to come with version 2.0.

For those of you who check the site for updates on my extensions, i probably wont update much anymore. With my playing WoW again, ill probably just update when i have time, or a new beta version.