Make your own Netflix site

This is a PHP web program you can use to make your own Netflix look-a-like website. It runs completely off PHP, no database required. All information and photos are pulled from IMDb.

I recommend setting this up on your home computer as most web hosting websites will not be ok with you uploading videos on to their servers. You can host this on your computer at home with WAMP (Windows Apache MySQL PHP) or IIS with PHP.

Upload the movies folder to your website directory (with WAMP its usuall “C:\wamp\www”), then upload the your movies/videos into the videos folder. If it’s a TV show, folder with the seasons labeled.

For example, TV shows are like this:

/videos/breaking bad/season 1/episode_name.avi
/videos/breaking bad/season 2/episode_name.avi

For example, movies are like this:

/videos/movie_name.avi
/videos/another_movie_name.avi

Names of files are automatically parsed. For example, if a movie file has the name “The.Darjeeling.Limited(2007).avi”, the program will parse the file to read “The Darjeeling Limited” and search IMDb for it and pull the data. So, you can leave files with un-cleaned names and you don’t have to worry.

Also, to stream movies you will need VideoLAN version 2.0 and above with the web streaming plugin, as this supports most video types. For some reason, this works best with Firefox. IE may block this plugin…

If you upload a TON of movies TV-shows etc into videos and go to the website for the first time, it may take a bit to load as it needs to cache the information for faster viewing in the future.

The administration section’s password is located in the config.php file. Open the file with notepad and change the password.

DOWNLOAD

Jedi Knight: Academy & Jedi Knight: Outcast MP Mods

From my early days as a developer, I loved playing the Jedi Knight series. Specifically Academy and Outcast. When playing Jedi Outcast with my new founded clan RoAR (Rebels of Another Realm), we found it necessary to use a mod to help us grow closer and enforce rules. At that time we used Jedi Academy mod (not the second game) that was developed by TheChosenOne. A very well developed mod, few bugs, overall a nice piece of software. Later, we moved on to Slider’s JA+ mod. Once again a nice mod, but this one was riddled with 1 hit kill bugs, and glitches galor! I had to make a better mod!

This mod was going to be bug free, offering the same features as JA+ but even more, since the community had already become dependent on the features in JA+.

After a few months of development, and several tests, it was ready to release! I gave out the build to jk3files.com, and had several revisions. And finally, give the community the open source builds that it deserved to have in the first place.

You can pick up the mods at google’s codebase.

JKA: http://code.google.com/p/jkaclanmod/

JKO: http://code.google.com/p/jk2clanmod/

ModDB: http://www.moddb.com/mods/clan-mod/

Site: http://clanmod.org/

 

HTML links and colors (website development part 2)

If you haven’t gone through our first part of the tutorial, please go back and watch the video.

Ok, so we learned how we can get our website up, and how to begin our development process. But now at this point, you should be ready to learn how to start styling your website, and using the basics of HTML to do this.

Once you have mastered HTML, your next step will be CSS (Cascading Style Sheet). This will give you more control over how your website looks. For example, line spacing or a good replacement for tables.

So lets begin with HTML. We learned that every HTML page should have the beginning  <html> tag, and the ending </html> tag. Now inbetween them, we will place our beginning header <head> tag, and ending </head> tag. Then after the ending </head> tag, place <body></body>. This will be where our page content will be placed. At this point, our page should look like this…

<html>
<head></head>
<body></body>
</html>

Things we can place in our <head></head> section are…

Tag Description
<title> Defines the title of a document
<base /> Defines a default address or a default target for all links on a page
<link /> Defines the relationship between a document and an external resource
<meta /> Defines metadata about an HTML document
<script> Defines a client-side script
<style> Defines style information for a document

Inside the <head></head> tags, place <title></title> tags, and type in a title you want for this page. Next, inside the <body></body> tags, type in something you want for the body of the page. Your page should now look like this…

<html>
<head><title>This is an Example Title</title></head>
<body>This is my website!</body>
</html>

Your page should look fairly basic. White with black text. Lets change the text color and background color. Now, the thing about website coloring is that it uses hexadecimal colors. A website I like to use to find hexadecimal colors is http://www.december.com/html/spec/color.html select the section you want Purples: indigo purple violet pink red, Blues: teal cyan blue, Greens: green teal, Warms: red orange brown yellow yellowgreen, Neutrals: black, grays, white.

Now we should have some idea in our heads about what colors we want to appear on our page. Now, to make these colors happen we have to modify our beginning <body> tag. Lets say we want #0099CC for our background color, and #FFFFFF as our font color. (light blue background with white font). We should change our <body> tag to <body bgcolor=”#0099CC” text=”#FFFFFF”>. Save the file, refresh the page, and there you have your new colors! Have some fun with these and change them around to see what fits.

Now lets create a link, leading to another page on our site. Create a new file called test.html and save it. Go back to our page we were working on before, and in the <body></body> section of the page, add an anchor tag, with a hyperlink reference. Otherwhise known as <a href />. Now lets make a link. Add to the text of the body tag <a href=”test.html”>test page</a>. When you save the file, refresh the page, and press on the link, you will be taken to the test.html page. A good idea would be to add the reverse link on the test.html page, like <a href=”index.html”>Go Back</a>

If you would like to open the page into a new tab (or new window if your using XP) use <a href=”test.html” target=”_new”>test page</a>.

Creating an image is simple, as shown in the first part. Create the image tag with source. Lets say our image file is called image.jpg, our image tag would look like this <img src=”image.jpg” />. Keep in mind our path is shown at the same time. So this example only works in the image.jpg file is directly next to our page file. Lets say our image file is in a folder next to the page file called IMAGES. Then our image tag should look like this <img src=”IMAGES/image.jpg” />. Our current page, should look something like this…

<html>
<head><title>This is an Example Title</title></head>
<body>This is my website!<br>
<a href=”test.html” target=”_new”>test page</a><br>
<img src=”IMAGES/image.jpg” />
</body></html>

Good styling techniques to use are to include line breaks <br>, and to use tables. Using tables without software to assist you will be a challenge. If you want to put images next to text, or to make text on top of images, this would be a great way. Don’t forget you can remove borders from tables, and change width and height properties.

Once you master HTML styling, follow me over to part 3 where we will learn about CSS (Cascading Style Sheets)!

Nintendo 64 Controller Playing WoW and other PC games

Use your N64 Controller (or other joysticks) to play World of Warcraft and other PC games.

A few things are needed. First, you need a controller (N64).
Second, a program that can convert the buttons to keyboard keys (xpadder).
You configure the program (xpadder) to whatever keys you want for the keyboard, and thats it!

How to make a website (Part 1)

Host a website on your computer for development purposes.

This video will show you how to begin programming websites. If you’re new to making websites, and need someone to show you how, watch this video.

Great for people who want to make something for a hobby, business or to sell something, but haven’t used HTML before and want to see how difficult it is to make a website.

I will however recommend using Adobe Dreamweaver if you want to become a serious website developer, as notepad will eventually slow you down.

1) Download and install WAMP
2) Make an index file (index.html) and place it into your www folder (C:\wamp\www)
3) Visit your site, using your external IP address (whatismyip.com)

After you’re done watching the video, setting up your free web server, and creating your index.html file, follow me over to part 2 where we learn about HTML styling techniques.