Skip to content

Instantly share code, notes, and snippets.

View lukashino's full-sized avatar

Lukas Sismis lukashino

View GitHub Profile
@lukashino
lukashino / efif-add-missing-ts.sh
Created December 25, 2021 12:07
# 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 …
#!/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"
@lukashino
lukashino / Setting RSS with a symmetric toeplitz hash function on i40e (X710 XL710 XXV710 X722) with DPDK rte_flow
Last active March 25, 2024 12:58
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>