Let's say one wants to know where pdflatex
is located.
$ type pdflatex
pdflatex is /Library/TeX/texbin/pdflatex
We can see that this path is a symbolic link to pdftex
.
$ ls -ld /Library/TeX/texbin/pdflatex
# Approximate the median of the standard half-normal distribution by | |
# computing the 75th percentile of the standard normal distribution using | |
# the algorithm from the original implementation of scipy.special.ndtri | |
# | |
# Based on the code from https://stackoverflow.com/questions/41338539#41338979 | |
# which was based on the original implementation in ndtri.c | |
s2pi = 2.50662827463100050242E0 | |
P0 = [ |
# cover (1 page) | |
# table of contents (14 pages) | |
# result: C1,i,ii,...,xiv,1,2,... | |
pip install pagelabels | |
python -m pagelabels --delete doc.pdf | |
python -m pagelabels --startpage 1 --prefix C doc.pdf | |
python -m pagelabels --startpage 2 --type 'roman lowercase' doc.pdf | |
python -m pagelabels --startpage 16 --type arabic doc.pdf |
# show information about pdf resources (shows font names used in PDF) | |
mutool info file.pdf | |
# extract font and image resources | |
mutool extract file.pdf | |
# convert a CFF file (Compact Font Format) to OTF format (OpenType Font) | |
fontforge -lang=ff -c 'Open($1); Generate($1:r + ".otf")' font.cff |
The verbosity of performing a simple linear regression in the current stable release has increased by an astonishing amount.1
In the documentation it is recommended to not use [numpy.polyfit
][polyfit].
As noted above, the poly1d class and associated functions defined in
numpy.lib.polynomial
, such asnumpy.polyfit
andnumpy.poly
, are considered legacy and should not be used in new code. Since NumPy version 1.4, thenumpy.polynomial
package is preferred for working with polynomials.
For polynomial regression, the the documentation [recommends][polynomials] to replace [numpy.polyfit
][polyfit] with [numpy.polynomial.polynomial.Polynomial.fit
][polynomial].
Test with Chrome 112.0.5615.137 and uBlock Origin 1.49.2
www.google.com##div:has-text("It looks like there aren't many great matches for your search")
www.google.com##div:has-text(/It looks like there aren\'t many great matches for your search/)
Possibly because it narrows down the number of divs to consider.
The ChromiumOS distribution CloudReady was discontinued some time after Google acquired the company that offered it. The successor is ChromeOS Flex but there don't seem to be any official virtual machine images available.
The CloudReady OVA file mentioned in the knowledge base article is available on the Wayback Machine (direct download).
$ sha256sum CloudReady-Home-v83-x64.ova
7e4c7304c4b7363dfd778d3a58765c4d03fcd9fb3a1e5ae97c2582b42e4b66ad CloudReady-Home-v83-x64.ova
// ==UserScript== | |
// @name Anti-Clickjacking | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description restore cmd+click on article links to open new tab | |
// @author Stefan | |
// @match https://www.technologyreview.com/ | |
// @icon https://www.technologyreview.com/static/media/favicon.1cfcdb44.ico | |
// @grant none | |
// ==/UserScript== |