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
@dbones
dbones / checkbox-trickery-to-do-list.markdown
Last active November 8, 2021 04:08
Checkbox Trickery: To-Do List
@dbones
dbones / gist:855dd02ba82b77922c878f34df37720e
Created October 3, 2020 23:03 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@dbones
dbones / certs.yaml
Created July 1, 2020 01:14
istio self cert, prefix routing, gateway in another namespace and virtual service routing to a k8s service
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: selfsigning-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1alpha2
@dbones
dbones / gist:059b768387546b98032b5aa2e7ad4714
Created June 30, 2020 19:10
cert manager - self cert 0.8
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: selfsigning-issuer
spec:
selfSigned: {}
---
apiVersion: certmanager.k8s.io/v1alpha1
apiVersion: apps/v1
kind: Deployment
metadata:
name: document
spec:
selector:
matchLabels:
app: document
template:
metadata:
@dbones
dbones / configmap.yaml
Created November 3, 2019 20:45
FluentD with elasicoverride
apiVersion: v1
kind: ConfigMap
metadata:
name: fluentdconf
namespace: kube-logging
data:
fluent.conf: |-
# AUTOMATICALLY GENERATED
# DO NOT EDIT THIS FILE DIRECTLY, USE /templates/conf/fluent.conf.erb
@dbones
dbones / configmap.yaml
Created November 3, 2019 20:45
FluentD with elasicoverride
apiVersion: v1
kind: ConfigMap
metadata:
name: fluentdconf
namespace: kube-logging
data:
fluent.conf: |-
# AUTOMATICALLY GENERATED
# DO NOT EDIT THIS FILE DIRECTLY, USE /templates/conf/fluent.conf.erb
@dbones
dbones / configmap.yml
Last active November 10, 2019 17:36
Sky walking
kind: ConfigMap
metadata:
name: oap-config
namespace: skywalking
apiVersion: v1
data:
alarm-settings.yml: ""
application.yml: |-
# application.yml
cluster:
public class LambdaConstructorDelegate : IConstructorDelegate
{
public Func<object[], object> Create(ServiceContract serviceContract)
{
if (serviceContract.ConstructorDelegate != null)
{
return serviceContract.ConstructorDelegate;
}
var delegateParameter = Expression.Parameter(typeof(object[]));
@dbones
dbones / middleware.cs
Created February 11, 2017 23:03
middleware class, which functions like the middleware you will find in .NET Core, Express (on node.js)
namespace MiddleWare.Host
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using Autofac;
internal class Program
{