Category Archives: Tutorials

Azure Machine Learning Deployment at Scale Using ARM and AMLPS.

Introduction In this post, I will demonstrate how to do a simple but useful scenario when managing Azure Machine Learning Workspaces and Experiments, copying all the experiments under one workspace, deploy a new workspace using ARM (Azure Resource Manager) in another region, and then copy the experiment under the newly deployed workspace. Preparation You will… Read More »

Introduction to Machine Learning, from data acquisition to a production service

In this post I want to share some notions of machine learning and a how-to get started with Microsoft Azure ML studio. Machine learning is a quite complex topic, especially if you want to understand the theory and algorithms that are behind it. If you want to go deeper in understanding ML I would encourage… Read More »

Facebook SDK 4.0.0 for PHP: A working sample to manage sessions

  Once you have a working sample of Facebook SDK 4.0.0 for PHP, you will notice upon refreshing the page an error: Fatal error: Uncaught exception ‘Facebook\FacebookAuthorizationException’ with message ‘This authorization code has expired.’ Well, this is quite annoying as it breaks the user navigation on your site. To get around this issue, record the… Read More »

Strategy for ads placement with Infinite Scroll (WordPress)

Some high profile website (Facebook, Linkedin) have enable infinite scroll (automatically displays following pages when the user scroll down) on their pages. This is mostly because infinite scroll is supposed to increase user stickiness to a site. One obvious problem with infinite scroll is that the ad placement needs to be updated. Without infinite scroll… Read More »

How to change a service startup type with PowerShell

Changing a service startup type can be crucial after installing or configuring the service. PowerShell comes with an easy way to do so: Set-Service –Name theservice –Computer thecomputer –StartupType “selectedType” Where selectedType value can be: Automatic Manual Disabled Unfortunately, there is no support for the automatic (delayed start). To support the automatic (delayed start), you… Read More »

Impersonation with C#

.Net offers multiple ways to manage impersonation and its level. The important point to understand is what is being impersonated: the thread or the process also is the impersonation happening on the process or is it happening only on the network. Below classes will show you how to impersonate in all this cases. First class:… Read More »

WMI and CSharp (C#)Enumerate all the instances (and properties) from a class via WQL

In the two previous posts (Enumerate all classes from a namespace and Enumerate all Namespaces from Root) we gather enough information to enumerate namespaces and classes. In this post we are going to see how to enumerate all the instances from a class via WQL. using System; using System.Collections.Generic; using System.Text; using System.Management; namespace WmiNamespace… Read More »

WMI and CSharp (C#): Enumerate all classes from a namespace

Now that we know how to enumerate all the namespace from root, let’s have a look on how to enumerate all the classes from a namespace. using System; using System.Collections.Generic; using System.Text; using System.Management; namespace WmiNamespace { class Program { static void Main(string[] args) { //Represents the scoop for management operations ManagementScope ms = new… Read More »