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 »

Creating a Powershell session under a different set of credentials

Below code can be handy if you need to create a powershell session under a different credential than the one you are logged into. This allow to support multiple scenarios: Test role base access control Increase privilege for important operation [powershell] # Avoid displaying the UI prompt when creating credential object Set-ItemProperty ‘HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds’ ConsolePrompting $true… 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 »