Skip to content

Instantly share code, notes, and snippets.

@arivero
arivero / StandardModelLog.tex
Last active June 6, 2017 19:53
tikz/pkgplot logplot of quarks and leptons in Standard Model of Elementary Particles
\documentclass[a4paper,landscape]{article}
%remember to install pfgplots
%\usepackage{gensymb}
\usepackage{graphicx}
%\usepackage{amsmath}
\usepackage{adjustbox} %either import it, or remove the begin...end
%{amsart}
\usepackage{tikz}
\usepackage{pgfplots}
@lmullen
lmullen / Makefile
Last active February 25, 2023 21:14
PDF slides and handouts using Pandoc and Beamer
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md))
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md))
all : $(SLIDES) $(HANDOUTS)
%.md.slides.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -o $@
%.md.handout.pdf : %.md
pandoc $^ -t beamer --slide-level 2 -V handout -o $@
@connerbrooks
connerbrooks / arch-x230t.md
Last active December 30, 2022 01:03
Installing Arch Linux on x230t

x230t Arch Install

Prep

  • Create a USB live disk with arch ISO. If you have an existing Linux install you can use dd.
  • Boot to the USB drive, and open the Arch Beginner Guide on a separate computer.

Drivers

  • xf86-video-intel

Input Devices

@coffeemug
coffeemug / gist:6168031
Last active February 3, 2022 23:16
The fun of implementing date support
After spending the better part of the month implementing date support
in RethinkDB, Mike Lucy sent the team the following e-mail. It would
have been funny, if it didn't cause thousands of programmers so much
pain. Read it, laugh, and weep!
-----
So, it turns out that we're only going to support dates between the
year 1400 and the year 10000 (inclusive), because that's what boost
supports.
@ndarville
ndarville / business-models.md
Last active January 13, 2024 17:27
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@arvearve
arvearve / gist:4158578
Created November 28, 2012 02:01
Mathematics: What do grad students in math do all day?

Mathematics: What do grad students in math do all day?

by Yasha Berchenko-Kogan

A lot of math grad school is reading books and papers and trying to understand what's going on. The difficulty is that reading math is not like reading a mystery thriller, and it's not even like reading a history book or a New York Times article.

The main issue is that, by the time you get to the frontiers of math, the words to describe the concepts don't really exist yet. Communicating these ideas is a bit like trying to explain a vacuum cleaner to someone who has never seen one, except you're only allowed to use words that are four letters long or shorter.

What can you say?