gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
- -dPDFSETTINGS=/screen lower quality, smaller size. (72 dpi)
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
- -dPDFSETTINGS=/screen lower quality, smaller size. (72 dpi)
Error: spawn /home/imin/.serverless/bin/xdg-open ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Get your user ID.
$ id -u <user_name>
1000
Then add the line below to crontab -e
.
from vfs_appointment_finder import utils | |
class TestUtils: | |
def test_initialize_firefox_webdriver(self): | |
fox = utils.initialize_webdriver('firefox') | |
assert type(fox) == utils.webdriver.firefox.webdriver.WebDriver | |
fox.quit() | |
def test_initialize_chrome_webdriver(self): |
To be able to install drivers on Ubuntu 20.04, use this repo:
https://github.com/aircrack-ng/rtl8812au
A related question
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
Install font awesome
sudo apt-get install fonts-font-awesome
# LUNARLOGIC.IO PROGRAMMING TASK | |
# Imagine we are organizing a Lunar dinner. | |
# 30 people have confirmed that they will come. | |
# We will all be seating at five 6-person tables (A, B, C, D, E, respectively). | |
# There will be 3 courses. After each course we'll change our seats. | |
# We'd like every person to sit with as many different people as possible throughout the dinner. | |
# As a bonus you may think of future similar occasions where different number of people and tables may be available. | |
# Write a program that would assign 30 people to their seats (A1, A2, A3, etc., up to E6) during each course with that goal in mind. |