Skip to content

Instantly share code, notes, and snippets.

Avatar
☄️
Coding the dotNEXT

Dave R. dbones

☄️
Coding the dotNEXT
View GitHub Profile
@dbones
dbones / command
Last active July 17, 2022 20:51
k3d-example
View command
k3d cluster create --config ./config.yaml
View kubeops-idea.yaml
# /org
# dbones-labs.yaml
#
# /platform-services
# github.yaml
# rancher.yaml
# discord.yaml
#
# /users
# dbones.yaml
@dbones
dbones / Cache.cs
Last active January 10, 2022 09:30
possible wapper for redis, encapsulates Keys and Serialization
View Cache.cs
namespace Core.Redis
{
using System;
using Infrastructure;
using StackExchange.Redis;
public class Cache
{
private readonly IDatabase _database;
private readonly JsonSerializer _serializer;
@dbones
dbones / BoilerPlate.cs
Created November 27, 2021 18:13
example of duplicate/redundant code (to prove a point)
View BoilerPlate.cs
namespace PipesExample
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
@dbones
dbones / checkbox-trickery-to-do-list.markdown
Last active November 8, 2021 04:08
Checkbox Trickery: To-Do List
View checkbox-trickery-to-do-list.markdown
@dbones
dbones / gist:855dd02ba82b77922c878f34df37720e
Created October 3, 2020 23:03 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:855dd02ba82b77922c878f34df37720e

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
View certs.yaml
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
View gist:059b768387546b98032b5aa2e7ad4714
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: selfsigning-issuer
spec:
selfSigned: {}
---
apiVersion: certmanager.k8s.io/v1alpha1
View v1-deployment.yaml
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
View configmap.yaml
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