This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
result | |
*.bsp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/target | |
/Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgbase = prometheus-node-exporter-rapl-cfg | |
pkgdesc = powercap group and read access for intel_rapl_common /sys files | |
pkgver = 0.1.0 | |
pkgrel = 1 | |
arch = any | |
license = Apache | |
makedepends = rust | |
source = modules-load.d | |
source = prometheus-node-exporter.d | |
source = sysusers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place at the head of your main file | |
import sys | |
import atexit | |
def function_identifier(frame): | |
code = frame.f_code | |
name = code.co_name | |
file = code.co_filename | |
return "{}:{}".format(file, name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euxo pipefail | |
kernelver="$(pacman -Qi linux-ec2 | grep Version)" | |
paccache -r | |
pacman -Syu --noconfirm | |
if test "$(( $(date +%s) / 86400 % 14 ))" -eq 0 || test "$(pacman -Qi linux-ec2 | grep Version)" != "$kernelver"; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
df=' | |
FROM docker.io/library/debian:bullseye | |
RUN dpkg --add-architecture armhf && \ | |
apt-get update && \ | |
export DEBIAN_FRONTEND=noninteractive && \ | |
apt-get install -yq \ |
NewerOlder