Skip to main content

Create a simple REST Web Service: Step 1 – DataBase

Context: Here we want to create a REST Web Service using PHP on a WAMPServer. The messages will be formatted as JSON entities. A Web Service is simply some online methods you can access from any kind of code (C#, Java, Javascript, Python …). RESTful web services are light weight, highly scalable and maintainable and […]

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: Unzip it. 2. Download Raspbian here: 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 […]