https://docs.microsoft.com/en-us/sql/sql-server/what-s-new-in-sql-server-ver15?view=sql-server-ver15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -------------------------------------------------------------------------------------------------# | |
# # | |
# _ _ _ _ __ ___ _____ _ _ __ _ # | |
# | | | |_ _ __ _ _ _ _ __| |_(_)/ _|_ _ / __| / / __|| |_ _| |_ __ ___ _ _ / _(_)__ _ # | |
# | |_| | ' \/ _| '_| || (_-< _| | _| || | | (__ / / (_|_ _|_ _| / _/ _ \ ' \| _| / _` | # | |
# \___/|_||_\__|_| \_,_/__/\__|_|_| \_, | \___/_/ \___||_| |_| \__\___/_||_|_| |_\__, | # | |
# |__/ |___/ # | |
# # | |
# -------------------------------------------------------------------------------------------------# | |
# # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'json' | |
require 'webrick' | |
def get_nfc | |
all = Array.new | |
current = Hash.new | |
`nfc-list`.split("\n").each do |line| | |
if line =~ /ATQA.+:\s((:?[\da-f]{2}\s+)+)/ | |
current = Hash.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tool/Lib | Link | Notes | |
---|---|---|---|
Scripted Dashboards | https://grafana.com/docs/reference/scripting/ | Grafana native JS library that allows writing dashboards as code. Loads directly in grafana. Limited to what information that can be loaded. | |
Grafanalib | https://github.com/weaveworks/grafanalib | Python lib that allows the generation of dashboards. Limited functions for size and position of graphs | |
Crafana | https://github.com/spoved/crafana.cr | Crystal lib that allows the generation of dashboards as well as terraform files. Written by Holden Omans | |
make_dashboards.py | https://www.scylladb.com/2018/03/02/better-grafana-dashboards/ | ||
Grafonnet | https://github.com/grafana/grafonnet-lib | Jsonnet library for generating Grafana dashboards | |
Grafana Dash Gen | https://github.com/uber/grafana-dash-gen | A collection of utility classes to construct and publish grafana graphs. The library is built ground up to incorporate grafana terminologies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "crafana" | |
data_sources = ["Prometheus AWS", "Prometheus GCP"] | |
builder = Crafana::Builder.new | |
dashboard_name = "ElasticSearch Cluster Health Status - DEMO" | |
builder.add_dashboard(dashboard_name) do |dash| | |
# Add some tags to the dashboard | |
dash.tags = ["prometheus", "elasticsearch", "automated"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [{ | |
"Action": [ | |
"admin:*" | |
], | |
"Resource": [ | |
"arn:aws:s3:::vault", | |
"arn:aws:s3:::vault/*" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
MINIOCLUSTER="myminio" | |
VAULT_ID="vault" | |
VAULT_SECRET="F210D489-60B7-46CC-816E-1F8ED823C4FC" | |
# Create the vault bucket | |
mc mb ${MINIOCLUSTER}/vault | |
# Create the vault policy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
standalone: | |
enabled: true | |
config: | | |
ui = true | |
listener "tcp" { | |
tls_disable = 1 | |
address = "[::]:8200" | |
cluster_address = "[::]:8201" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "crsfml" | |
require "entitas" | |
::Log.builder.clear | |
spoved_logger(bind: true) | |
# ---- domain ---- | |
module Domain | |
struct Dimension | |
property rows : Int32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pathlib | |
import imageio | |
import requests | |
import time | |
import numpy as np | |
import os | |
from numpy.fft import fft2, ifft2, fftshift, ifftshift | |
from skimage.transform import resize | |
from skimage.filters import unsharp_mask |