Skip to content

Instantly share code, notes, and snippets.

View anreton's full-sized avatar

Anton Egorov anreton

  • Cheboksary, Russia
View GitHub Profile
@anreton
anreton / git-log-style.sh
Last active July 28, 2021 19:15
Git: Log Style
git config --global alias.hist "log --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%C(red)%h%Creset%C(yellow)%d%Creset %C(white)%s%Creset %C(green)(%ad, %cr)%Creset %C(magenta)<%an - %ae>%Creset'"
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
# C# files
[*.cs]
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"companyName": "Anton Egorov ([email protected])",
"copyrightText": "",
"documentationCulture": "en-US",
"documentExposedElements": true,
"documentInterfaces": true,
"documentInternalElements": true,
<?xml version="1.0" encoding="utf-8"?>
<AnalysisInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Settings>
<Setting>
<Key>sonar.cs.analyzeGeneratedCode</Key>
<Value>false</Value>
</Setting>
<Setting>
<Key>sonar.cs.file.suffixes</Key>
<Value>.cs</Value>
@anreton
anreton / structurizr-theme.schema.json
Last active January 15, 2024 22:53
Structurizr Theme JSON Schema
{
"$schema": "https://json-schema.org/draft-07/schema#",
"$id": "https://gist.github.com/anreton/fb0d79641b820a1873b5d1d48f17b38e",
"title": "Structurizr Theme JSON Schema",
"description": "JSON Schema for Structurizr Theme.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
@anreton
anreton / structurizr-theme.json
Last active January 15, 2024 22:54
Structurizr Theme
{
"$schema": "https://gist.githubusercontent.com/anreton/fb0d79641b820a1873b5d1d48f17b38e/raw/structurizr-theme.schema.json",
"name": "Anreton",
"description": "Structurizr Theme.",
"elements": [
{
"tag": "message-broker",
"shape": "Pipe",
"background": "#ffd900"
}