Skip to content

Instantly share code, notes, and snippets.

@gilesknap
gilesknap / RunIoc.md
Last active December 10, 2024 18:48
Steps to Run an epics-containers IOC without helm etc. (in personal namespace on pollux)

Minimal Steps to Launch an IOC in Kubernetes

# access a personal namespace in pollux 
module load pollux
kubectl config set-context --current --namespace hgv27681

# launch a generic IOC in the cluster - but make process 1 be sleep
kubectl run test-ioc --image ghcr.io/epics-containers/ioc-adsimdetector-developer:2024.12.1 -- sleep infinity
# check it is running
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@kylemanna
kylemanna / README-python-service-on-systemd-activated-socket.md
Last active January 10, 2026 01:29 — forked from drmalex07/README-python-service-on-systemd-activated-socket.md
An example network service with systemd-activated socket in Python. #systemd #python #socket #socket-activation

README

The example below creates a TCP server listening on a stream (i.e. SOCK_STREAM) socket. A similar approach can be followed to create a UDP server on a datagram (i.e. SOCK_DGRAM) socket. See man systemd.socket for details.

An example server

Create an simple echo server at ~/tmp/foo/serve.py.

@andreicristianpetcu
andreicristianpetcu / ansible-summary.md
Created May 30, 2016 19:25
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@bkaradzic
bkaradzic / orthodoxc++.md
Last active February 25, 2026 12:28
Orthodox C++

Orthodox C++

This article has been updated and is available here.

@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active March 16, 2026 18:55
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line