kryptos - A .NET core tool for cryptography.

Kryptos - A .NET Core tool for cryptography. A nifty CLI tool to achieve tasks like

  • decoding a JWT token or
  • generating a SHA-256 hash of a file or
  • generating an UUID
  • generating Message Authentication Codes etc..

Read more

AzureWireGuard - An Azure ARM template to quickly setup your own WireGuard VPN Server.

AzureWireGuard - The quickest way to setup your own modern VPN server. This is an Azure ARM template that you can quickly deploy to setup your own WireGuard VPN Server with auto-configured server and client configurations. All server configuration steps are taken care of and five ready to use client configuration files are generated. You just have to download them and configure your WireGuard clients to use them.

Read more

Stopping unattended-upgrades in Azure Ubuntu VMSS

Issue

Azure Virtual Machine Scale Sets (VMSS) has a feature called Automatic OS image upgrade which allows you to automatically upgrade the virtual machine instances in the VMSS to the latest OS image. Automatic OS image upgrades are not always desirable and there are a lot of scenarios where you would like to manually control these upgrades.

Read more

Setting up a Kubernetes Cluster on a Windows laptop using Hyper-V

For a developer, Minikube is a very good tool to run Kubernetes locally. But having access to an actual Kubernetes Cluster is always fun. This is an account of how I setup a Single Master Kubernetes Cluster on my Windows laptop using VMs running on Hyper-V.

Read more

Azure ARM : InvalidParameter certificateUrl - It should be in the format

Azure ARM templates can refer to certificates from an Azure Key Vault. Earlier this required us to upload the certificate into the Key Vault as a JSON object and refer to the secret as described in https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-push-certificate-windows .

Read more

Docker on Windows - Sorting out the confusion

I heard we can now run Docker containers on Windows but

Read more

Do not use Powershell's New-SelfSignedCertificate for .NET projects

Powershell introduced a new cmdlet New-SelfSignedCertificate, which can be used to create self-signed SSL certificates for testing and development purposes.

Read more

Azure Service Fabric : Replica had multiple failures ... Error = System.MissingMethodException (-2146233069)

When you deploy a Service Fabric Application to a Service Fabric Cluster, the application fails and ends up with Health State as Error. A health state of Error means the Service Fabric Cluster could not successfully spawn up the necessary number of service instances. One reason why this could happen is because of Microsoft Azure Service Fabric SDK version mismatch. In such cases you will see error messages with exception System.MissingMethodException

Read more

Bencode2Json : A .NET Core Library for converting Bencoded Dictionaries to Json Documents.

A BitTorrent metadata file (.torrent) is a Bencoded Dictionary. The file is basically a dictionary of data like the Tracker URL and File Pieces which a BitTorrent client can parse. Bencode is a simple ‘cross-platform safe’ encoding that the (.torrent) files use so that they can be parsed across multiple OS platforms.

Read more

New-NetNat : The parameter is incorrect.

Hyper-V on Windows 10 now supports Network Address Translation (NAT). The steps to set it up are documented in this MSDN article Setup NAT Network

Read more

PC Build 2016

For years I have been working on laptops and haven’t owned a desktop. The last time I had built a rig on my own was when Intel Core 2 Duo was the top of the line processor. But now with my new hobby of machine learning, I really needed a desktop. So I put together a rig for my machine learning experiments.

Read more

This app can't run on your PC

You are no longer able to run your application on Windows and get the following error message.

Read more

Visual Studio 2015 Enterprise with Update 1 - Could not load file or assembly Microsoft.VisualStudio.ConnectedServices, Version=2.0.0.0

On a fresh installation of Visual Studio 2015 Enterprise with Update 1 you might get the following error

Read more

Configure Atlassian Bamboo(v5.9.4) NUnit Runner to execute NUnit 3 Tests

Atlassian Bamboo(v5.9.4 build 5919) ships with a NUnit Runner Build Task. It can execute NUnit tests and parse the generated results to infer the number of tests that have passed, failed and skipped. But when you try to use this Build Task with NUnit 3 you will face the following issues.

Read more

Docker image for machine learning enthusiasts

It’s 2016 and at the top of the hype cycle are Machine Learning, Statistical Computing, Data Visualization, Deep Learning.

Read more