Skip to content

Instantly share code, notes, and snippets.

View robertodr's full-sized avatar
🤡
Clowning around

Roberto Di Remigio Eikås robertodr

🤡
Clowning around
View GitHub Profile
@robertodr
robertodr / sparse-store-cancellation-magnitude.py
Created November 5, 2026 16:54
🤖 _AI text below_ 🤖 diagCCMC sparse-store cancellation magnitude reproducer (MPL-2.0), revision 4563b44a584731ccc0aa63631c565d9a70e8dd20
#
# diagCCMC, diagrammatic Coupled Cluster Monte Carlo
# Copyright (C) 2019 Charles J. C. Scott, Roberto Di Remigio, and contributors.
#
# This file is part of diagCCMC.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
@robertodr
robertodr / configuration.nix
Last active January 4, 2024 15:04
kellanved
{
config,
lib,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/aef9a509db64a081186af2dc185654d78dc8e344.tar.gz"}/module.nix"
./disko-config.nix
@robertodr
robertodr / shell.nix
Created December 24, 2023 11:39
mrcpp nix shell
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {
overlays = [
];
};
in
pkgs.mkShell.override { stdenv = pkgs.llvmPackages_13.stdenv; } {
name = "MRCPP";
nativeBuildInputs = with pkgs; [
@robertodr
robertodr / .envrc
Last active December 24, 2023 11:40
mrchem nix shell
nix_direnv_watch_file nix/sources.json
use nix
@robertodr
robertodr / configuration.nix
Last active December 13, 2023 20:47
carpal-tunnel
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{
config,
lib,
pkgs,
...
}: {
imports = [
@robertodr
robertodr / configuration.nix
Created December 12, 2023 22:27
btrfs-x1carbon
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{
config,
pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
[tool.poetry]
name = "floof"
version = "0.3.0"
description = ""
authors = ["me"]
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
scalene = "^1.5.20"
@robertodr
robertodr / 00_pyproject.toml
Created February 22, 2023 17:22
Poetry cotengra install issue
[tool.poetry]
name = "floof"
version = "0.1.0"
description = ""
authors = ["Roberto <roberto@me.me>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
cotengra = { git = "https://github.com/jcmgray/cotengra", rev = "1a746c6483f6fdabfcf83abd5a436d0ac42921eb" }