Skip to content

Instantly share code, notes, and snippets.

@Aritile
Aritile / comparison-of-shells.md
Created October 9, 2025 20:31 — forked from pmarreck/comparison-of-shells.md
Comparison of Bash, Elvish, NuShell, Murex, es-shell, fish, xonsh, PowerShell, Oil and Ion shells

(generated by chatgpt 4o and reviewed/edited by claude 3.5 sonnet, YMMV)

| Feature | Bash | Elvish | NuShell | Murex | Es Shell | Fish | Xonsh | PowerShell | Oil | Ion | |----------------------------------|-----------------------------------------------|-----------------------------------------------|----------------------------------------------|----------------------------------------------|----------------------------------------------|----------------------------------------------|----------------------------------------------|----------------------------------------------|-------------------------

@Aritile
Aritile / ImwConfig.h
Created May 21, 2025 06:34 — forked from ChemistAion/ImwConfig.h
Customized ImWindow (https://github.com/thennequin/ImWindow) with latest ImGui support
#pragma once
#include <stdlib.h>
#ifndef ImwList
#include <list>
#define ImwList std::list
#endif // ImwList
#ifndef ImwMap
@Aritile
Aritile / Nodes.cpp
Created May 21, 2025 06:32 — forked from ChemistAion/Nodes.cpp
Prototype of standalone node graph editor for ImGui
// Prototype of standalone node graph editor for ImGui
// Thread: https://github.com/ocornut/imgui/issues/306
//
// This is based on code by:
// @emoon https://gist.github.com/emoon/b8ff4b4ce4f1b43e79f2
// @ocornut https://gist.github.com/ocornut/7e9b3ec566a333d725d4
// @flix01 https://github.com/Flix01/imgui/blob/b248df2df98af13d4b7dbb70c92430afc47a038a/addons/imguinodegrapheditor/imguinodegrapheditor.cpp#L432
#include "Nodes.h"
@Aritile
Aritile / imgui_node_graph_test.cpp
Created May 21, 2025 06:27 — forked from ocornut/imgui_node_graph_test.cpp
Node graph editor basic demo for ImGui
// Creating a node graph editor for Dear ImGui
// Quick sample, not production code!
// This is quick demo I crafted in a few hours in 2015 showcasing how to use Dear ImGui to create custom stuff,
// which ended up feeding a thread full of better experiments.
// See https://github.com/ocornut/imgui/issues/306 for details
// Fast forward to 2023, see e.g. https://github.com/ocornut/imgui/wiki/Useful-Extensions#node-editors
// Changelog
// - v0.05 (2023-03): fixed for renamed api: AddBezierCurve()->AddBezierCubic().
@Aritile
Aritile / NodeGraph.cpp
Created May 21, 2025 06:23 — forked from spacechase0/NodeGraph.cpp
ImGui node graph
#include <any>
#include <cmath>
#include <imgui.h>
#include <imgui_internal.h>
#include "NodeGraph.hpp"
namespace
{
@Aritile
Aritile / nodes.cpp
Created May 21, 2025 06:22 — forked from ChemistAion/nodes.cpp
Second prototype of standalone node graph editor for ImGui
#include "nodes.h"
namespace ImGui
{
void ImGuiNodes::UpdateCanvasGeometry(ImDrawList* draw_list)
{
const ImGuiIO& io = ImGui::GetIO();
mouse_ = ImGui::GetMousePos();
@Aritile
Aritile / imgui_bitfield.cpp
Created May 21, 2025 04:42 — forked from JSandusky/imgui_bitfield.cpp
ImGui Bitfield Checkbox Matrix
bool BitField(const char* label, unsigned* bits, unsigned* hoverIndex)
{
unsigned val = *bits;
ImGuiWindow* window = GetCurrentWindow();
if (window->SkipItems)
return false;
unsigned oldFlags = window->Flags;
ImGuiContext* g = ImGui::GetCurrentContext();
@Aritile
Aritile / YAP.h
Created May 20, 2025 23:57 — forked from CedricGuillemet/YAP.h
Yet Another Profiler
#pragma once
/*
_____.___. __ __ .__
\__ | | ____ _/ |_ _____ ____ ____ _/ |_ | |__ ____ _______
/ | |_/ __ \ \ __\ \__ \ / \ / _ \ \ __\| | \ _/ __ \ \_ __ \
\____ |\ ___/ | | / __ \_| | \( <_> ) | | | Y \\ ___/ | | \/
/ ______| \___ > |__| (____ /|___| / \____/ |__| |___| / \___ > |__|
\/ \/ \/ \/ \/ \/
__________ _____ .__ .__

Правила написания и оформления кода С++

Основные принципы:

Удобство поддержки: удобство отладки и чтения.

  1. Код должен быть удобен при отладке.
  2. Код должен быть удобен для чтения.

В случаях не предусмотренных настоящим документом, неoбходимо руководствоваться вышеуказанными основными принципами в соответсвии с указаным приоритетом.

Формат исходных файлов

Кодировка исходных кодов должна быть UTF-8 для комментариев и ASCII для прочего (в т.ч. строковых констант).

@Aritile
Aritile / docker_rus.md
Created April 11, 2025 20:21 — forked from wtw24/docker_rus.md
Шпаргалка с командами Docker

Шпаргалка с командами Docker

1552317264965 1552317537397 1552317711879

1552318467562 1552318531067 1552318577900 1552318614839