<Martian Wabbit Productions>

Simple factorial function

June 8th, 2009 by Seich

Well, today my sister was working doing her homework and, she kind of got stressed with it, so she called me and, I ended up making it for her… I learned what a factorial is and, made this nice little function that finds the factorial of any number you pass to it. It was supposed to be written in labview, but I don’t really know what that is… so I used php xD It worked like a charm in labview according to my sister. so you can also use it in labview I guess :O

1
2
3
4
5
6
7
8
9
<?php
function factorial($input){
  $output = 1;
  for($x = $input; $x >= 1; $x--){
    $output *= $x;
  }
  return($output);
}
?>

I made an example of this function’s usage using JavaScript, check it out here

Basic of $_GET variables (PHP)

June 6th, 2009 by Seich

Hello everyone, today I am posting a tutorial on the basic usage of the $_GET super variable in php. This tutorial was originally posted at the MWPS community forums, which almost never is read so I figured that this would be a better place for it to be. It goes through the basics of the $_GET variable and some basic usage examples.
(more…)

FeedBurner

June 6th, 2009 by Seich

Well due to (probably) my own stupidity, I’ve lost control of my feedburner account, and since I don’t want to stop using the service provided by it, I’ve been forced into changing my account and thus, changing my feed url, the old url will still be active, but I would appreciate if any subscriber I might have migrated to the new url. The animated clicket on the side bar has been updated, and everything should work fine. Thank you for understanding, or at least for reading this.

The new feed url is: http://feeds2.feedburner.com/Seichleon2

I heart FeedBurner

Music out of boredom

June 2nd, 2009 by Seich

Well, I will admit… I am not the most compromised of bloggers.. In fact I only post something when I remember about this blog existing -.-’. Other than that I think I am an awesome blogger!

Music Scores

Recently I’ve been playing with FL Studio 8 XXL Producer edition, as you may or not know I work as a server manager for a server on Graal, an online game. Recently, this weird idea of adding background music to improve the general game play experience, has invaded my mind and I as a music enthusiast begun composing stuff. I’ve tried several different things, but none seemed to fit the style I wanted for Noctorious (the server I manage). I tried something S4ish, which was my first thought but, it didn’t seem to be what I wanted I tried with several different styles afterwards until I found the perfect one. I made this basic loop using some old techniques and developed in that way, a pleasant fast paced loop I can use as background music during some events. I am still searching to develop a consistent and simple loop to use as BGM on everything else other than events.

Check out my first attempt:

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

It’s a loop btw that’s why it’s only 4 secs long -.-’ play it a couple of times and you will get the feeling out of it..

HTML from Noob to Expert

February 15th, 2009 by Seich

Hello Everyone Seich here,

I am just making some random advertising in here… as I am terribly bored as always, (of course) I started writing my new book (this is the 2nd book of this type I start writing) “HTML from Noob to Expert”, I am taking my time… I actually expect to finish writing it sometime this year, I will distribute it electronically as an ebook, just to see if I can make any sales.

(more…)

MWPS QuickBar

January 9th, 2009 by Seich

Hello everyone, :P this is this year’s first post, and yes it’s a freebie! I’ve been working on my first jQuery plugin, called QuickBar, I added MWPS for obvious reasons. QuickBar creates a browser-like notice bar on the top, this bar can be customized by using different options available through the plugin.

you simple include the file, and use $(‘#something’).QuickBar();

it’s pretty simple as you may see, check it out here.

If you find any bug please report it at my Google project page or leave a comment at the bottom of this page.

Happy New Year!

January 1st, 2009 by Seich

I want to wish a happy new year to everyone.Let’s hope that this coming year is as good as the past one…

I will continue my work, and as my tradition, I will create a new website for Martian Wabbit Productions, so stay around for when I publish it :D

MWPS’s GChart

December 31st, 2008 by Seich

I was rather bored the other day when i found out about google’s chart api, which allows you to create a chart by linking to a url with some things in it..  you can find more about it in here.

Well, I became bored somedays later, and started creating a class to work with it. This class would create and add all the information needed to the base url, After reading and adding a lot of things into the class, I made a rather decent php chart for he creation of charts using google’s api. After googling “php google charts api” I found out there are many other similar classes, which make mine look … plain… i wil exapand it a little and then present the final one, currantly it only supports a limited number of google’s settings. I will add all settings, and eventually have a complete class. Also, i found out, that my class has something in favor.. it’s really simple to use :P .

Download here:


For instructions,
(more…)

News

December 20th, 2008 by Seich

Hello everyone, I was thinking on ideas for this blog, and after looking for ideas around the Internet I finally got to the conclusion I wanted to make a screencast.

My ideas were:

  • PHP for beginners
  • jQuery and Javascript
  • HTML for beginners

I had many other ideas, but these were the best ones, I finally decided that I would create a php for beginners series. so stay tuned, because I will make the first screencast next week :P

Free Font: Seicher

December 12th, 2008 by Seich

Hello again, I’ve been bored and decided to make a font, this is the first time I ever made a font so please don’t attack me. Actually I think that it is very nice and I like it.

The font’s name is Seicher, based on my username and on a failed project…

Hope you like it, license is included with it, I know it’s kinda restrictive, but it’s my first font I want to protect it. On the other side feel free to email me if you would like to use the font in a way the license won’t allow you to, I would gladly give you permission to use it in another way if you just tell me.

  • Archive

  • Tags

    COmposing factorial Feed Feedburner font function Hello loop Music Noctorious PHP Script Tutorial type Updates
  • Downloads

  • Random Ads