Skip to content

Instantly share code, notes, and snippets.

@mikepqr
mikepqr / # neovim - 2023-12-17_22-10-16.txt
Created December 18, 2023 17:22
neovim on macOS 14.1 - Homebrew build logs
Homebrew build logs for neovim on macOS 14.1
Build date: 2023-12-17 22:10:16
@mikepqr
mikepqr / # neovim - 2023-12-17_22-10-16.txt
Created December 18, 2023 17:15
neovim on macOS 14.1 - Homebrew build logs
Homebrew build logs for neovim on macOS 14.1
Build date: 2023-12-17 22:10:16
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikepqr
mikepqr / README.md
Last active September 27, 2021 04:19
Make printouts from Firefox Reader mode look like NYRB artices

printout with this stylesheet

See this tweet for how I use this.

To install in Firefox:

  1. If it doesn't already exist, create a folder called chrome in your profile folder. The easiest way to find your profile folder is in about:profiles (there's a "Show in Finder" link for the folder on macOS). Be sure to choose the right profile is you have more than one.

  2. Put userContent.css above in the chrome folder you just created.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!doctype html>
<html>
<head>
<title>Joy of Computing</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1 maximum-scale=1 user-scalable=no">
<link rel="stylesheet" media="screen" href="https://d29xw0ra2h4o4u.cloudfront.net/assets/joy_of_computing-3384bb049269a50b6518dc7e97c534fa1557323722ef3dc26d23b1d0b54048f3.css" />
<script src="https://d29xw0ra2h4o4u.cloudfront.net/assets/joy_of_computing-9a4831474100e94089cc86a7d5487efe27894358edcf5b63ce8eb5b126643f9b.js"></script>
<meta name="csrf-param" content="authenticity_token" />
# !wget http://cs.stanford.edu/people/alecmgo/trainingandtestdata.zip
# !unzip trainingandtestdata.zip
# !pip3 install joblib sklearn
import pandas as pd
import joblib
from sklearn.model_selection import train_test_split
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_selection import SelectKBest, chi2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus tincidunt aliquet tellus, vitae blandit diam porttitor vitae. Etiam molestie, massa et pretium dictum, ante odio dictum nunc, nec luctus quam neque at magna. Fusce gravida, neque vel feugiat mollis, velit risus fringilla velit, nec imperdiet tortor massa vitae ligula. In hac habitasse platea dictumst. Vivamus sodales volutpat tempus. Maecenas vel nisl velit. Vestibulum suscipit est id risus tincidunt, ac mattis nunc euismod. Nullam sed risus mattis, iaculis libero in, imperdiet nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Quisque vitae ornare ex, eu tempus quam. Donec magna sem, rhoncus et neque eleifend, dignissim cursus sem. Vestibulum mattis