Skip to content

Instantly share code, notes, and snippets.

View andreamtp's full-sized avatar

Andrea Perotti andreamtp

View GitHub Profile
@andreamtp
andreamtp / slack_filter.user.js
Last active December 22, 2022 02:14 — forked from octaharon/slack_filter.user.js
Tampermonkey script for filtering slack messages by user (2022)
// ==UserScript==
// @name Slack filter messages by UID
// @namespace Slack
// @version 0.2
// @description removes messages from unwanted people in slack channels and threads, or replaces them with kittens
// @author andreamtp
// @include https://app.slack.com/client/*
// @grant none
// ==/UserScript==
@andreamtp
andreamtp / blocklist2unbound.sh
Created April 24, 2020 17:24
adblock filter creator for unbound
#!/bin/bash
types="crypto drugs fraud malware phishing ransomware scam spam tracking"
# types="drugs fraud phishing ransomware scam spam tracking"
url_bkl=https://blocklist.site/app/dl/
url_sbk=https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts
tmp_bkl=blocklist.tmp
tmp_sbk=stevenblack.tmp

Keybase proof

I hereby claim:

  • I am andreamtp on github.
  • I am andreamtp (https://keybase.io/andreamtp) on keybase.
  • I have a public key ASC5OaBqhKUYv2tKROOg6tX6O_6f7yfB6MoTNLE6DNHlngo

To claim this, I am signing this object: