Skip to content

Instantly share code, notes, and snippets.

View dbones's full-sized avatar
☄️
Coding the dotNEXT

Dave R. dbones

☄️
Coding the dotNEXT
View GitHub Profile
@wu-sheng
wu-sheng / application.yml
Created September 11, 2019 00:35
skywalking test
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@mpneuried
mpneuried / Makefile
Last active April 11, 2024 07:20
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@smalot
smalot / docker_install.sh
Last active December 15, 2016 19:01
Install Docker script for Debian Jessie (run it as root)
#!/bin/sh
apt-get purge lxc-docker*
apt-get purge docker.io*
apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo debian-jessie main" >> /etc/apt/sources.list.d/docker.list
apt-get install apt-transport-https -y
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
@ovrmrw
ovrmrw / Program.cs
Last active September 28, 2021 14:25
Topshelf + OWIN Self-Host + ASP.NET WebAPI + Ninject
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Tracing;
using System.Reflection;
using Owin;
anonymous
anonymous / gist:400980
Created May 14, 2010 09:27
Tests for contextual lifestyle in Windsor
namespace Castle.Windsor.Tests
{
using System;
using System.Diagnostics;
using Autofac;
using Castle.MicroKernel.Registration;
using NUnit.Framework;
anonymous
anonymous / gist:400979
Created May 14, 2010 09:26
Scoped lifestyle
namespace Castle.Windsor.Tests
{
using System;
using System.Collections.Generic;
using Castle.Core;
using Castle.MicroKernel;
using Castle.MicroKernel.Context;
using Castle.MicroKernel.Lifestyle;
using Castle.MicroKernel.Registration;