Search blog

Tuesday, December 6, 2016

Check YouTube Music Policies & Copyright Violation

If you want to use a particular song or music in your YouTube video but unsure whether it will lead to copyright violation then you may check its copyright policy at: http://bit.ly/2hb0Wmd.

Often you will be allowed to use the music but will have to share revenue. In such case you might download free music to use in your videos from YouTube itself. To know more check this article of mine: Free YouTube Audio Library - Use Music in your YouTube Videos Without Any Hassle  - http://www.evagabond.me/2016/12/youtube-audio-library-use-music-in-your.html 


Thursday, December 1, 2016

Connect Bluetooth Headset/Headphone to Ubuntu 14.04

If you have been trying to connect your Bluetooth headset/headphone to your Ubuntu 14.04 laptop, and running into errors; here's a simple solution:

1. First run this command in your terminal:

 sudo apt-get install pavucontrol  

2. Now run this command:

 pactl load-module module-bluetooth-discover  

You might have to run the command #2 every time you boot your system. Else you might set it up to start in Start Up Applications.


Tuesday, November 22, 2016

Setup Custom TinyWebDB (App Inventor) in Ubuntu or Linux




1. For this tutorial, you will use two commands from the Google App Engine SDK:
1.1. dev_appserver.py, to run the development web server locally
1.2. appcfg.py, for uploading your app to App Engine -- e.g:  In your terminal run the following command: ~/path-to-your-google-cloud-sdk/platform/google_appengine/appcfg.py update ~/customtinywebdb/appinventordb

2. Custom TinyWebDB Tutorial in App Inventor Website: http://bit.ly/2gCYjKw

3. Download Custom TinyWebDb: http://bit.ly/2fiHT3R

4. Installing Google Cloud SDK for App Engine using Python 2.7 in Ubuntu 14.04: http://bit.ly/2gbpWZE

Monday, November 21, 2016

Installing Google Cloud SDK for App Engine using Python 2.7 in Ubuntu 14.04

This tutorial shows you the various steps to successfully install the Google Cloud SDK for App Engine using Python 2.7 in Ubuntu 14.04.

1. First make sure whether you have Python 2.7 installed or not. Open your terminals and enter the following command:

 $ python -V  

You should similar output as this: Python 2.7.6.

2. Download the SDK for App Engine from here: http://bit.ly/2fe0azC. Make sure you select the Python version.

3. Once your file downloads, extract it in any folder of your choice. In our example we will extract it inside the Home directory. Your SDK path in side the home folder should be like:

 ~/google-cloud-sdk/bin  

Note: In Ubuntu ~ represent the Home directory.

4. Remain in your home folder (do not change directory to your SDK folder) and execute the following commands in your terminal.

 ./google-cloud-sdk/install.sh  

You should be getting the following result as shown in the image below:

Click image to enlarge

5. You will be asked the following questions which you may respond as below:


5.1 To help improve the quality of this product, we collect anonymized usage data  and anonymized stacktraces when crashes are encountered.. You may choose to opt out of this collection now (by choosing 'N' at the below prompt), or at any  time in the future by running the following command:

gcloud config set disable_usage_reporting true

Do you want to help improve the Google Cloud SDK (Y/n)?  N

5.2. Modify profile to update your $PATH and enable shell command
completion? (Y/n)
?  Y

5.3. Enter a path to an rc file to update, or leave blank to use
[/home/evagabond/.bashrc]
: just leave blank and hit enter


Iniitialize SDK


Use the gcloud init command to perform several common SDK setup tasks. These include authorizing the SDK tools to access Google Cloud Platform using your user account credentials and setting up the default SDK configuration.

Once you run the initi command, your default browser will open up and you will be asked to sign into your google account. This will be the account connected to your App Engine and various Google Cloud related services. 

6.1. Open up another terminal and run the following command:

 gcloud init  

6.2 Accept the option to log in using your Google user account:

 To continue, you must log in. Would you like to log in (Y/n)? Y  

For further instructions on initialization you may go through the following Google Documentaiton: http://bit.ly/2gsZdrY

Installing App Engine:

 Once you have successfully performed the installations explained above, you can now install the App Engine by running the following command in your terminal (also refer image below). Make sure you are outside your SDK folder else the command wont execute.

 gcloud components install app-engine-go  



To run App Engin: 

 dev_appserver.py app.yaml  

Helpful Resources by Google:

Top 5 Posts (Weekly)