- Configure either/both grafana and chronograf with the server:
http://influxdb:8086
- Profit
Submit any data to influx via http://localhost:8086
// ==UserScript== | |
// @name Insert info panel - template | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description A template to make pulling information then displaying it in a simple div easier | |
// @author You | |
// @match https://www.google.com/ | |
// @grant none | |
// ==/UserScript== |
/* | |
* This is designed to (semi-)passively help with https://gzgreg.github.io/DerivativeClicker/ | |
* The main function is to only keep a baseline of count for all Buildings | |
* it does this by buying any buildings which 1 second worth of time will pay for | |
* By doing that it still allows your base money to continue growing constantly | |
* | |
* NEW ADDED: Which doesn't fully follow that. Is auto-buying any TierUpgrades possible as soon as you can afford it | |
* NEW ADDED: Also not following that. If it reaches the point where your cash-on-hand can buy all the highest tier items, it will buy those for you, so that the rewards trickle down even if you're AFK | |
* | |
* |
If you ever have build/deploy issues because git merges are stupid sometimes and include the old version of a nuget along with the new, or someone doesn't use proper tooling to update or add nuget references to your projects, this will help discover those in a quick and helpful manor!
csproj
files in your folders that are not referenced by the main sln
fileTargetFramework
's full string, then comparing that count to the count without the framework version (meaning you can have netcoreapp2.2
along with netstandard2.0
, but NOT netcoreapp2.2
along with netcoreapp2.1
)Here is a simple table to help determine the basic information you should consider for all Polly Policies you configure
Policy | |||
---|---|---|---|
CircuitBreaker | Exception Type | Exception Count Allowed | Time period |
Retry | Exception Type | Retry Count | Retry Delays |
Timeout | Timeout Time | Will it be Pessimistic? (avoid) | |
Bulkhead Isolation | maxParallelization | maxQueuingActions | onRejection |
void Main() | |
{ | |
gwalker_test_table.Dump(); | |
// gwalker_test_table.DeleteAllOnSubmit(gwalker_test_table); | |
// SubmitChanges(); | |
// return; | |
var rand = new Random(); | |
var myData = new List<MyClass> | |
{ |
This introduction is here in case you'd like to treat this as a programming excercise yourself. If doing so, feel free to implement it in any language you'd like.
Many structures (HttpClient, Delegating handlers in MVC/WebAPI) in C# use a handler pattern. Which often have helper methods make it easy to use them but actually building one from scratch is not often done.
And those ones I've seen are always concrete types as input/outputs. So I'd like to make a generic one, so that those helper mehods do not need to be rewritten for each concrete input/output type that we need.
This introduction is here in case you'd like to treat this as a programming excercise yourself.
A trie (spoilers) is a fairly simple but powerful structure in computer science.
My goal here was simply to mimic a HashSet<string>
with much better in-memory storage results (assuming that HashSet<string>
, being generic must keep an instance of each string). NOT storing any data other than if the string exists or not.
It can allow you to store an extremely large number of strings with very small storage space and lookup operations are O(length-of-word), with no relation to how many items are being checked against.
@echo off | |
:: Get into the repo | |
cd testrepo | |
:: Structure setup | |
mkdir build | |
:: Simulate src |