Skip to content

Instantly share code, notes, and snippets.

type Resources struct {
// Applicable to all platforms
CPUShares int64 `json:"CpuShares"` // CPU shares (relative weight vs. other containers)
Memory int64 // Memory limit (in bytes)
NanoCPUs int64 `json:"NanoCpus"` // CPU quota in units of 10<sup>-9</sup> CPUs.
// Applicable to UNIX platforms
CgroupParent string // Parent cgroup.
BlkioWeight uint16 // Block IO weight (relative weight vs. other containers)
BlkioWeightDevice []*blkiodev.WeightDevice
server {
server_name www.pixelpond.io pixelpond.io;
root /var/www/pixelpond/;
location / {
proxy_pass http://127.0.0.1:3030;
include proxy.conf;
}
listen 443 ssl; # managed by Certbot
[ 88.573] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 88.575]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[ 88.580] Build Operating System: Linux Arch Linux
[ 88.582] Current Operating System: Linux archibald 5.9.12-arch1-1 #1 SMP PREEMPT Wed, 02 Dec 2020 16:14:56 +0000 x86_64
[ 88.582] Kernel command line: initrd=\linux-custom.img root=PARTUUID=e0fdd5c9-01b0-46ac-a5df-de90f02309ca rw amd_immou=on loglevel=7
[ 88.586] Build Date: 01 December 2020 07:51:57PM
[ 88.588]
[ 88.589] Current version of pixman: 0.40.0
Card #1
Name: alsa_card.usb-ASUS_Xonar_U7_MKII-00
Driver: module-alsa-card.c
Owner Module: 8
Properties:
alsa.card = "2"
alsa.card_name = "Xonar U7 MKII"
alsa.long_card_name = "ASUS Xonar U7 MKII at usb-0000:27:00.3-1, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:27:00.3-usb-0:1:1.0"
@disconsented
disconsented / mcmyadmin.service
Last active September 27, 2020 08:55 — forked from ckxng/mcmyadmin.service
McMyAdmin SystemD Service
[Unit]
Description=McMyAdmin
[Service]
WorkingDirectory=/home/minecraft/McMyAdmin
User=minecraft
ExecStart=/usr/bin/screen -DmS mc-mcma ./MCMA2_Linux_x86_64
ExecStop=/usr/bin/screen -p 0 -S mc-mcma -X eval 'stuff "/quit"\\015'
[ 694.998] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 694.999]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[ 695.002] Build Operating System: Linux Arch Linux
[ 695.003] Current Operating System: Linux CP-James-E480 5.8.5-arch1-1 #1 SMP PREEMPT Thu, 27 Aug 2020 18:53:02 +0000 x86_64
[ 695.003] Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=0e5dcc00-0445-48b8-8ee8-b9c47e56c059 rw i915.enable_psr=0
[ 695.005] Build Date: 25 August 2020 05:22:36PM
[ 695.007]
[ 695.008] Current version of pixman: 0.40.0
$ fio --name=randrw --rw=randrw --direct=1 --ioengine=libaio --bs=4k --numjobs=8 --rwmixread=90 --size=1G --runtime=600 --group_reporting
randrw: (g=0): rw=randrw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1
...
fio-3.17
Starting 8 processes
randrw: Laying out IO file (1 file / 1024MiB)
randrw: Laying out IO file (1 file / 1024MiB)
randrw: Laying out IO file (1 file / 1024MiB)
randrw: Laying out IO file (1 file / 1024MiB)
randrw: Laying out IO file (1 file / 1024MiB)
[?1049h[?25l[?1049lPanicInfo { payload: Any, message: Some(attempt to multiply with overflow), location: Location { file: "/home/jamesk/.cargo/git/checkouts/tui-rs-7836e4b22d734056/aff0a4c/src/widgets/canvas/mod.rs", line: 106, col: 25 } }
stack backtrace:
0: ytop::setup_panic_hook::{{closure}}
at src/main.rs:97
1: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:468
2: std::panicking::continue_panic_fmt
at src/libstd/panicking.rs:373
3: rust_begin_unwind
at src/libstd/panicking.rs:302
#!/bin/bash
inxi -c 4 | sed -e ':a' -e "N" -e '$!ba' -e 's/\n/ /g'
- https://www.hardwareluxx.de
- https://www.computerbase.de
- https://www.igorslab.media/ (Used to be Tomshardware germany)
- https://techreport.com
- https://www.anandtech.com/
- https://www.guru3d.com/
- https://www.legitreviews.com/
- https://www.phoronix.com/
- https://www.servethehome.com/
- https://www.hardocp.com