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:
How to Install Burg Boot Loader in Ubuntu 13.04 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
Hard Work
Best Speech Ever
Steve Jobs Commencement Speech at Stanford
Innovations
Innovations Need Freedom
No Sound Problem in Ubuntu 13.04 [Fixed]
About a month i am facing audio problem in ubuntu 13.04, After upgrading from ubuntu 12.10. I am unable hear music. I am unable to see volume control option in system tray. My audio output device is not recognized. But i can able to hear music using Headset.
I fix it by re-installing alsa-base and pluseaudio packages, by executing following commands,
sudo apt-get remove –purge alsa-base pulseaudio
sudo apt-get install alsa-base pulseaudio
then reload alsa by executing command,
sudo alsa force-reload
Then i reboot my system, problem is fixed.
useful links,
https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/230049