Skip to content

Instantly share code, notes, and snippets.

View Jbat1Jumper's full-sized avatar
😬
Grrrr

Nikita Zdanovitch Jbat1Jumper

😬
Grrrr
View GitHub Profile
# Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3
###########################################################
# Automation of Everything #
# How To Combine Argo Events, Workflows, CD, and Rollouts #
# https://youtu.be/XNXJtxkUKeY #
###########################################################
# Requirements:
# - k8s v1.19+ cluster with nginx Ingress
@Jbat1Jumper
Jbat1Jumper / QuickGraph.NET Cheatsheet.md
Created January 10, 2020 17:48
QuickGraph.NET Cheatsheet

Using QuickGraph

Setting up your project

  • Add a reference to QuickGraph.dll to your project. QuickGraph provides a version backward compatible with .Net 2.0 or a .Net 3.5 version. The only difference lies in the support for extension methods.
  • Most data structures are defined under the QuickGraph namespace, algorithms are under the QuickGraph.Algorithms namespace.

Identify the vertex and edge types

The vertex type can be any type as all QuickGraph data structure are generic. The edge type must implement the IEdge interface:

This is a test of embedding PlantUML into a Markdown file in github using the Pegmatite chrome extension

This is some text describing some functionality which is too complex to be explained with just words. So there is a UML graphic explaining how things work embedded below.

@startuml
@Jbat1Jumper
Jbat1Jumper / GLSL-Math.md
Created August 15, 2018 04:42 — forked from patriciogonzalezvivo/GLSL-Math.md
GLSL Math functions

Trigonometry

const float PI = 3.1415926535897932384626433832795;
const float PI_2 = 1.57079632679489661923;
const float PI_4 = 0.785398163397448309616;

float PHI = (1.0+sqrtf(5.0))/2.0;
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){var n=[],r=n.slice,i=n.concat,o=n.push,a=n.indexOf,s={},l=s.toString,u=s.hasOwnProperty,c={},f=function(e,t){return new f.fn.init(e,t)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,h=/-([\da-z])/gi,m=function(e,t){return t.toUpperCase()};f.fn=f.prototype={jquery:"1.11.3",constructor:f,selector:"",length:0,toArray:function(){return r.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:r.call(this)},pushStack:function(e){var t=f.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return f.each(this,e,t)},map:function(e){return this.pushStack(f.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return t