Google Apps Script to backup Docs from Google Drive

This script for Google Drive finds all Google Doc-files inside Drive, converts them to PDF and sends them via (one or more) emails to the currently logged in user. Since there’s a quota of 25 MB for attachments in one email the script sends multiple emails if the PDFs get too large.

As a backup it’s useful to have a copy of the Doc files because they exist only as links on your local Drive folder, so in case you accidentally delete them (or something goes wrong at Google, which is not very probable) you at least have a read-only copy.

The script is used as a web-app, so it can be triggered via a URL.

Continue reading “Google Apps Script to backup Docs from Google Drive”

Website switch to PHP7

I switched the website to PHP 7, in order to develop some projects directly with more speed and the latest php version. The disadvantage is that some plugins here are not yet php 7 ready, so the next weeks some glitches and/or broken pages might be visible…

Website cleanup – RSS feed

Received an email from google today claiming there may be some suspicious content on the subdomain feeds.chipwreck.de – which is just a DNS redirect to Feedburner (a dying RSS service which was bought by Google some time ago). The warning only occurred for this single subdomain, not for this website.

I had a look with several tools, looked into the database and the filesystem but didn’t find anything irregular. Either this was a false positive or the suspicious content is somehow related to Feedburner. Nevertheless I switched off the subdomain and removed the Feedburner service (which was a good idea anyway, the service has been rumored to shutdown). So if you can’t access the RSS feed anymore point your reader tohttps://www.chipwreck.de/blog/feed/.

Some other parts of the website are also a bit out of date, like “Bookmark this on Technorati!”, Flattr links to my inactive account etc. And the end of the year is a good time to clean up the website.

Coda PHP & Web Toolkit – Source code

If you are adventurous you might have a look at the PHP & Web Toolkit source code here:
bitbucket.org/mariofischer/php-web-toolkit/.

Beware: Since this was my first (and nearly only) project in Objective-C with Xcode I’m sure it’s a mess. The repository wasn’t meant to be public in the beginning but only for my personal use, therefore I committed just the whole project – which probably isn’t the best way to go. Nevertheless with some experience it should be possible to build the plugin.