Skip to content

Instantly share code, notes, and snippets.

@ameshkov
ameshkov / filters_dev_test.md
Last active September 27, 2018 08:51
filters_dev_test.md
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){(function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(54),i=t(o),u=n(65),a=t(u),s=n(66),c=t(s),f=n(44),l=t(f),d=n(67),p=t(d),h=n(68),y=t(h),v=n(23),m=n(24),g=(t(m),n(31)),w=t(g),b=n(42),_=(t(b),n(28)),S=t(_),E=n(19),M=(t(E),n(78)),D=t(M),k=n(21),T=t(k),$=n(22),C=(t($),n(79)),x=t(C),I=n(25),R=n(26),L=(t(R),n(53)),A=t(L),N=n(80),j=t(N),O="A-58D7961E94DC7D7B14415473-2",P="//limpingline.com/1beb70a0b347952342a45dbe72002af35d2809ad3e23c60be0a952fab0e54066e89465751acc2d6e02ed909299881cc0bc72587e9ec20b5af7873c7b831aa4a365563c0a4b4393824ae1fdf2",B="",F=true,q=false,W=window,H=document.currentScript,U=H&&H.src,z="preview-engage",J=O.split("-")[1]+"-m",X=true,G=new Error("duplicate
@ameshkov
ameshkov / mvps_hosts_converted.txt
Created February 19, 2017 23:49
Converted MVPS hosts file
||fr.a2dfp.net^
||m.fr.a2dfp.net^
||mfr.a2dfp.net^
||ad.a8.net^
||asy.a8ww.net^
||static.a-ads.com^
||abcstats.com^
||a.abv.bg^
||adserver.abv.bg^
||adv.abv.bg^
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 14 columns, instead of 12 in line 3.
Name,Full name,Description,Location,Coordinates,URL,Version,DNSSEC validation,No logs,Namecoin,Resolver address,Provider name,Provider public key,Provider public key TXT record
adguard-dns-ns1,Adguard DNS,Remove ads and protect your computer from malware,Anycast,,https://adguard.com/en/adguard-dns/overview.html,1,no,yes,no,176.103.130.130:5443,2.dnscrypt.default.ns1.adguard.com,D12B:47F2:52DC:F2C2:BBF8:9910:86EA:F79C:E449:5D8B:16C8:A0C4:322E:52CA:3F39:0873,pk.default.ns1.adguard.com
adguard-dns-ns2,Adguard DNS,Remove ads and protect your computer from malware,Anycast,,https://adguard.com/en/adguard-dns/overview.html,1,no,yes,no,176.103.130.131:5443,2.dnscrypt.default.ns2.adguard.com,81D0:02D3:6A4C:A50C:473B:7479:650F:E12E:02B3:21CB:6138:562A:208E:403D:FDC5:5E94,pk.default.ns2.adguard.com
adguard-dns-family-ns1,Adguard DNS Family Protection,Adguard DNS + blocking adult websites and enforcing safe search,Anycast,,https://adguard.com/en/adguard-dns/overview.html,1,no,yes,no,176.103.130.132:5443,2.dnscrypt.family
/**
* Determine if some other VPN is running
*/
public static boolean isVpnConnected() {
try {
final List<NetworkInterface> interfaces = Collections.list(NetworkInterface.getNetworkInterfaces());
for (final NetworkInterface networkInterface : interfaces) {
final String name = networkInterface.getDisplayName();
final boolean isUp = networkInterface.isUp();
LOG.info("Interface: {} connected = {}", name, isUp);
||googleapis.com/youtubei/v1/browse?$protobuf=62887855|49413586|51621377
||googleapis.com/youtubei/v1/next?$protobuf=62960614|65002523|105649908|82182324|99845384|105649908
||googleapis.com/youtubei/v1/player$protobuf=48841103|63112829|23|25
@ameshkov
ameshkov / 730video.tv
Created March 14, 2016 08:28
720video.tv decoded script
(function() {
var a = '1.0.0.0';
var b = 'data.initialcontroledge.info';
var c = '//ads.comeadvertisewithus.com/ads/ads.js';
var d = '//adss.comeadvertisewithus.com/ads/ads.js';
var e = '13842';
var f = 360;
var g = 1;
var h = false;
var i = {
@ameshkov
ameshkov / android_https_exclusions.txt
Last active October 13, 2016 15:26
HTTPs necessary exclusions for Android apps
//
// Android specific exclusions
//
// https://github.com/AdguardTeam/AdguardForAndroid/issues/609
androidwearcloudsync-pa.googleapis.com
// https://github.com/AdguardTeam/AdguardForAndroid/issues/613
mob.maps.yandex.net
// https://github.com/AdguardTeam/AdguardForAndroid/issues/343
global.uci.blackberry.com
profile.bbm.blackberry.com
@ameshkov
ameshkov / https_exclusions_firefox.txt
Created February 26, 2016 11:00
Adguard HTTPS exclusions: domains used for FF add-ons distribution
// FF add-ons (an issue with certificate and add-on update)
8pecxstudios.com
adtidy.org
api.adguard.com
addons-api.adguard.com
chrome.adtidy.org
dl.dropboxusercontent.com
eff.org
mozilla.net
mozilla.org
@ameshkov
ameshkov / https_exclusions.txt
Last active March 14, 2017 10:32
Adguard HTTPS exclusions: other services with sensitive personal information
tunnelbear.com
lazerpenguin.com
lisa.motivtelecom.ru
mil
id.pilet.ee
nwdealer.megafon.ru
gil.apple.com
dashlane.com
securesafe.com
sophos.com