Tuesday, September 20, 2011

TuneViewer : An alternative open source iTunes Viewer for Ubuntu and more

For the past 4 days my old T61 laptop has been on for running winows xp with iTunes running because I have downloading 1semester worth of iTunes University videos.

On the 4th day I notice that my laptop is overheating thus prompting my laptop to shutdown to not set the motherboard with the cpu into flames. For the record my T61 has been around since 2007 it's almost 4 years old.

This has not been the case when it is running on my main operating system which is Ubuntu 10.10 my laptop would just peak at 80C - 90C when there are 2 server virtual machine running and a browser playing a flash video on the host system.

Since I only wanted to download the videos and not really run any virtual machines. I have looked around for an alternative solution like if there were an application available in the open source world that would let view the videos in iTunes University and at the same time download them.

Fired up a google search for an alternative iTunes viewer for Ubuntu and that lead me to TuneViewer. I downloaded the deb file and runned "sudo dpkg -i " on the downloaded deb file. One thing I stumbled upon running TunesViewer is it require pyton-lxml which a quich "sudo apt-get install " will quickly address. For Ubuntu 10.10 yiu can find TunesViewer in "Application->Internet"


You can even take this further because both iTunes and TunesViewer doesn't have some sort of resume feature thus after download 700 megs worth of data from a 800 megs video you will have to redownload the whole 800 megs again and hopefully succeed.

My work around for this with TunesViewer. I inspect or get the information of the video and from there get the absolute path of the file in the web. I then copy and paste this URL in a download manager like Firefox Addon downthemall. Take note using this approach you will have to rename the file that is being downloaded to it's appropriate as it wiil name the file being downloaded as Episode-1.mp4



- Posted using BlogPress from my iPad

Sunday, September 18, 2011

How To : Troubleshoot iPad No Sound Issue

First a disclaimer that this workaround is not the universal ipad no sound issue fix them all. This just happens to be a duct tape fix i do everytime i encounter this ipad no sound issue. I'm documenting and sharing it here at my blog for everyone an anyone to try on at their own risk.

I usually encounter this issue after playing a cracked app A.B. on the iPad.

The symptoms would be:

1. There is no sound on any iPad app like games.
2. Playing the iPod app sometimes have sound when playing music.
3. Make sure you're Side Switch is no either set to Mute or Enabled (you can see a red dot)

To try to fix:

1. Close all applications.
2. Double click the home button.
3. Hold an app for a couple of seconds to display those RED (-) marks icon at the top leftmost part of the app icon.
4. Tap those RED marks and close them all until nothing is left.
5. Press the home button or Tap anywhere outside the area where the running applications are displayed to return to the iPad home screen.
6. Tap Settings ipad app and go to General to check and make sure to set the Side Switch to be used for Mute.
7. Flip the Side Switch of your iPad enough to make one round of switch of enable or disable and making sure it is set to enable.
8. Try to open any application that you know has a working sound but not a cracked app such as a popular A.B.

The sound should be working back again.

System:

iPad 2
iOS 4.3.3
Jailbrake

- Posted using BlogPress from my iPad

Saturday, March 19, 2011

How to "svn export" like in Git

Let's clone a read-only git repository first using the ff example usage of the git clone command

git clone git://github.com/garrizaldy/squall.git

Now that we have a 'read-only' repository of the source code we want to execute a svn export like command.  We will be using git's checkout-index to perform something very similar to a svn export against a repository. You can use the ff guidelines below :

# checkout or export
# -a, --all checks out all files in the index. Cannot be used together with explicit filenames.
# -f forces overwrite of existing files
# --prefix When creating files, prepend (usually a directory including a trailing /)

git checkout-index -a -f --prefix=/path/to/directory/

Tuesday, September 28, 2010

Installing VirtualBox Guest Additions 3.2 in Centos 5.5

Before starting up your Centos 5.5 VirtualBox instance, make sure you set the VirtualBox Guest Addition ISO in the virtual cdrom drive.


Now prepare your Centos 5.5 VirtualBox instance.


yum install gcc kernel-devel-`uname -r`


# mount the VirtualBox Guest Additions ISO


mkdir /media/cdrom;


mount /dev/cdrom /media/cdrom


# assuming your Centos 5.5 is 64 bit
sh /media/cdrom/VBoxLinuxAdditions-amd64.run


# assuming your Centos 5.5 is 32 bit
sh /media/cdrom/VBoxLinuxAdditions-x86.run


reboot

Friday, September 17, 2010

Speed up Netbeans 6.9

Here are some configuration to speed up Netbeans.

${HOME} is where your netbeans is installed.

${HOME}/etc/netbeans.conf

Replace or comment out first the default netbeans_default_options and paste the configuration below it.


Windows:

netbeans_default_options="-J-Xverify:none -J-client -J-Xss2m -J-Xms128m -J-XX:PermSize=256m -J-XX:MaxPermSize=512m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dapple.awt.graphics.UseQuartz=true"

Ubuntu:

netbeans_default_options="-J-Xverify:none -J-client -J-Xss2m -J-Xms128m -J-Xmx1024m -J-XX:PermSize=256m -J-XX:MaxPermSize=512m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"

Mac OS X:

netbeans_default_options="-J-Xverify:none -J-client -J-Xss2m -J-Xms128m -J-XX:PermSize=256m -J-XX:MaxPermSize=512m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dapple.awt.graphics.UseQuartz=true"

Friday, March 19, 2010

How to connect to Facebook Chat

Since everyone are now more likely to login in their facebook.com account rather than their respective IM account. I decided to connect to facebook.com chat using Pidgin since I'm not the type who spends hours logged in facebook.com

Here a setting how you can also connect to facebook.com chat service.

Pidgin:

Go to "Accounts" and select "Manage Accounts."
On the Basic tab, enter the following info:
Protocol: XMPP
Username: (your Facebook username)
Domain: chat.facebook.com
Resource: Pidgin
Password: (your Facebook password)
Local alias: (your name)
Click the Advanced tab, then enter the following info:
Connect port: 5222
Connect server: chat.facebook.com
(Uncheck the box labeled "Require SSL/TLS")

Sunday, March 14, 2010

How to install SopCast

How to install SopCast in Ubuntu Linux

Open a Terminal

Applications -> Accessories -> Terminal

Execute the following commands below:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CD30EE56
sudo gedit /etc/apt/sources.list.d/sopcasts.list

A text editor should have pop up.

Copy the content inside the box based on your ubuntu version.


Lucid Lynx 10.04
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu lucid main 
deb-src http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu lucid main 
Karmic Koala 9.10
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main 
deb-src http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main 
Jaunty Jackalope 9.04
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu jaunty main 
deb-src http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu jaunty main 
Intrepid Ibex 8.10
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu intrepid main 
deb-src http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu intrepid main 
Hardy Heron 8.04
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu hardy main 
deb-src http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu hardy main 


Paste the content you just copied from the box inside the Text Editor and Save.


Going back on the Terminal continue to execute the following of commands:
sudo apt-get update

sudo apt-get install  sp-auth sopcast-player

Launch SopCast Player

Applications -> Sound & Video -> SopCast Player

Add Your SopCast Channel

File -> Open

Type or Paste the SopCast Channel and press OK button

Click OK

Add it to your bookmark for future use.