Skip to content

Instantly share code, notes, and snippets.

Avatar

Lukas Sismis lukashino

View GitHub Profile
@lukashino
lukashino / Setting RSS with a symmetric toeplitz hash function on i40e (X710 XL710 XXV710 X722) with DPDK rte_flow
Last active Oct 27, 2021
Setting RSS with a symmetric toeplitz hash function on i40e (X710/XL710/XXV710/X722) with DPDK rte_flow
View Setting RSS with a symmetric toeplitz hash function on i40e (X710 XL710 XXV710 X722) with DPDK rte_flow
// Please see https://github.com/lukashino/i40e-symmetric-rss-rte-flow
//
// Created by lukashino
//
#include <signal.h>
#include <unistd.h>
#include <rte_ethdev.h>
@lukashino
lukashino / efif-add-missing-ts.sh
Created Dec 25, 2021
# Add a missing timestamp to files with exiftool # This happened when I had multiple photos without datetimeoriginal timestamp set. It broke my gallery. # Little script adds timestamps to files that misses it but leaves it in files that has it already set. # How to use it # Place it in the folder where you have the photos/other files # chmod +x …
View efif-add-missing-ts.sh
#!/bin/bash
# Add a missing timestamp to files with exiftool
# This happened when I had multiple photos without datetimeoriginal timestamp set. It broke my gallery.
# Little script adds timestamps to files that misses it but leaves it in files that has it already set.
# How to use it
# Place it in the folder where you have the photos/other files
# chmod +x efif-add-missing-ts.sh
# ./efif-add-missing-ts.sh . "2017:09:22 22:25:00"