This script will adjust all PDF comment annotations by replacing the name of the creator in the comment metadata and content with a new name.
- Adobe Acrobat Pro DC
use AppleScript version "2.4" | |
set iPadName to "ChatPad" -- TODO: Change to the name of your iPad | |
tell application "System Preferences" to activate | |
tell application "System Preferences" | |
reveal pane id "com.apple.preference.displays" | |
end tell |
-- Export the Keynote presentation of the front window to a folder on the desktop as PNG | |
tell application "Finder" | |
set folderName to "Keynote export" | |
set folderPath to POSIX path of (path to desktop) & folderName | |
-- trash the previous export, if any | |
if ((exists folder (folderName) of desktop)) then | |
move my (POSIX file folderPath) to the trash | |
end if |
--- | |
title: "Rank-order matching" | |
output: html_notebook | |
--- | |
```{r, include=FALSE} | |
# Package installation | |
if (!require("pacman")) install.packages("pacman", repos='https://stat.ethz.ch/CRAN/'); library(pacman) | |
p_load(combinat) |
# requires: pip install pyPDF2 | |
from PyPDF2 import PdfFileReader, PdfFileWriter | |
import os | |
# prepare output writer | |
pdfWriter = PdfFileWriter() | |
# loop reading the first page of each files | |
for aFileName in [fname for fname in os.listdir(".") if ".pdf" in fname]: | |
pdfReader = PdfFileReader(open(aFileName, "rb")) |
# These settings are obtained from | |
# pkg-config --print-variables pcl_common-1.7 | |
# pkg-config --variable=libdir pcl_common-1.7 | |
PCL_INCLUDE_DIRS=/usr/include/pcl-1.7 | |
PCL_LIBRARY_DIRS=/usr/lib/arm-linux-gnueabihf |
# This is the CMakeCache file. | |
# For build in directory: /home/pi/pcl-pcl-1.7.2/build | |
# It was generated by CMake: /usr/bin/cmake | |
# You can edit this file to change values found and used by cmake. | |
# If you do not want to change any of the values, simply exit the editor. | |
# If you do want to change a value, simply edit, save, and exit the editor. | |
# The syntax for the file is as follows: | |
# KEY:TYPE=VALUE | |
# KEY is the name of a variable in the cache. | |
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!. |