Posts Tagged ‘tutorials’

Video Tutorial: How to install Windows on a Mac

July 16, 2009

I was recently contacted by a friend who was requesting help with installing Windows on his Mac, so I thought I’d make the video tutorial above to show others how to do it as well.

There are many tutorials on this topic. This particular method uses VirtualBox to install Windows XP on an Intel Mac.

This tutorial also assumes that you already have a disk image of Windows XP. The exact copy of Windows used in this tutorial was pirated from here. Downloading torrents is not within the scope of this tutorial.

Reasons I like this method

Like all original content that I create, this video tutorial has been set free from any copyrights.

If you have any questions, feel free to leave a comment. I’ll try my best to answer them.

Video Tutorial Overview

  1. Install VirtualBox.
  2. Create a new virtual machine.
  3. Install Windows.
  4. Install Guest Additions.

License


CC0


To the extent possible under law, jorel314
has waived all copyright and related or neighboring rights to
Video Tutorial: How to install Windows on a Mac.

~~~~

- More of my tutorials (feed)
- Arrr! Prepare to be boarded. (feed)
- Alpha Nerd (feed)
- Set Free (feed)

Tutorial: How to Loop a YouTube Playlist

April 11, 2009

The video above is an example of a YouTube playlist that loops forever. It consists of 3 Jon Lajoie music videos that I never get tired of hearing. Here’s how you can have your very own looping YouTube playlist.

  1. Login to YouTube. If you don’t have an account, get one here…
    http://www.youtube.com/signup
  2. Go to a YouTube video that you like.
  3. Click “Playlists” near the bottom of the video.
  4. Make sure “[ New Playlist ]” is selected, then click “Add”.
  5. Enter whatever you want for “Playlist Name” and “Description”, then click “Save Playlist Info”.
  6. Go to another video that you want to add to the playlist you created and click “Playlists” again near the bottom of the video.
  7. This time, make sure the name of your playlist you created earlier is selected, then click “Add”. Do this for anymore videos you want in the playlist.
  8. When you’re done adding videos to the playlist, click your username at the top of the screen.
  9. Click “Playlists” which is also near the top of the screen.
  10. Find the name of the playlist you want to loop and click it.
  11. Copy and paste the contents of “Playlist/URL (Permalink):” into the YouTube Playlist Looper at following link…
    http://ia331413.us.archive.org/3/items/YoutubePlaylistLooper/youtube_playlist_looper.html
  12. After pasting the permalink into the YouTube Playlist Looper, click “submit”.
  13. Your YouTube playlist should automatically start playing and start over when it reaches the end.
  14. You also have the option to copy and paste the resulting code to loop your playlist on your own website.

Ta da! That’s it. Enjoy your infinite playlist.

If you are interested in how I created the YouTube Playlist Looper, read on.

First, I googled “loop youtube playlist”. The first page of results didn’t have any solutions I liked, but it did have a link to a blog post that gave me a clue on how I might be able to loop a YouTube playlist.

Here’s the blog post that mentions the 2 parameters “&loop=1″ and “&autoplay=1″ that I needed to add to a playlist’s embed code…

http://googlesystem.blogspot.com/2008/06/play-youtube-videos-in-loop.html

To get a playlist’s embed code, I had to hover over my username in YouTube, then click “Playlists”. Then, I had to click the playlist name that I wanted to loop. Where it says “Embed:”, is the code I had to add the two parameters to.

The rest is pretty self explanatory if you understand JavaScript and view the source code of the YouTube Playlist Looper. I just had to get a user to input the ID of the playlist they wanted looped. Then, I returned the code with the 2 parameters automatically appended to the embed code that YouTube provided.

I did have some trouble with the display after hitting “submit”, but a quick trip to the javascript IRC channel helped me find my answer (see below).

As with everything I create, the YouTube Playlist Looper has been set free from any copyrights using the CC0 waiver.

Correspondence with temp01

#javascript@irc.freenode.net (4/11/09)
[10:42pm] jorel314: hello…
[10:44pm] jorel314: anyone care to help a javascript noob?
[10:44pm] temp01: maybe.. if the noob asks a question
[10:45pm] jorel314: I created this form that lets you loop a youtube playlist.. i was wondering how to get the results on the same page as the form..
[10:45pm] jorel314: http://dl.getdropbox.com/u/154234/youtube_playlist_looper.html
[10:46pm] jorel314: right now.. when I click submit.. the form disappears when the results show…
[10:46pm] temp01: firstChild.nodeValue = document.write .. lol
[10:47pm] jorel314: i’d like the results to appear on the same page…
[10:47pm] jorel314: be gentle.. it’s my first javascript program…
[10:47pm] temp01: sorry couldnt resist
[10:47pm] jorel314: i tried innerhtml..
[10:48pm] jorel314: but i don’t think that is part of DOM…
[10:49pm] temp01: jorel314: getElementById(‘results’).innerHTML = “<h1>PREVI….”
[10:50pm] jorel314: ok.. let me try that out..
[10:50pm] temp01: 99% of what you are using.. is not part of DOM
[10:51pm] temp01: i.e. standards-compliant
[10:51pm] jorel314: i was trying to get functionality first.. then fix it up to standards..
[10:54pm] jorel314: thanks temp01, it worked! http://dl.getdropbox.com/u/154234/youtube_playlist_looper_0.2.html

~~~~

- More of my tutorials (feed)
- Alpha Nerd (feed)
- Set Free (feed)

Tutorial: How to make a Silent Ringtone

March 2, 2009


cc photo by Sara Petagna

Problem

I never answer calls from a number that I don’t know. If it’s important they’ll leave a message. I have this one caller that calls me everyday and never leaves a message. I’m thinking it’s an automated call. How do I prevent the caller from interrupting me on a daily basis?

A Solution

As I mentioned before, I have a Nokia N85 mobile phone. Either there isn’t a built in way to block calls from certain numbers, or I’m blind and just can’t find this feature. In any case, here’s a quick and dirty workaround.

I can easily assign ringtones for certain numbers. Therefore, a silent ringtone would prevent the unwanted call from bothering me.

Here’s the 1 second silent ringtone I created which is available to download from archive.org

http://www.archive.org/download/SilentRingtone/silence.mp3

Like everything I create, the silent ringtone has been set free from any copyrights using the CC0 waiver.

If you don’t want to use the silent ringtone I created, here’s how to create it yourself using a Mac.

Overview

  1. Install Audacity
  2. Install LAME MP3 Encoder
  3. Create Silence
  4. Export Silent Audio File

1. Install Audacity

Audacity is an open source audio editing application. You can download it here…
http://audacity.sourceforge.net/download/beta_mac

2. Install LAME MP3 Encoder

LAME MP3 Encoder lets us create mp3 files. You can download it here…
http://lame.buanzo.com.ar/

3. Create Silence

  • In your Applications folder, open up Audacity.
  • In Audacity’s menu, go to “Generate” > “Silence…”
  • In the “Silence Generator” window, enter “000,001 seconds” and click “OK”

4. Export Silent Audio File

  • In Audacity’s menu, go to “File” > “Export…”
  • In the “Edit Metadata” window, click “OK”
  • In the “Save As:” field, enter “silence.mp3″
  • Choose a folder to save it in.
  • In the “Format:” field, choose “MP3 Files” and click “Options…”
  • For “Bit Rate Mode:”, choose “Constant”
  • For “Quality”, choose “8 kbps”
  • For “Channel Mode”, choose “Joint Stereo” and click “OK”
  • Click “Save”
  • An “Invalid sample rate” message should appear.
  • For “Sample Rates”, choose “8000″ and click “OK”.

You should now have a silent mp3 that you can use as a ringtone for phones that support truetones.

~~~~

- More of my tutorials (feed)
- Alpha Nerd (feed)
- Set Free (feed)

Tutorial: How to Crack WEP on a Mac

December 13, 2008


cc photo by sara b.

UPDATE (01/26/09 @ 8:03 pm):
For Windows instructions, see this comment.

On an earlier post, I mentioned I recently cracked a WEP protected network. There are many tutorials on this topic. Here’s a method that worked for me which doesn’t require you to use the command line.

For this tutorial, I’ll be using a MacBook. It’s a MB062LL/A running Mac OS X 10.5.5 to be exact, but this method should work with any x86 Mac running Leopard with an AirPort card.

Overview

  1. Find Available Wireless Networks
  2. Get Gear
  3. Boot Backtrack
  4. Use kismet
  5. Use SpoonWep

Find Available Wireless Networks

To find available wireless networks…

  1. Click the AirPort Icon
  2. Click each network that has a lock icon next to it
  3. Make note of the networks that require a WEP password

If you don’t see any WEP networks, try moving your computer to a different location for more networks to scan until you find one.

Get Gear

You will need the following…

You can download BackTrack here. I downloaded the CD Image named “bt3-final.iso” and burned it to a CD.

To Burn the BackTrack 3 ISO File…

  1. In Finder, right-click the downloaded “bt3-final.iso” file
  2. Choose “Open With”
  3. Click “Disk Utility”
  4. In Disk Utility, click “bt3-final.iso”
  5. Click the “Burn” icon
  6. Insert a blank CD and wait for it to be recognized
  7. Click “Burn”

You should now have a BackTrack 3 live CD.

The MacBook’s Airport Card that I’m using can’t be used with BackTrack to crack WEP. Instead, I used a USB WiFi adapter. You can find a list of compatible ones here.

I chose the Hawking HWUG1. You can buy one online at Newegg. If you’d rather buy locally, you can pick one up at BestBuy.

Boot BackTrack

  1. Insert BackTrack 3 Live CD
  2. Restart Mac
  3. When you hear the chime, hold down the “c” key until BackTrack starts to automatically boot. It’ll play a sound when it’s done loading.
  4. Connect the USB WiFi Adapter

Use kismet

  1. Click the blue KDE icon on the bottom-left of the screen
  2. Choose “Backtrack” then “Radio Network Analysis” then “80211″ then “All” then click “Kismet”
  3. Select network device (“rausb0″ for the Hawking HWUG1) and click “OK”.
  4. After kismet lists available networks, press the “s” key then the “w” key to group the WEP networks together. You should see the WEP networks you noted earlier.
  5. Navigate to the WEP network you want to crack first and press “enter”. You should now see the network’s details.

Use SpoonWEP

  1. Click the KDE icon again then choose “Backtrack” then “Radio Network Analysis” then “80211″ then “All” then click “SPoonWep”
  2. You should now have both the kismet and SpoonWep windows showing
  3. In SpoonWep, enter the “Victim Mac” by typing the “BSSID” address you see from the kismet window
  4. Click “CHOOSE A CARD”
  5. Click your card (“RAUSB0″ for the Hawking HWUG1)
  6. Check the “Ath” box
  7. Match the “Channel” with the one from the kismet window
  8. Set the “Inj Rate” to “1000″
  9. Click “LAUNCH”
  10. “Currently” should say “Nothing” then “ASSOCIATING” then “ATTACKING then “GATHERING ARP”. After “Captured” reaches “20000 IV S” it should say “Cracking WEP”
  11. Make note of the resulting WEP Key for that particular network
  12. In kismet, press the “q” key to get back to the network list. Repeat the steps for as many WEP protected networks you want.
  13. Disconnect the USB WiFi Adapter
  14. Restart the comptuer

Congratulations, now you can enter the WEP key (without the colons) as the password for the wireless networks.

Some WEP protected networks take less than 5 minutes to crack. If the first WEP network you try takes too long, try moving on to another one.

Please comment if this method worked for you, or if you know an easier way. At a later date, I’ll try to put up a video tutorial.

~~~~

- More of my tutorials (feed)
- Alpha Nerd (feed)