Can I push/pull directly from my google drive online?

No, you can’t. There’s no git running on Google drive. I would also suggest against Google drive/Dropbox based solutions, and go for a git hosting solution instead. For example Bitbucket which offers some free private repositories. You can find some comparison information about different git hosting sites here. As people have pointed out (and as … Read more

Download a file from google drive using wget

Insert your file ID into this URL (https://drive.google.com/uc?export=download&id=), then surround the URL with quotes so that Bash doesn’t misinterpret the &, like so: wget “https://drive.google.com/uc?export=download&id=0Bz7KyqmuGsilT0J5dmRCM0ROVHc” Reference here. When downloading big files, Google Drive adds a security warning that breaks the script above. In that case, you can download the file using: wget –load-cookies /tmp/cookies.txt “https://docs.google.com/uc?export=download&confirm=$(wget … Read more

Google Drive MD5 checksum for files

edit: NB these instructions have changed slightly for the v3 API I’ve figured out a quick way to get the MD5 checksums of the files uploaded and decided to share it here, too. Log into your Google Drive account, then: Visit: https://developers.google.com/drive/v3/reference/files/list Scroll down to the Try it! section. Change “Authorize requests using OAuth 2.0” … Read more

Script runtime execution time limit

One thing you could do (this of course depends on what you are trying to accomplish) is: Store the necessary information (i.e. like a loop counter) in a spreadsheet or another permanent store(i.e. ScriptProperties). Have your script terminate every five minutes or so. Set up a time driven trigger to run the script every five … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)