Use my referral link for Digital Ocean to get extra credits!
#! /bin/bash | |
#### | |
# READ THIS! | |
# You need to have jq installed to run this script. | |
# To run, execute ./search-for-subdomains.sh facebook.com | |
#### | |
probeTimeoutInSeconds=10 |
#! /bin/bash | |
# new DNS specification RFC8482 states that DNS servers do not need to respond to ANY metatype | |
# and can return NOTIMP (not implemented) response for such query. Many of us however, used | |
# `dig -t any domain.tld` command | |
# for various debugging purposes. Since more and more servers will be refusing such queries, | |
# the alternative is to query servers "manually" for every possible record type. | |
domain="$1" |
function getProp(elem, prop) { | |
const propValue = window.getComputedStyle(elem).getPropertyValue(prop); | |
return `${prop}: ${propValue}; `; | |
} | |
function annotateElements(elems) { | |
for (let e of elems) { | |
let sBuilder = "<span style='font-size: 8px;'>"; | |
sBuilder += getProp(e, 'font-size'); | |
//add more properties if needed e.g.: |
/* 1. run the code in the console | |
* 2. Click on an element on a page | |
* 3. Click on another element | |
* 4. Distance between the two will be shown in the console | |
* NOTE: it measures only vertical distance (Y axis) NOT the horizontal one! | |
*/ | |
var firstElement; |
####### | |
# | |
# REQUIRES: pip install cose #!!!! | |
# | |
# HOW TO USE: | |
# 1. Use your favourite QR scanner to scan the code from a certificate, | |
# you'll get a string that starts with "HC1:" | |
# 2. Run the script: python3 covid-qr-certificate-decoder.py | |
# 3. Paste the string when prompted | |
# |
04/26/2103. From a lecture by Professor John Ousterhout at Stanford, class CS142.
This is my most touchy-feely thought for the weekend. Here’s the basic idea: It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.
[Laughter]
> But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relation