Skip to main content

Xamarin.Forms – Use built-in Dependency Injection (IoC)

Hello Devz, Xamarin.Forms have its own Dependency Injection implementation. Of course you can still use other ones like MvvmCross, Ninject and so on, but they will ask you a bit more configuration and changes in your code. The one from Xamarin.Forms works pretty well and is really simple to use. Here is a simple example. […]

Raspberry Pi – Useful commands for your web server

Hello Devz, Here are some simple steps to configure your own web server: INSTALL WORDPRESS sudo mkdir -p /var/www/html/mywebsite cd /var/www/html/mywebsite sudo wget tar –strip-components=1 -xvf latest.tar.gz rm latest.tar.gz sudo chown -R www-data:www-data /var/www/html/mywebsite sudo chmod -R 755 /var/www/html/website KILL THE FIREWALL sudo iptables -F sudo iptables -X sudo iptables -t nat -F sudo […]

Securing your Raspberry Pi – Part 1: SSH

You’ve used password authentication to connect to your Pi via SSH, but there’s a more secure method available: key pair authentication. In this section, you’ll generate a public and private key pair using your desktop computer and then upload the public key to your Pi. SSH connections will be authenticated by matching the public key […]