Skip to content

Instantly share code, notes, and snippets.

@mrceperka
mrceperka / hp865g10.md
Created March 18, 2024 11:58
HP EliteBook 865 G10 Review

HP EliteBook 865 G10 Review

Specs

  • Processor: AMD Ryzen™ 9 PRO 7940HS w/ Radeon™ 780M Graphics × 16
  • Memory: 32,0 GiB
  • BIOS/Firmware: V82 Ver. 01.03.09

Pros

  • sturdy chasis/body
  • easy to uprage/replace parts

Cons

  • 🔥🔥🔥 OVERHEATING 🔥🔥🔥
@mrceperka
mrceperka / relabel-prometheus-job-name.yml
Last active November 16, 2021 10:01
relabel prometheus job name
scrape_configs:
- job_name: 'example_job'
scrape_interval: 5s
static_configs:
- targets: ['5s.example.com']
# scrape more often, but keep same job name (example_job)
- job_name: 'example_job_each_1s'
scrape_interval: 1s
static_configs:
@mrceperka
mrceperka / .docker_bash_aliases
Last active May 4, 2018 10:24
Docker bash aliases
#!/bin/bash
function get_free_port() {
python -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'
}
function get_pwd_md5() {
python -c 'import hashlib; print hashlib.md5("'`pwd`'").hexdigest()'
}
function docker_alias_core() {