Skip to main content

Posts

Showing posts from July, 2016

Configuration for PyDrive in Google Drive Before Run Authentication Script

- Go to " console.developers.google.com " - Then Go to " console.developers.google.com/iam-admin/projects " - Create your own Project - Go to " Service Accounts " menu and Enable "API" to On - Go to " API Manager " menu and then Go to "Credentials" - Clicked on " Create Credentials " and Clicked on " OAuth Client ID " - Give Some " Project Name " in " OAuth Consent Screen " page and saved it - Select "Application Type" to be Web Application - Enter " http://localhost:8080 " in "Authorized Java Scripts" - Enter "  http://localhost:8080/  " in "Authorized redirect URIs" and save it - Download JSON file and Rename to " client_secrets.json " and Put this file in working directory Problem Faced By Mine : - Json file name with client_id. So it throws some error Solution : Should rename to "client_secr...

Compress File Into Zip Format In Linux Using Terminal

- Launch Terminal - Check if "tar" package was installed in your system if not Please installed it before proceed next step - Type the following command in Terminal tar  -czvf  filename.zip  /pathfordirectory -c : Create an Archive -z : Compress an Archive with Zip File Format ( Can Also Format as tar.gz ) -v : This is an Optional. It displays the process of Archive in Terminal. It's also Called as " Verbose ". -f : Allows to Specify File Name for the Archive