Skip to content

Instantly share code, notes, and snippets.

@julianlam
julianlam / tp-link-ac600-ac1300-drivers-linux.md
Last active January 24, 2025 12:13
Installing drivers for the TP-Link T2U/T3U Plus (AC600 or AC1300) Wireless Adapter #blog
@afparsons
afparsons / pprint_queryset.py
Last active January 24, 2025 12:11
Django QuerySet PrettyPrint
# Enhanced Django QuerySet printing using PrettyPrinter
# Example usage: dropped into and employed within an IPython notebook.
# --- PRETTYPRINT -------------------------------------------------------------
# A PrettyPrinter object contains a _dispatch dictionary.
# This lookup table contains (key, value) pairs wherein the key corresponds to
# an object's __repr__ method, and the value is a special _pprint_<OBJECT>
# method. The PrettyPrint method pprint() queries the dictionary to call the
# appropriate object printer.
@klement97
klement97 / error.handler.ts
Last active January 24, 2025 12:11
A central solution to error handling in Angular Reactive Forms
import {AbstractControl, FormArray, FormControl, FormGroup, ValidationErrors} from '@angular/forms';
import {Injectable} from '@angular/core';
import {debounceTime, distinctUntilChanged} from 'rxjs/operators';
export declare interface ServerError {
[key: string]: [];
}

g.co, Google's official URL shortcut (update: or Google Workspace's domain verification, see bottom), is compromised. People are actively having their Google accounts stolen.

Someone just tried the most sophisticated phishing attack I've ever seen. I almost fell for it. My mind is a little blown.

  1. Someone named "Chloe" called me from 650-203-0000 with Caller ID saying "Google". She sounded like a real engineer, the connection was super clear, and she had an American accent. Screenshot.

  2. They said that they were from Google Workspace and someone had recently gained access to my account, which they had blocked. They asked me if I had recently logged in from Frankfurt, Germany and I said no.

  3. I asked if they can confirm this is Google calling by emailing me from a Google email and they said sure and sent me this email and told me to look for a case number in it, which I saw in

@hackermondev
hackermondev / research.md
Last active January 24, 2025 12:06
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

@FreyaHolmer
FreyaHolmer / GpuPrinter.cginc
Last active January 24, 2025 11:58
A unity shader .cginc to draw numbers in the fragment shader - see the first comment below for example usage!
///////////////////////////////////////////////////////////////////////////////
// ABOUT: A unity Shader .cginc to draw numbers in the fragment shader
// AUTHOR: Freya Holmér
// LICENSE: Use for whatever, commercial or otherwise!
// Don't hold me liable for issues though
// But pls credit me if it works super well <3
// LIMITATIONS: There's some precision loss beyond 3 decimal places
// CONTRIBUTORS: yes please! if you know a more precise way to get
// decimal digits then pls lemme know!
// GetDecimalSymbolAt() could use some more love/precision
@amitmerchant1990
amitmerchant1990 / console.js
Created January 24, 2025 08:07
Calculate used localStorage size for a website
let totalSize = 0;
for (let key in localStorage) {
if (localStorage.hasOwnProperty(key)) {
let keySize = new Blob([key]).size; // Size of the key
let valueSize = new Blob([localStorage[key]]).size; // Size of the value
totalSize += keySize + valueSize;
}
}
文件名 下载链接 提取码
一凡评书《孙庞演义》MP3免费打包下载 123回全 https://pan.baidu.com/s/1TKRhydXv0QLRiRcHSpBfWg?pwd=2233 2233
一凡评书《辽西风雨路》MP3打包下载 220回全 https://pan.baidu.com/s/1gqssQppHCpjWjeK9iqC31g?pwd=5566 5566
于枢海评书《大刀王五》MP3免费打包下载 79回全集 https://pan.baidu.com/s/12fIxuA4oI_zTVndaFpxqbA xdqt
于海龙评书《张义传奇》MP3免费打包下载 14回 https://pan.baidu.com/s/1viC2m6xWt7kVuww0rMdQ5g?pwd=6677 6677
仲维维评书《一个女人的风景》MP3免费打包下载 7回全集 https://pan.baidu.com/s/1c227Iuc wpja
仲维维评书《一滴血》MP3免费打包下载 24回全集 https://pan.baidu.com/s/1miG45L2 xm2j
仲维维评书《七星龙王》MP3免费打包下载 30回全集 https://pan.baidu.com/s/1mhEmtmw a3wx
仲维维评书《三少爷的剑》MP3打包下载 ed2k://|file|%5B%E4%BB%B2%E7%BB%B4%E7%BB%B4%5D%E4%B8%89%E5%B0%91%E7%88%B7%E7%9A%84%E5%89%91.rar|265302041|c210a0ac46be8f474738351d8d586bc8|h=MDB2DETOEWWKIT3NKIXDCZYKYKF4DJOH|/
仲维维评书《中国瓷商》MP3打包下载 75回全集 https://pan.baidu.com/s/1wX_Hx303j5jVP9xVMS6h5Q abah