See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
version: '3.8' | |
networks: | |
monitoring: | |
driver: bridge | |
volumes: | |
prometheus_data: {} | |
grafana_data: {} |
using Newtonsoft.Json; | |
using RulesEngine.Models; | |
while (true) | |
{ | |
string text = System.IO.File.ReadAllText(@"./workflow.json"); | |
var workflowRules = JsonConvert.DeserializeObject<Workflow[]>(text); | |
var reSettings = new ReSettings() | |
{ |
import { GridifyConditionEnum, GridifyLogicalEnum, GridifyOrderEnum, FilterType, OperatorType, FiltersType } from "./types.ts"; | |
function trimEnds(query: string): string { | |
let result = query; | |
// There should not be any starting or ending operator | |
if (result.startsWith(GridifyLogicalEnum.And)) result = result.slice(GridifyLogicalEnum.And.length); | |
if (result.startsWith(GridifyLogicalEnum.Or)) result = result.slice(GridifyLogicalEnum.Or.length); | |
if (result.endsWith(GridifyLogicalEnum.And)) result = result.slice(0, -GridifyLogicalEnum.And.length); | |
if (result.endsWith(GridifyLogicalEnum.Or)) result = result.slice(0, -GridifyLogicalEnum.Or.length); | |
return result; |
Console.WriteLine("Hello World!?"); | |
Console.WriteLine("Minimal Test For Github Gist"); |