Skip to content

Instantly share code, notes, and snippets.

View enricorotundo's full-sized avatar
🤔
Thinking

Enrico Rotundo enricorotundo

🤔
Thinking
View GitHub Profile
@enricorotundo
enricorotundo / hepscore.md
Last active September 15, 2022 14:11
hepscore

Repo: https://github.com/cmscaltech/docker-hs06/tree/master/hepscore

Prerequisites

Using CentOS Stream release 9. I tried using Red Hat enterprise linux version 7,8,9 but there's a blocking issue with Google Cloud infra at the moment that prevents any yum install (opened a support ticket with them...).

sudo yum update
sudo yum -y install git
git clone https://github.com/cmscaltech/docker-hs06.git

Fix Docker issues

yum install -y yum-utils
yum install -y dnf
yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo
yum update
dnf install docker-ce docker-ce-cli containerd.io
@enricorotundo
enricorotundo / bacalhau-libp2p-tracer.json
Created October 26, 2022 12:02
bacalhau-libp2p-tracer.json
{
"type": 9,
"peerID": "EiDRDl8/gd6FYgoIwxUSC4cGtYfvCE6qycIk7L59fgMs/w==",
"timestamp": 1666772852236502000,
"join": {
"topic": "bacalhau-job-event"
}
}
0
{
@enricorotundo
enricorotundo / stackoverflow.sql
Last active November 12, 2022 16:57 — forked from gousiosg/stackoverflow.sql
Script to import the stackexchange dumps into MySQL
# Copyright (c) 2013 Georgios Gousios
# MIT-licensed
# [tundo91]
# * Edited to import local XML files
# * Updated creat table procedures to support Sept.-12-2016 dataset dump version
create database cooking_stackexchange_com DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
use cooking_stackexchange_com;
@enricorotundo
enricorotundo / raspotify.md
Last active December 8, 2022 23:13
Configure and install raspotify

Configure Raspberry and Install Raspotify

1) Get Raspberry Pi OS Lite

  • Release date: September 22nd 2022
  • System: 32-bit
  • Kernel version: 5.15
  • Debian version: 11 (bullseye)
  • Size: 338MB
  • Linux pi 5.15.61-v7+ #1579 SMP Fri Aug 26 11:10:59 BST 2022 armv7l
@enricorotundo
enricorotundo / gist:abda94dfe2924408311be004f2f3293b
Last active August 17, 2023 09:56
Tritonserver tritonserver:23.02-py3 flags
since this is nowhere to be found...
=============================
== Triton Inference Server ==
=============================
NVIDIA Release 23.02 (build 53616260)
Triton Server Version 2.31.0