Skip to content

Instantly share code, notes, and snippets.

@swaptr
swaptr / arxiv.csv
Created March 30, 2025 19:32
arXiv category taxonomy
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
"code","name","description"
"cs.AI","Artificial Intelligence","Covers all areas of AI except Vision, Robotics, Machine Learning, Multiagent Systems, and Computation and Language (Natural Language Processing), which have separate subject areas. In particular, includes Expert Systems, Theorem Proving (although this may overlap with Logic in Computer Science), Knowledge Representation, Planning, and Uncertainty in AI. Roughly includes material in ACM Subject Classes I.2.0, I.2.1, I.2.3, I.2.4, I.2.8, and I.2.11."
"cs.AR","Hardware Architecture","Covers systems organization and hardware architecture. Roughly includes material in ACM Subject Classes C.0, C.1, and C.5."
"cs.CC","Computational Complexity","Covers models of computation, complexity classes, structural complexity, complexity tradeoffs, upper and lower bounds. Roughly includes material in ACM Subject Classes F.1 (computation by abstract devices), F.2.3 (tradeoffs among complexity measures), and F.4.3 (formal languages), although some material in formal
@swaptr
swaptr / lucide-render-icon.tsx
Last active May 28, 2024 12:30
For rendering Lucide React Icon from props. From: https://stackoverflow.com/a/76652860
import { LucideProps, UserPlus } from 'lucide-react';
function Icon({ icon: Icon }: { icon: React.FC<LucideProps> }) {
return <Icon className="text-blue-400" />;
}
export default function Login() {
return (
<div>
Some content <Icon icon={UserPlus} />