Skip to content

Instantly share code, notes, and snippets.

@SabbeRubbish
SabbeRubbish / knockout.autonumeric.js
Last active May 14, 2016 20:42 — forked from bonza-labs/knockout.autonumeric.js
The previous version of this Gist wasn't up to date anymore with the latest version of autoNumeric (1.9.17). Not saying this works perfectly, but first tests show that it does work.
ko.bindingHandlers.autoNumeric = {
init: function (el, valueAccessor, bindingsAccessor, viewModel) {
var $el = $(el),
bindings = bindingsAccessor(),
settings = bindings.settings,
value = valueAccessor();
$el.autoNumeric(settings);
$el.autoNumeric('set', parseFloat(ko.utils.unwrapObservable(value()), 10));
$el.change(function() {
title classes toc
The Many Places to run PowerShell in Azure
wide
true

Intro

PowerShell is a fantastic language not just for managing Azure and related services, but for writing entire applications. I have written applications that sync millions of tickets a month between two systems and support the automatic creation and synchronization of tens of thousands of Microsoft 365 Groups based on business rules and user attributes.