Skip to content

Instantly share code, notes, and snippets.

@roryprimrose
roryprimrose / server.js
Created June 2, 2016 00:29
node issues
var express = require('express');
var helmet = require('helmet');
var compression = require('compression');
var serveStatic = require('serve-static');
var https = require('https');
var pem = require('pem');
var forceSSL = require('express-force-ssl');
var app = express();
@roryprimrose
roryprimrose / Function1.cs
Created May 27, 2018 04:43
Azure Functions with ILogger example
namespace FunctionApp1
{
using Autofac;
using Autofac.Core;
using EnsureThat;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Description;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Azure.WebJobs.Host.Config;
@roryprimrose
roryprimrose / gist:5efd38f829c20237be46bb17b6c43711
Created October 12, 2021 05:44
Terraform import azuredevops_project_features issue
# azuredevops_project_features.feature["408a6076-3804-48db-b6a5-9dd82ef6a2b6"] must be replaced
-/+ resource "azuredevops_project_features" "feature" {
~ features = {
+ "artifacts" = "enabled"
+ "boards" = "enabled"
+ "pipelines" = "enabled"
+ "repositories" = "enabled"
+ "testplans" = "enabled"
}
~ id = "Configure.FirstTest" -> (known after apply)