Signup/Sign In


All questions must be answered. Here are the Answers given by this user in the Forum.

cbr and cbz stand for Comic Book Rar and Comic Book Zip. Those files are basically JPEGs stored in a archive with a custom extension. Since they are already compressed in a archive you cannot reduce their sizes by archive compression.

What you do can instead is to extract the images from the archive with 7z e file.cbz for example and process the JPEGs to reduce the image quality (and size) with the convert command from ImageMagick. Finally, you can rebuild your archive with the 7z utility or the zip command (or alternatively the rar command if you want .cbr files). You just need to rename your .zip files to .cbz (or your .rar files to .cbr).
2 years ago
I run/schedule 'canned' PDF reports using ***roff**, generating tables and simple PICs as I process the data with python, and organizing sources with simple bash scripts. Smooth & Simple.

Like **vi**, ***roff** is always there, ready-to-run and generates clean PDFs with minimal fuss. I like ***roff's** terse markup.

This said, I don't pretend to be a representative sample of typesetter/mark-up users...
2 years ago
There is no need to execute an external program. bash's string manipulation can handle it (also available in **ksh93** (where it comes from), zsh and recent versions of **mksh**, **yash** and busybox **sh** (at least)):
***$ VERSION='2.3.3'
$ echo "${VERSION//.}"
2 years ago
HP, DELL, IBM they all provide toolkit to export/import BIOS settings to/from a XML file. Check support/download page of your hardware model.
2 years ago
Use Imagemagick for this.

Read the man page for correct use but it should work by passing parameters, something like
**convert 1.png -resize 50x100 1-resized.png**
2 years ago
For you as a user, you can update your view of the date/time with this command
***export TZ='Asia/Kolkata'***
If you have a time in seconds since the epoch you can either run the export command above or give the setting to date each time you use it

***date --utc --date '@1509872957' # Sun 5 Nov 09:09:17 UTC 2017
date --date '@1509872957' # Sun 5 Nov 09:09:17 GMT 2017 (my timezone)

TZ='Asia/Kolkata' date --date '@1509872957' # Sun 5 Nov 14:39:17 IST 2017

export TZ='Asia/Kolkata'
date --date '@1509872957' # Sun 5 Nov 14:39:17 IST 2017 (your timezone)***
With sufficient rights you can update the system's view of the time, since it seems to be PST. On my Debian-based system it's **tzselect** for an interactive selection.
2 years ago
LTR stands for Long Term Release. This is also known as a LTSR, short for Long Term Support Release. These releases are supported for a longer time, and are meant to be used in Production Environments, where stability is preferred over new features. In terms of the kernel you are reading about, the LTR cycle is about 3 years. This means if you are a user who needs stability, if you download an LTR kernel, it will be supported upstream for the next 3 Years. The definitive source for Linux Kernels are the Linux Kernel Archives.
2 years ago
Close stderr with **2>&-**:
***cat my-file.txt 2>&- || false***
2 years ago
Your log means that server-side drops the connection. To find out the reason, you should consult server-side logs, they should show reason for disconnection. You should be almost always be able to find logs in /var/log/messages

I could guess that, as connection dropped just after client sent version number, server somehow threats client as incompatible.
2 years ago
GNU **time** outputs the resource usage information on stderr, though can be told to write it elsewhere with **-o**
musage=$(command time -o /dev/fd/4 -f %M ls / 4>&1 >&3 3>&-)
} 3>&1***

Would record the max memory usage in the variable whilst leaving **ls**' stdout and stderr alone.

That works by duplicating the original fd 1 (stdout) to fd 3 outside the command substitution with **3>&1**, so that inside the command substitution, we can restore the original stdout for **ls** with **>&3** after having made the command substitution pipe available on fd 4.

Then **time** writes its output to that pipe via **/dev/fd/4**, while **ls** stdout is the original one.
2 years ago
Please check your BIOS settings. I faced exact same issue on my HP Laptop which goes directly into Windows 10 bypassing the linux boot options. My issue was resolved by enabling legacy mode and disable secure boot option. Please check similar options in your BIOS too.
2 years ago works on Linux, is free and supports either local saving, or you can save Google Drive, OneDrive and Dropbox.

There is also a desktop version with snap, AppImage, rpm and deb releases.
2 years ago