Skip to content

Instantly share code, notes, and snippets.

View DraTeots's full-sized avatar

Dmitry Romanov DraTeots

View GitHub Profile
@DraTeots
DraTeots / _getting_started_eic.md
Last active June 5, 2023 15:23
Get started with EIC simulation and reconstruction (EPIC)

Get started with EIC simulation and reconstruction

The quickest and recommended way to start with EIC software is eic-shell

The EIC environment eic-shell is a singularity/docker container with a curated selection of software components. It is the recommended way to use eicrecon as it already has all of the dependencies compiled with matching version numbers. This requires either singularity or docker to be installed on your local machine. Below are some quick start instructions for using Singularity.

@DraTeots
DraTeots / vscode_mselect_rcopy.md
Created July 7, 2022 21:16
VSCode Linux middle button column select and right button copy paste

VSCode Linux middle button column select, right button copy paste

What is configured:

  1. Middle mouse button is used for column selection
  2. Right mouse button is used for copy/paste
  3. Context menu is triggered by shift+right button

Visual Studio Code settings:

@DraTeots
DraTeots / servilat.md
Last active February 17, 2022 18:25
Servilat sausage

For 1 kilo:

  • Beef - 25% (250g)
  • Pork(30% fat) - 75%
  • Salt + Nitrite salt - 2%
    • 2.5g for (6.25% of nitrite) cure #1
    • 17.5 for a regular salt
  • Black pepper - 2g
  • Nutmeg - 1g
@DraTeots
DraTeots / todo---me.md
Last active December 9, 2022 20:57
Белый квас

‎‎​

@DraTeots
DraTeots / readme.md
Last active April 6, 2021 18:47
Run G4E on farms and more

Documentation:

How to run on farms with Spack

ifarm1802.jlab.org> source /cvmfs/eic.opensciencegrid.org/packages/setup-env.csh 
ifarm1802.jlab.org> spack load /ef7rk23
@DraTeots
DraTeots / README.md
Last active November 6, 2020 06:40
EIC Spack hints and tricks
@DraTeots
DraTeots / readme.md
Created November 29, 2018 19:57
Dependency Injection C++

A presentaion

While it is a presentation, it pretty clear shows a problem on a very simple example and tries many approaches to solve the problem. It tries to sell boost::DI, yes, but is still is great as a learning material http://boost-experimental.github.io/di/cpp-london-2017/#/

Google fruit

@DraTeots
DraTeots / gist:7a4ca00d4c46b4a498c7ac852259bb7e
Last active May 1, 2019 21:32
JLab RHEL7 machines (Npm, vscode, etc)
@DraTeots
DraTeots / eic_jana_vscode.md
Last active October 29, 2018 03:35
VsCode debug EIC JANA

Why vscode

Debugging capabilities

...

Working example:

Working debugger

@DraTeots
DraTeots / HighResolutionTimerProfile.cs
Last active February 26, 2019 10:17
HighResolutionTimer test and profile
// profiling of HighResolutionTimer implementation
// https://gist.github.com/DraTeots/436019368d32007284f8a12f1ba0f545
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using System.Threading;