Skip to content

Instantly share code, notes, and snippets.

@swickrotation
swickrotation / neovim-setup-from-scratch.md
Last active April 11, 2025 15:47 — forked from elpddev/neovim-setup-from-scratch.md
Neovim Setup from Scratch (Based on ThePrimeagen)
@t3dotgg
t3dotgg / model-prices.csv
Last active October 10, 2025 21:19
Rough list of popular AI models and the cost to use them (cost is per 1m tokens)
Name Input Output
Gemini 2.0 Flash-Lite $0.075 $0.30
Mistral 3.1 Small $0.10 $0.30
Gemini 2.0 Flash $0.10 $0.40
ChatGPT 4.1-nano $0.10 $0.40
DeepSeek v3 (old) $0.14 $0.28
ChatGPT 4o-mini $0.15 $0.60
Gemini 2.5 Flash $0.15 $0.60
DeepSeek v3 $0.27 $1.10
Grok 3-mini $0.30 $0.50
@akshaybabloo
akshaybabloo / get_dns_records.py
Last active December 16, 2024 13:24
Printing all DNS records using DNSPython in Python 3
#!/usr/bin/env python
# -*- coding utf-8 -*-
#
# Copyright 2016 Akshay Raj Gollahalli
import dns.resolver
def get_records(domain):
"""
@Zearin
Zearin / python_decorator_guide.md
Last active November 27, 2025 13:33
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].