gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dFirstPage=294 -dLastPage=523 -sOutputFile=output.pdf input.pdf
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combined.pdf part1.pdf part2.pdf part3.pdf
Just "print" your pdf in pdf format!
[ | |
{ | |
"key": "ctrl+alt+[Period]", | |
"command": "breadcrumbs.focus", | |
"when": "breadcrumbsPossible" | |
}, | |
{ | |
"key": "ctrl+[Period]", | |
"command": "-breadcrumbs.focus", | |
"when": "breadcrumbsPossible" |
# >>> custom prompt PS1 >>> | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
export GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export GIT_PS1_SHOWUPSTREAM=auto | |
TRIANGLE_SYM=$'\ue0b0' | |
function prompt_func() { | |
# IMPORTANT: Non-printable sequences should be enclosed in \[ and \] | |
if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" ]; then # inside a git repo | |
gitsubdir=$(basename $(git rev-parse --show-toplevel))/$(git rev-parse --show-prefix) |
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dFirstPage=294 -dLastPage=523 -sOutputFile=output.pdf input.pdf
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combined.pdf part1.pdf part2.pdf part3.pdf
Just "print" your pdf in pdf format!
conda create -n new_env
conda activate new_env
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install pandas scikit-learn matplotlib
Find packages already installed / to install:
apt list --installed | grep texlive
apt-cache search texlive
Packages:
sudo apt-get install texlive
sudo apt-get install texlive-science texlive-plain-generic texlive-pictures texlive-latex-extra texlive-lang-european texlive-lang-french texlive-fonts-extra texlive-extra-utils
PREFIX geo: <http://www.bigdata.com/rdf/geospatial#> | |
CONSTRUCT { | |
?res <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <urn:resource>. | |
} WHERE { | |
<http://www.bigdata.com/queryHints#Query> <http://www.bigdata.com/queryHints#optimizer> "None". | |
?res <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.datatourisme.gouv.fr/ontology/core#PointOfInterest>. | |
?res <https://www.datatourisme.gouv.fr/ontology/core#isLocatedAt> ?5f2bf19f87ae4. | |
?5f2bf19f87ae4 <http://schema.org/geo> ?poi. | |
{ | |
SERVICE geo:search { |
#!/usr/bin/env python3 | |
# Julien Nonin | |
#%% | |
import numpy as np | |
from numpy import linalg as la | |
import matplotlib.pyplot as plt | |
from matplotlib.patches import Ellipse | |
def plot_confidence_ellipse(mu, cov, alph, ax, clabel=None, label_bg='white', **kwargs): |
# You can install the `IRkernel` package using the following lines in an R console: | |
install.packages(c('rzmq','repr','IRkernel','IRdisplay'), | |
repos = c('http://irkernel.github.io/', | |
getOption('repos')), | |
type = 'source') | |
# Don't forget to make the kernel available to Jupyter! | |
IRkernel::installspec() # user=FALSE to install system-wide |