Hacks


Found and Hacks and feature and video and youtube and Exclusive and bestAmit on 05 Nov 2008 08:20 am

youtube-highIf you are looking to download some high-res video clips from YouTube for your next presentation, try this easy trick that will only display high quality videos in the search results.

Go to Google.com, type your search phrase and append the following paramters your search query.

site:youtube.com "watch in normal quality watch in high quality"

To illustrate this with a real example, a search for "cnn hologram" related videos on YouTube would look something like this on Google:

cnn hologram "watch in normal quality watch in high quality" site:youtube.com

This works because YouTube adds a small "watch in high quality" link beneath their video player if the video you are watching is available as high resolution.

When you click that "high quality" link, it is replaced by "watch in normal quality" so the two strings are really close in the HTML source and that helps us filter low quality videos from search.

Related posts:

  1. New YouTube Player To Stream Better Quality Videos
  2. Import Videos from YouTube, MySpace in Facebook
  3. How Many Videos Have You Watched on YouTube ?

Search High Resolution Videos on YouTube - Digital Inspiration

Found and Hacks and hardware and mba and mods and superdriveBrett Terpstra on 24 Jun 2008 09:00 am

Filed under: , ,

If you've got a MacBook Air SuperDrive and you've been hankering to use it with other computers (Mac or PC), tnkgrl over at tnkgrl Mobile has a solution. With a $9 part and some intestinal fortitude, you too can make your MBA Superdrive universally compatible.

Using the drive with other computers has been a desire from its inception. After some experimentation, tnkgrl found that simply replacing the IDE to USB bridge within the drive did the trick. Of course, that means removing the daughter-board and relocating the 12 MHz crystal. For an experienced hardware hacker, no sweat. For the average Joe, well, it's quite obviously an at-your-own-risk situation.

Check out the post at tnkgrl Mobile for the details.

Read | Permalink | Email this | Comments

Entertainment and Mac and Music and Web and HacksRex Pechler on 20 May 2008 01:54 am

Ever since I installed MobileScrobbler on my iPhone, I’ve been using Last.fm a lot … like almost every day, and for hours at a time. Here’s my profile. Last.fm “scrobbles” (keeps track of what you listen to, and uploads that info) your music, and my iPhone automatically does this when I listen to anything in the iPod feature, and so does my Mac when I listen to anything in iTunes. Why do I want to do this? For posterity, as you might imagine, but Last.fm also provides music recommendations in the form of a personalized radio station. And the personalized radio station is what I really love. I mean, you press play, and you’ve got all sorts of new stuff to listen to, and the percentage of it that I like is much higher than listening to anything else. And it’s more interactive, because I can teach the system my preferences by pressing either the “Love” or “Ban” buttons.

Anyway, MobileScrobbler lets me read lyrics while I listen to songs… Which I LOVE doing. That Mac version however, does -not- do this. I was able however, to find a Greasemonkey script that adds lyrics to the song page on Last.fm, and therefore enables a workaround. (Greasemonkey is a FireFox plugin that I use daily… it let’s you add things to, and modify websites. People make scripts to make all sorts of websites do all sorts of cool things. Check out http://userscripts.org for examples).

My workaround is this: Listen in the Last.fm app. When I want to read lyrics for the current song, just click the link in the app to open up the song page at last.fm. The greasemonkey script shows the lyrics right there for me. Works.

Oh, and then I can also comment on the song right there too, another feature I’d like to see added to the Last.fm Mac client.

Entertainment and Mac and Music and Productivity and HacksRex Pechler on 21 Jan 2008 02:20 am

Ever playing music for other people from iTunes? And want to change the song without everyone noticing? Trying to do a manual fade is tough. This script lets you select the next song you want to play, and then fade the volume out and in to that track. Download: itunes-fade-to-selected-track.zip


property initialVolume : null
tell application "iTunes"
set speed to 5 -- lower means slower fade
if sound volume = 0 then -- if volume is all the way down, fade in
play
set initialVolume to 60
repeat until (sound volume) is greater than or equal to (initialVolume - speed)
set sound volume to (sound volume + speed)
end repeat
set sound volume to initialVolume
else -- fade out, skip to selected track, fade in
set initialVolume to (get sound volume)
repeat until (sound volume - speed) is less than or equal to 0
set sound volume to (sound volume - speed)
end repeat
set sound volume to 0
play selection
repeat until (sound volume + speed) is greater than or equal to initialVolume
set sound volume to (sound volume + speed)
end repeat
end if
end tell

Mobile and Found and Personal and Web and Hacks and CommunicationRex Pechler on 09 Jan 2008 03:14 pm

I’ve been looking for a way to blog from my iPhone, especially because I wasn’t having much luck with the WP-mail plugin that allows you to post by email.

Anyway, I’m writing right now on my iPhone using a plugin called WPhone, which you can find here: http://wphoneplugin.org

You can now expect a lot more posts from me here!

Mobile and Found and Personal and Web and Hacks and CommunicationRex Pechler on 09 Jan 2008 03:14 pm

I’ve been looking for a way to blog from my iPhone, especially because I wasn’t having much luck with the WP-mail plugin that allows you to post by email.

Anyway, I’m writing right now on my iPhone using a plugin called WPhone, which you can find here: http://wphoneplugin.org

You can now expect a lot more posts from me here!

Mac and HacksRex on 12 Oct 2007 08:52 pm

I think you can tell from the title what this simple applescript does. I’m sure this code could be made much shorter, but I’m really a novice, and this works pretty well, albeit there are no foolproofs.  

Here’s what it does: You select some songs that are already in order (how? see below), say 12 songs that you already arranged. You then run the script… it numbers them 1 of 12, 2 of 12, 3 of 12… and so on up to 12 of 12. You now have a nicely organized album.Album not in order?

Instructions: Select all the album tracks. Make a new playlist from selection (cmd+shift+N). Click the title bar above the first column, in other words: sort by number in playlist. Then, you can rearrange the songs as you like. Now select all the songs, and finally run the script.Ahh, finally some home-brewed automation for sorting out this messy iTunes library. 

--Number Selected Tracks Sequentially
--A simple applescript from Rex Pechler
--http://rex.fm
--
--2007

tell application "iTunes"
if selection is not {} then
set sel to selection
set these_files to {}
set numtracks to the count of sel
set trackcount to 0
with timeout of 30000 seconds
repeat with this_track in sel
if class of this_track is file track then
set trackcount to trackcount + 1
set the track number of this_track to trackcount
set the track count of this_track to numtracks
end if
end repeat
end timeout
else
set count to 0
end if
end tell

Download: the applescript as text or as a binary app.

HacksRex on 10 Oct 2007 09:39 am

At my school, we have a daily upload limit of 2 GB to prevent excessive filesharing. I’ve found various ways around this for using BitTorrent, but I’ve gotten in trouble a couple times as well. Anyway, one of the easiest ways to prevent going over the limit is to set a maximum upload speed in your BitTorrent client that would be equivalent to 2 GB over 24 hours. Normally calculating this is a little tricky for me: I always get confused by the KB versus Kb thing, and such differences really make me doubt my calculations. Anyway, I just typed “2 GB / 24 Hours” into a Google search. Here’s what I got:

That was so much easier! I love you Google Search!