In this blog post, lets learn how to integrate Apache Cordova’s official Facebook plugin in to a project.
Continue reading
Youtube-dl
Youtube-dl provide command line interface to download youtube videos. It need python to run.
Syntax: youtube-dl [options] [youtube_url]
It may look hard compared to other downloader, browser add-ons, but it is very useful in case of downloading complete playlist, all video uploaded by a user. we can pass playlist url, user profile url to do so.
we can go further using shell script to automate downloading sequence of videos. we can store the links we want to download in file, then create shell program to fetch each line in that file and pass it as parameter to youtube-dl.
Here is sample script to download sequence of video in webm format.
https://github.com/PraveenVignesh/sequence_download_youtube_dl
Burg – colorful alternative to Grub
Burg is bootloader similar to grub, which contain themes and customization. we can install burg using
sudo add-apt-repository ppa:n-muench/burg
sudo apt-get update
sudo apt-get install burg burg-themes
sudo burg-install “(hd0)”
sudo update-burg
we can change theme using f2. we can check by running emulator, sudo burg-emu.
usually bootloader display many option, we can remove/edit using GUI application grub customizer. it provide different option customizing grub, burg.
when we install additional OS, update ubuntu or other, it replace default boot loader. we can get back burg by running, sudo burg-install /dev/sda
useful link:
http://www.unixmen.com/how-to-install-burg-boot-loader-in-ubuntu-1304-and-linuxmint/
brightness control is not working in ubuntu
I am using acer aspire e1531, ubuntu 13.10. I cannot adjust brightness of screen, it show symbol of decreasing brightness, but no effect in screen. Not only in ubuntu 13.10, but also in ubuntu 13,04. I control brightness using command.
echo 600 | sudo tee /sys/class/backlight/intel_backlight/brightness
you can change value from 1 – 976 (for my laptop model, you can see upper bound of brightness value using command, cat /sys/class/backlight/intel_backlight/max_brightness).
scrolling not working after upgrading to ubuntu 13.10
Actually two finger scrolling is default in ubuntu 13.10.
we can customize to back as follows,
go to settings–> mouse & touchpad, uncheck two finger scroll.
Facebook login in localhost
while creating facebook app, leave app domain empty and just add website url as localhost or localhost:3000.
useful links:
https://www.facebook.com/help/community/question/?id=1388758894729874
http://stackoverflow.com/questions/4532721/facebook-development-in-localhost


