From 6bb1e0153c3062e2090d8911133b4ae4b9c3912e Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 18 Nov 2020 17:41:25 +0100 Subject: [PATCH] Fix comment line length --- sheets/carthage | 9 +++++---- sheets/cpp | 5 +++-- sheets/extundelete | 13 ++++++++----- sheets/gpustat | 6 ++++-- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/sheets/carthage b/sheets/carthage index 707c821..f07778c 100644 --- a/sheets/carthage +++ b/sheets/carthage @@ -1,16 +1,17 @@ # carthage # A dependency management tool for Cocoa applications (Mac OS X) -# Download the latest version of all dependencies mentioned in Cartfile, and build them: +# Download the latest version of all dependencies mentioned in Cartfile, +# and build them carthage update -# Update dependencies, but only build for iOS: +# Update dependencies, but only build for iOS carthage update --platform ios -# Update dependencies, but don't build any of them: +# Update dependencies, but don't build any of them carthage update --no-build -# Download and rebuild the current version of dependencies (without updating them): +# Download and rebuild the current version of dependencies (without updating them) carthage bootstrap # Rebuild a specific dependency: diff --git a/sheets/cpp b/sheets/cpp index ec9fb73..c163365 100644 --- a/sheets/cpp +++ b/sheets/cpp @@ -1,7 +1,8 @@ # C++ # -# C++ is an object-oriented programming language which provides facilities for low-level memory manipulation. -# It is widely used by big tech companies, such as, Amazon, Facebook, Google, and SpaceX +# C++ is an object-oriented programming language which provides facilities for +# low-level memory manipulation. It is widely used by big tech companies, +# such as, Amazon, Facebook, Google, and SpaceX # # To Compile: g++ my_script.cpp # To Execute: ./a.out diff --git a/sheets/extundelete b/sheets/extundelete index b74d3a9..5b9c580 100644 --- a/sheets/extundelete +++ b/sheets/extundelete @@ -1,12 +1,15 @@ -# to recover a file in /home/SomeUserName/, assuming /home is on its own partition, run: -extundelete /dev/sda4 --restore-file SomeUserName/SomeDirectory +# extundelete +# An ext3 and ext4 file undeletion utility + +# Recover a file in '/home/UserName', assuming '/home' is on its own partition +extundelete /dev/sda4 --restore-file UserName/SomeDirectory # Recover an entire directory -extundelete /dev/sda4 --restore-directory SomeUserName/SomeDirectory +extundelete /dev/sda4 --restore-directory UserName/SomeDirectory # For advanced users, to manually recover blocks or inodes with extundelete, -# debugfs can be used to find the inode to be recovered; -# Additional inodes to recover can be listed in an unspaced, comma-separated fashion. +# `debugfs` can be used to find the inode to be recovered; additional inodes +# to recover can be listed in an unspaced, comma-separated fashion. extundelete --restore-inode inode # recover all deleted files from an entire partition diff --git a/sheets/gpustat b/sheets/gpustat index a8bb74c..afd2af1 100644 --- a/sheets/gpustat +++ b/sheets/gpustat @@ -1,5 +1,7 @@ -# A simple command-line script (wrapper for nvidia-smi) for querying and monitoring GPU status -# to install: pip install gpustat +# gpustat +# A simple command-line script for querying and monitoring GPU status. +# It is a wrapper for nvidia-smi. +# To install: `pip install gpustat` # show GPU statistsics with the processes PIDs and names gpustat -cp