Upgrade
|
|
Preferences
Preview for PDFs - Incorrect Pages are Bookmarked
Turn off logical page numbers by going to Preferences
> PDF
and then unticking the Viewing documents: Use logical page numbers
box.
Hidden Utilities
afplay - Audio File Play
afplay [option…] audio_file
loop a file
|
|
individually play all file in a directory
|
|
transmission-cli: Download torrent and magnet links through the command line
Install transmission
|
|
Launch the daemon
|
|
Start the download
|
|
To have a visual update write: (add the -n flag to specify an interval, the standard is 2 seconds)
|
|
Stop the daemon
|
|
or create a magnet.links file including magnet:
link list of files you want to download, and then run below script to download all.
|
|
Some options:
To target to a directory
|
|
To download torrent file
|
|
|
|
To enable a peer blocklist: Since transmission-cli works different than its GTK counterpart, it often doesn’t save settings. This means peer blocklists need to be specified each time before use. The -b
switch enables a blocklist.
|
|
To download with encryption: It is possible to encrypt the traffic while downloading.
|
|
To remove a torrent
|
|
Convert wav to mp3
|
|
Free NTFS read and write on Mac
Edit fstab file
|
|
Add below line where DRIVE_NAME is the name of the drive. The drive’s name should contain no spaces, as adding a space to the configuration file would tell your Mac to interpret whatever’s after that space as a separate command. If your DRIVE_NAME is made up of two words separated with a space, for example, “NO NAME”, you have to add a “\” before the space for the system to recognize the space. For example, “NO\ NAME”.
|
|
Instead of using above, we can use the following command line.
|
|
Open Disk Utility and check File System UUID by opening Volume Info. Go back to Disk Utility to Unmount then Mount the NTFS disk to see if it is able to read and write to NTFS Disk.
Download from youtube
Download all content as mp3
format
|
|
Download all content as mp4
format
|
|
Download any youtube video
|
|
Download clip
|
|
Trim a video without downloading it entirely
|
|
-ss HH:MM:SS
: start time to take-to HH:MM:SS
: end time-t HH:MM:SS
: time length to take
Fastest: It will only download the section specified (to the nearest keyframe).
|
|
Exact Key Frame: inf
means to the end of the video.
|
|
Sections: Download a section titled “03. Symphony No. 6, Op. 68 (Pastoral): III. Allegro”:
|
|
Multiple Sections: Download multiple sections:
|
|
Verifying SHA256 checksum with shasum
A checksum is basically a string of letters and numbers that can be used to determine file integrity, like whether an error occurred during transmission, or whether a file was tampered with. For example, if the file checksum matches on your end with the checksum posted by where you received the file, you can be sure the file is identical.
|
|