Skip to content

Instantly share code, notes, and snippets.

@lightmaster
lightmaster / Credit Karma Spam Search.txt
Created January 28, 2020 07:49
Credit Karma spam search
DISCLAIMER - I cannot guarantee that this will work for everyone, nor can I guarantee that this won't block legitimate emails. As such, using this means that you agree that I will not be held liable for any issues, financial or otherwise, that arise from any important blocked emails from Credit Karma.
I have only used this with Gmail, I assume it will work with other email services as well, but your results may vary.
If you have any suggestions or addition keywords to filter out Credit Karma's spam mail, comment below and I will add them should they be legitimate. Also, it is a good assumption that Credit Karma will have future spam that does not contain these keywords, so keep an eye out for future spam that might get by the filter. At the very least, it will heavily reduce the amount of spam that you get from them.
In Gmail, preform a search for the following, and create a filter that deletes the results automatically.
from:(Credit Karma) subject:(-"your newest score") ("short survey" OR "compare" OR
@lightmaster
lightmaster / mp4tomkv.sh
Created December 10, 2020 23:47
Find all .mp4 files in the current directory and subdirectories and convert them into .mkv files without re-encoding. This does not lose any quality and the resulting files are the same size as the originals. This will also repair any .mp4 files which do not have `ctts atom`, which can cause playback issues in numerous players. It will delete it…
#!/bin/bash
if ! [ -x "$(command -v mkvmerge)" ]; then
echo 'Error: mkvmerge is not installed.' >&2
exit 1
fi
if ! [ -x "$(command -v ffmpeg)" ]; then
echo 'Error: ffmpeg is not installed.' >&2
exit 1