Skip to main content

Connect to your Pi with SSH – PuttY

If you just receive your brand new Raspberry Pi, you probably tried already to connect your keyboard, mouse, screen and network cables. (see my post about how to create your SD card with NOOBS) But what if you want your Pi to run but disconnect all those cables and still be able to connect to […]

Initial config for Raspberry Pi

First of all, you can execute this command to set some default parameters: sudo raspi-config In the Boot menu, my advice will be to disable the automatic launch of the desktop environment and the autologin by selecting: Boot Options / B1 Desktop / CLI / B1 Console   But here you have more command lines […]

Install Raspbian OS on Raspberry Pi

Here’s the instructions to install your SD card ready for the Raspberry Pi. 1. Download and install Win32 Disk Imager from this link: http://sourceforge.net/projects/win32diskimager/files/latest/download Unzip it. 2. Download Raspbian here: https://www.raspberrypi.org/downloads/raspbian/ Unzip it (this may take a while as its a large file to match the size of the SD card) 3. Plug the SD […]

Awesome charts with High Charts

This is a simple demo of the great High Charts. You can find all the files needed for High Charts and jQuery. <!doctype html> <html lang=”en”> <head> </head> <body> <script src=”jquery.js”></script> <script src=”highcharts.js”></script> <script src=”exporting.js”></script> <div id=”container”></div> <script> $(function () { $(‘#container’).highcharts({ title: { text: ‘Monthly Average Temperature’, x: -20 //center }, subtitle: { text: […]

Configure WebStorm for AngularJS

1. Go to the JetBrains website, download and install WebStorm (a free trial is available for 30 days if you don’t have a licence). 2. Go to the AngularJS website. Here you can find the library and a useful documentation. 3. Download the latest version of AngularJS (the UNCOMPRESSED file otherwise WebStorm will not be able to use […]

How to connect to LocalDB in Visual Studio Server Explorer

Steps to connect LocalDB to Visual Studio Server Explorer Open command prompt Run SqlLocalDB.exe start v11.0 Run SqlLocalDB.exe info v11.0 Copy the Instance pipe name that starts with np:\… In Visual Studio select TOOLS > Connect to Database… For Server Name enter (localdb)\v11.0. If it didn’t work, use the Instance pipe name that you copied earlier. You can also use this to […]

Generate a PDF with Scryber

Today we will generate a PDF with the open source Scryber. The best way to work with Scryber is to use a template (PDFX file) for the style, the layout and the static content, then insert the dynamic content with C#. Full documentation at this link. Good example at this link. Create a new XML […]

Open a file with the default application

If you double click on a PDF file, it will be opened by the default application linked to that extension. So if Acrobad Reader is installed it will be opened with that application. In .Net, we have Process.Start which can start an executable. So if we start a PDF file, it will be openend by […]

StopWatch – measure your perf.

So let’s say you have a few operations to run and it takes a while to finish the execution. You would like to know which step is taking so long and how to improve the performance of the application. First, you could simply put a break point in each methods, but what if you want […]