Skip to content

Commit

Permalink
add filter for new feed
Browse files Browse the repository at this point in the history
  • Loading branch information
tejing1 committed Dec 6, 2024
1 parent 863386e commit 7469b55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions homeConfigurations/tejing/news/rc.public.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ in
'';
inputs = [ pkgs.gawk ];
};
helper.title_doesnt_start_with = {
code = ''awk -F'\t' -v titlestart="$1" -f '' + toFile "sfeed_title_doesnt_start_with.awk" ''
{
if (index($2,titlestart) != 1)
print
}
'';
inputs = [ pkgs.gawk ];
};

# Gets around cloudflare's bot detection, last time I checked
helper.curl_cf = {
Expand Down
Binary file modified homeConfigurations/tejing/news/rc.secret.nix
Binary file not shown.

0 comments on commit 7469b55

Please sign in to comment.