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
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
]; | |
boot.loader.systemd-boot.enable = true; | |
boot.loader.efi.canTouchEfiVariables = true; | |
boot.kernelModules = [ "drivetemp" ]; |
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
# https://github.com/ironicbadger/quicksync_calc | |
# zoidberg - dell 7040 sff pc | |
CPU TEST FILE BITRATE TIME AVG_FPS AVG_SPEED AVG_WATTS | |
i5-6600T h264_1080p_cpu ribblehead_1080p_h264 18952 kb/s 116.352s 29.88 1.04x N/A | |
i5-6600T h264_1080p ribblehead_1080p_h264 18952 kb/s 20.774s 167.57 5.86x 6.59 | |
i5-6600T h264_4k ribblehead_4k_h264 46881 kb/s 68.870s 50.52 1.78x 7.24 | |
i5-6600T hevc_8bit ribblehead_1080p_hevc_8bit 14947 kb/s 50.236s 68.56 2.41x 9.68 | |
i5-6600T hevc_4k_10bit ribblehead_4k_hevc_10bit 44617 kb/s x |
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
This script sets the input and output video file paths, the codec name and profile, the encoding preset and tune, the output video resolution and frame rate, the number of encoding threads, and the number of encoding iterations. It then uses the ffmpeg command to encode the input video file using the specified codec and encoding settings, and measures the time taken using the time command. Finally, it calculates the average encoding time per iteration and prints the benchmark results. | |
To run this script, simply save it as a shell script file (e.g., quick_sync_benchmark.sh), make it executable (e.g., chmod +x quick_sync_benchmark.sh), and then run it (e.g., ./quick_sync_benchmark.sh). Note that you will need to have the ffmpeg command-line tool and the Intel Quick Sync Media Encoding driver installed on your Linux system in order for this script to work. |
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
## get interface name (ovs_eth0 below) via ip link | |
ip link add macvlan0 link ovs_eth0 type macvlan mode bridge | |
##192.168.4.204/30 (204-207) | |
ip addr add 192.168.4.204/30 dev macvlan0 | |
ip link set macvlan0 up | |
ip route add 192.168.44.204/30 dev macvlan0 | |
docker network create frontend |
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
$ docker exec -it paperless manage | |
Type 'manage.py help <subcommand>' for help on a specific subcommand. | |
Available subcommands: | |
[auth] | |
changepassword | |
createsuperuser |
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
exiftool _MG_8896.CR2 | |
ExifTool Version Number : 11.16 | |
File Name : _MG_8896.CR2 | |
Directory : . | |
File Size : 24 MB | |
File Modification Date/Time : 2021:05:04 22:09:18-04:00 | |
File Access Date/Time : 2021:06:04 22:48:50-04:00 | |
File Inode Change Date/Time : 2021:05:27 23:13:14-04:00 | |
File Permissions : rwxrwxrwx | |
File Type : CR2 |
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
--- | |
version: "2" | |
services: | |
prometheus: | |
image: prom/prometheus | |
container_name: prometheus | |
privileged: True | |
volumes: | |
- /mnt/tank/appdata/prometheus:/etc/prometheus | |
ports: |
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
General | |
Unique ID : 162663708653422819879569831683315961704 (0x7A5FE407477584418E6F0BBAC20B8F68) | |
Complete name : Back to the Future (1985) Remux-1080p.mkv | |
Format : Matroska | |
Format version : Version 4 | |
File size : 34.8 GiB | |
Duration : 1 h 56 min | |
Overall bit rate mode : Variable | |
Overall bit rate : 43.0 Mb/s | |
Encoded date : UTC 2014-02-20 16:38:36 |
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
esphome: | |
name: sonoffsv_garage_car | |
platform: ESP8266 | |
board: esp01_1m | |
wifi: | |
ssid: "123" | |
password: "123" | |
# Enable fallback hotspot (captive portal) in case wifi connection fails |
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
cards: | |
- content: >- | |
# Quarantine-o-meter | |
The gauge meters display the amount of time spend at home in the last 7 | |
days. Where Alex left the house (on average) {{ | |
(states("sensor.quarantine_meter_alex_times_left")|int / 7) | round(1) }} | |
times per day and Cat {{ | |
(states("sensor.quarantine_meter_cat_times_left")|int / 7) | round(1) }} | |
times per day. |
NewerOlder