Categories
User Help Web Pro

What is the time interval that reputable search engines can hit pages of your website during a crawl?

I’m trying to implement some protection against automated attacks on my website (mostly via scripts, probing for SQL injection, etc.) So I’m checking if two consecutive visits from the same IP fall within a certain time range. And if so, I then show a blank page with a short sentence that the frequency of visits […]

Categories
User Help

ERROR: YouTube said: This video is restricted. Try signing in with a G Suite account. Sorry about that

I enabled in http://example.org/cgi-bin/luci/admin/services/adblock adblock OpenWRT: Enable SafeSearch Enforcing SafeSearch for google, bing, duckduckgo, yandex, youtube and pixabay. Now can’t watch lots of Youtube videos: youtube-dl https://www.youtube.com/watch\?v\=xxx\&feature\=emb_title [youtube] xxx: Downloading webpage ERROR: xxx: YouTube said: This video is restricted. Try signing in with a G Suite account. Sorry about that. I wish to keep the […]

Categories
Linux Mastering Development Ubuntu

Not able to assign ::1/128 to a different interface other than lo

When lo interface is created, it has 2 localhost addresses, 127.0.0.1/8 for IPV4 and ::1/128 for IPV6. I need to have the same localhost addresses on a different interface in a different VRF (management VRF). I’m able to assign 127.0.0.1/8 to the new interface(mgmt interface) without problem, but I’m not able to assign ::1/128 to […]

Categories
Development

String Matching a list of names

I’m working on my first big project trying to learn more about string matching. I am trying to match a list of names based on this article: https://bergvca.github.io/2017/10/14/super-fast-string-matching.html import pandas as pd import re from sklearn.feature_extraction.text import TfidfVectorizer names_short = pd.DataFrame([“gogle”,”bing”,”amazn”,”facebook”,”fcbook”,”abbasasdfzz”, “zsdfzl”,”gogle”,”bing”,”amazn”,”facebook”,”fcbook”, “abbasasdfzz”,”zsdfzl”,”google”,”bing”,”amazon”,”facebook”], columns=[“name”]) def ngrams(string, n=3): string = re.sub(r'[,-./]|\sBD’,r”, string) ngrams = zip(*[string[i:] for […]