Skip to content

Instantly share code, notes, and snippets.

veekaybee /
Last active September 21, 2023 12:55
Normcore LLM Reads
bishboria /
Last active September 4, 2023 04:12
Springer made a bunch of books available for free, these were the direct links
from scipy.stats import dirichlet, poisson
from numpy.random import choice
num_documents = 5
num_topics = 2
topic_dirichlet_parameter = 1 # beta
term_dirichlet_parameter = 1 # alpha
vocabulary = ["see", "spot", "run"]
num_terms = len(vocabulary)
anildigital / gist:862675ec1b7bccabc311
Created July 26, 2014 18:27
Remove dangling docker images
View gist:862675ec1b7bccabc311
docker rmi $(docker images -q -f dangling=true)
eyeseast / chart.html
Created September 1, 2013 21:01
Code from my post on responsive bar charts.
View chart.html
<div id="chart">
<h4>Percent of adults over 25 with at least a bachelor's degree:</h4>
<p><strong>Median:</strong> <span class="median"></span></p>
<small>Source: <cite><a href="">U.S. Census Bureau</a></cite>, via <cite><a href="">Census Reporter</a></cite></small>
GerHobbelt / .gitignore
Created April 27, 2012 03:19 — forked from anonymous/flare.json
d3.js: show tooltip in absolutely positioned DIV, which position is calculated taking screen size+scroll into consideration
View .gitignore
# Editor backup files