Thursday, February 20, 2014

How to download Youtube Video on Firefox. 2 tips and tricks (easyway)




   Back in the days when there is no Youtube, people store their video in their hard drive.For some people who were born in the 80 or early 90's ,peer to peer sharing application like Napster,Kazaa or even mIRC plays an important role to share videos and musics .With the high speed internet and cheap broadband internet,people now days just depend on server over the internet to get what they are looking for. But for some, they still want to keep videos or musics in their drive and watch it later on when they are offline.

   In this post, I'm going to share how you can download youtube video using  Firefox. I will share two ways on how to do this  which is :

1.Using Firefox Add Ons (Best Downloader add on)
2.Using Website ("pwn"command)



1. Using Firefox Add Ons (Best Downloader add on)


1.1) Go to Tools>Add ons or pre  Shift+Ctrl +A

1.2) Search for Add ons "Best  Video Downloader"

Best video Downloader
1.3) Install the add ons

1.4) Before using this plugin,refresh your browser by close it and open it in new window .

1.5) To use this add ons, go to the video you want to download and click the button below the video and select the video quality
Select video type

1.6) Save video to your drive

Save to drive
2.Using Website ("pwn"command)

This is an easy one . You don't need to install anything and just use your current Firefox and add "pwn" on the video that you want to dowload


2.1) Go to the video that you want to download add "pwn" on youtube link .

if the initial video link has http://www.youtube.com/watch?v=mvFbbtCkoTs

change it to http://www.pwnyoutube.com/watch?v=mvFbbtCkoTs


Add "pwn"


2.2) It will then redirect to "deturl.com" website . You can select what format type you want to download and where you want to download. In my example, I'm select from "SaveFrom"



2.3) It will then redirect to another website "savefrom.net" . wait till there is a download link select video type click and download the file to your drive .

savefrom



Saturday, February 15, 2014

How to use "ls" Bash command . 10 tips and tricks



  
   In this post, I'm going to share practical tips on how to use "ls" command . These command I found useful when dealing with Linux environment . You can mix up the command base on it's function as how I show in the video

Content List 

1. List all entries -a
2. List all details file and directories -l
3. List one file per line -1
4. List file size in human readable form -h
5. List directory details -ld
6. List file base on last modified time -lt
7. List file  base on reverse  last modified time -ltr
8. List file directory recursively -R
9 . List file inode -i
10 . List  file alphabetically by extension


1. List all entries "ls -a"

ls -a

2. List all details file and directories  "ls -l"

ls -l

3. List one file per line "ls -1"
ls -1


4. List file size in human readable form  "ls -h"

ls -lh



5. List directory details  "ls -ld"

ls -ld


6. List file base on last modified time "ls -lt"

ls -lt

7. List file  base on reverse  last modified time  "ls -ltr"

ls -ltr

8. List file directory recursively  "ls -R"

ls -R

9 . List file i-node  "ls -i"

i-node or index node is a data structure  base on Unix style filesystem .Each i-node stores the attributes and disk block locations of the filesystem object's data. For more information please visit here .

ls -i

10 . List  file alphabetically by extension "ls -X"

ls -X




Read Previous :How to use rsync .8 tips and tricks
Read Next:How to resize image file on Ubuntu (easy)

Friday, February 7, 2014

How to add Google Adsense Custom Search on Blogger/Blogspot






  In this post, I'm going to share how you can add  Adsense Google Custom Search on Blogger/Blogspot. If you want to maximize your  Google Adsense this step is a must .



Below is summary what we will be doing throughout this tutorial


Steps 

1. Create Google Custom Search from your Adsense account
2. Create new empty landing page on your Blogger/Blogspot  .
3. Generate Google html code from Adsense page and paste into your landing page
4. Add Google search box in your Blogger/Blogspot
5. Re adjust your Blogger/Blogspot layout width .



Steps

------
1. Create Google Custom Search from your Adsense account


1.1 Login to "Adsense account > My Ads > Search >New custom search engine"


Adding new custom search


1.2 Fill in the form





Adding New Custom Search



2. Create new empty landing page on your Blogger/Blogspot  .



2.1 Create a new empty page as a landing page and name it as "search result" . Select  an older date so that it will publish as an old post . I choose a date before I start post anything.


Creating a new post


2.2  On the Options, click "Don't allow"  for reader comments. and click "Publish" .


Disable Reader comment on your result page



3.1 Fill in the box for your landing page URL on Adsense Google Custom page .

"Click Save and get code"

Saving landing page URL


3.2 It will direct to the Search Box Code page. "Copy  search result code and paste into your landing page HTML search result page".






Copy search result code

paste into your page HTML code 



3.3 "Copy Popular Queries code and past it again in search result HTML page" 


Copy Popular queries code





Paste into your HTML search result

3.4 Don't forget to save the page and "Publish" it :-)


4. Add Google search box in your Blogger/Blogspot .

4.1 Go to "Layout >Add Gadget>HTML/Javascript"

Adding Google Search box


4.2 "Copy Search box code and paste it in the Blogger HTML/Javascript "


Copy HTML Search boxcode

Paste in HTML/Javascript



4.3 Test it . Go to your site and use the search box . Search for anything . See how does the return result page turn out . If you have overlay problem as below,continue reading . :-)

Return Result overlay on return result page

5. Re adjust your Blogger/Blogspot template layout width .

5.1 Go to "Template >Customise " 

Adjusting template width


5.2 . Adjust and test until you satisfied with the result. My site





Final result