Skip to content

Instantly share code, notes, and snippets.

@thiagozs
thiagozs / DoH_DNSoverHTTPS.md
Created November 29, 2021 21:16
DoH - DNS over HTTPS

DoH - DNS over HTTPS

DoH queries resolve over HTTPS for privacy, performance, and security. DoH also makes it easier to use a name server of your choice instead of the one configured for your system.

Spec

RFC 8484 - DNS Queries over HTTPS (DoH)

Publicly available servers

@bordaigorl
bordaigorl / USAmap.tex
Last active December 25, 2024 17:22
USA TikZ map
%% Imported from https://upload.wikimedia.org/wikipedia/commons/3/32/Blank_US_Map.svg
%% Translated to TikZ using Inkscape 0.48
\tikzset{USA map/.cd,
state/.style={fill, draw=white, ultra thick},
HI/.style={}, AK/.style={}, FL/.style={}, NH/.style={}, MI/.style={}, MI/.style={}, VT/.style={}, ME/.style={}, RI/.style={}, NY/.style={}, PA/.style={}, NJ/.style={}, DE/.style={}, MD/.style={}, VA/.style={}, WV/.style={}, OH/.style={}, IN/.style={}, IL/.style={}, CT/.style={}, WI/.style={}, NC/.style={}, DC/.style={}, MA/.style={}, TN/.style={}, AR/.style={}, MO/.style={}, GA/.style={}, SC/.style={}, KY/.style={}, AL/.style={}, LA/.style={}, MS/.style={}, IA/.style={}, MN/.style={}, OK/.style={}, TX/.style={}, NM/.style={}, KS/.style={}, NE/.style={}, SD/.style={}, ND/.style={}, WY/.style={}, MT/.style={}, CO/.style={}, ID/.style={}, UT/.style={}, AZ/.style={}, NV/.style={}, OR/.style={}, WA/.style={}, CA/.style={}}
\tikzset{
every state/.style={USA map/state/.style={#1}},
HI/.style={USA map/HI/.style={#1}}, AK/.
@vedantroy
vedantroy / demo.ts
Last active December 25, 2024 17:22
SQLite-backed key-value store with JS-like object manipulation and automatic JSON serialization.
import Database from 'better-sqlite3';
import { createDatabaseClient } from './proxy.ts';
// 1) Create an in-memory DB and your table(s).
const db = new Database(':memory:');
db.exec(`
CREATE TABLE users (
id TEXT PRIMARY KEY,
data JSON
);
@oldnapalm
oldnapalm / LoadCayoPerico.cs
Created July 1, 2021 17:20
GTA 5 SHVDN script to load Cayo Perico island
using System;
using GTA;
using GTA.Math;
using GTA.Native;
namespace LoadCayoPerico
{
public class LoadCayoPerico : Script
{
private Blip island;
@mutin-sa
mutin-sa / Top_Public_Recursive_Name_Servers.md
Last active December 25, 2024 17:19
List of Top Public Recursive Name Servers

DNS:

IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
1.1.1.1 2606:4700:4700::1111 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
95.85.95.85 2a03:90c0:999d::1 AS199524 EU *W
@jinjier
jinjier / javdb-top250.md
Last active December 25, 2024 17:19
JavDB top 250 movies list. [Updated on 2024/12]
@ih2502mk
ih2502mk / list.md
Last active December 25, 2024 17:16
Quantopian Lectures Saved
@ntkhang03
ntkhang03 / Lichcupdien.js
Last active December 25, 2024 17:02
Gửi thông báo lịch cúp điện qua Email (Sử dụng Google App Scritp)
// 📌 Description: Crawl lịch cúp điện từ trang web lichcupdien và gửi email thông báo
// ⚠️ Lưu ý: Script này chỉ có thể lấy dữ liệu từ trang web lichcupdien.org, không thể hoạt động với các trang web khác
// Các URL cần lấy dữ liệu
// Mỗi url (tương ứng với tỉnh/thành phố) có thể lọc ra các khu vực cần thiết để nhận thông báo, cách nhau bởi dấu phẩy
// Nếu muốn lấy thông báo cúp điện từ tất cả các khu vực của một tỉnh/thành phố, điền <ALL>
// Điền theo mẫu như ví dụ bên dưới, mỗi url (tỉnh/thành phố) cách nhau bởi dấu xuống dòng
// Ví dụ: Muốn lấy thông báo cúp điện từ Phú Quới (Vĩnh Long), Tắc Vân và Định Bình (Cà Mau), tất cả khu vực ở An Giang
const urlString = `
https://lichcupdien.org/lich-cup-dien-vinh-long: Phú Quới
@hackermondev
hackermondev / zendesk.md
Last active December 25, 2024 17:02
1 bug, $50,000+ in bounties, how Zendesk intentionally left a backdoor in hundreds of Fortune 500 companies

hi, i'm daniel. i'm a 15-year-old with some programming experience and i do a little bug hunting in my free time. here's the insane story of how I found a single bug that affected over half of all Fortune 500 companies:

say hello to zendesk

If you've spent some time online, you’ve probably come across Zendesk.

Zendesk is a customer service tool used by some of the world’s top companies. It’s easy to set up: you link it to your company’s support email (like [email protected]), and Zendesk starts managing incoming emails and creating tickets. You can handle these tickets yourself or have a support team do it for you. Zendesk is a billion-dollar company, trusted by big names like Cloudflare.

Personally, I’ve always found it surprising that these massive companies, worth billions, rely on third-party tools like Zendesk instead of building their own in-house ticketing systems.

your weakest link

@bsara
bsara / git-ssh-auth-win-setup.md
Last active December 25, 2024 17:01
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config