parsesdkcontent failed when using Eclipse for Android dev

Recently I had some problems with starting Eclipse.

The problems started after I tried to create a Android 4.0 AVD and Eclipse (whole computers) got stuck.

I had to reboot my computer and after it Eclipse wouldn't start anymore without the 'parsesdkcontent failed' error. I tried to redefine the SDK path in the preferences but no luck.

My final solution. Delete the 'bad' avd in my .android folder (both the ini and it subfolder). After this.. Eclipse would start again just fine.

Robert

php-fcgi gave a big load on my server

I recently switched to Nginx. But my first impression wasn't that positive. The websites didn’t run that smooth and the machines memory was all consumed.

But what could it be? There are so many good stories about Nginx essescialy on low-memory machines. So it had te be something in my configuration.

Very soon I noticed that there where a lot of php-fcgi process. But I didn’t know if this was normal or not (I’m just started to learn about php-fcgi ;-) ). But why are there so many process. Well the answer was (luckily) simple: a misconfiguration.

Drupal Nginx and multisite

I'm testing with Nginx and so far so good.

But I encounterd two issues:

  • Domain access module didn't seem the work (a Drupal 7 site)
  • Multisite didn't seem to work (a Drupal 6 multisite)

I started with the first one and it looked like it was a bit difficult for me ( ;-) ). I thought that replacing the fastcgi_param SERVER_NAME with the correct variable would solve this problem:

Change: fastcgi_param SERVER_NAME $server_name;
To: fastcgi_param SERVER_NAME $http_host;

Switching a Drupal site from apache to nginx

When I started with this item, my Drupal site was still running on Apache. But because my server doesn't have that much memory, I thought that I might want to give Nginx a try. I have some experience with it, but not that much.

This is how I did it:

- Started with reading: http://wiki.nginx.org/Drupal

- Checked if the required packages are installed:
php5-cli php5-cgi spawn-fcgi

- Install Nginx ( apt-get install nginx )

Synology files not indexed / updated

Because my TV supports DLNA I enabled the Mediaserver on my Synology.

But unfortunately every (new) file I added to my media folders didn't show up on my TV. Only when I started a reindex, the files are visible in the media libary.

I learned that files are not indexed if you add them by NZBGet (or WinSCP, Telnet, ssh, etc). So I needed I solution.

After some searching I found one:

http://forum.synology.com/enu/viewtopic.php?f=37&t=30242&start=0

Show visitors on WebGL-Globe with the usage of analytics

I recently created some code (link) to display the visitors on a website using the WebGL-Globe project.

I think that was very easy (and I'm not a PHP programmer..)

But I made it even more simpeler, MySQL with Geo information is not needed anymore, just use Analytics!

Here's the code:

<?php

require_once "/gapi-1.3/gapi.class.php";

Show visitors on WebGL-Globe

Recently Google launched there WebGL-Globe project. Link.

I wanted to use it to show (in realtime) where the visitors of a site are coming from. I ended up with the following how-to:

 

Create a Json data file on-the-fly

I needed some code to create a (correct) json datafile with the information information stored in a ‘Log’ table:

Visitors table:

WebDAV over HTTPS op een synology

Sinds enige tijd heb ik een Synology NAS. Perfect apparaat! De Synology heeft ook een optie voor WebDAV. Dit wilde ik wel eens gebruiken. Alleen dan uiteraard wel met een HTTPS verbinding. Voordat dat werkte, was ik even verder (hoe simpel de oplossing ook was.)

 

Teneerste heb ik op de Synology WebDAV aangezet en gezorgd dat de juiste rechten gezet waren (volg eventueel hier de instructies vanaf stap drie link).

Downgrade PHP 5.3 naar PHP 5.2

Niet zo lang geleden, heb ik besloten om mijn Debian Lenny te upgraden naar Debian Squeeze. Met Squeeze kreeg ik kreeg ook een update van PHP (5.3). In eerste instantie wilde ik deze nieuwe versie te gebruiken.
 
Echter na wat testen met Drupal 6, besloot ik dat het beter was om PHP 5.2 te blijven gebruiken. Maar hoe doe ik een downgrade ...
 
Wat zoeken op Internet gaf me een aantal links, maar geen van hen was complete antwoord voor mij. Dit is hoe ik het deed.
 

Upgrade Debian Lenny to Squeeze

Mijn eerste poging om Drupal 7 gebruiken met SQLite eindigde met het upgraden van Lenny naar Squeeze.

Inhoud syndiceren