From ee7879177a06416afd57f1be94338470422f0e60 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 18 Nov 2020 07:48:19 +0100 Subject: [PATCH] Fix comment line length --- sheets/elm | 3 ++- sheets/erlang | 3 ++- sheets/jshint | 11 ++++++----- sheets/julia | 5 +++-- sheets/lvcreate | 9 ++++++--- sheets/pg_top | 3 ++- sheets/pod | 3 ++- sheets/qlmanage | 4 ++-- sheets/sgdisk | 11 ++++++----- sheets/sox | 3 ++- 10 files changed, 33 insertions(+), 22 deletions(-) diff --git a/sheets/elm b/sheets/elm index 282c57f..5c5e1e5 100644 --- a/sheets/elm +++ b/sheets/elm @@ -1,5 +1,6 @@ # Elm -# Domain-specific programming language for declaratively creating web browser-based graphical user interfaces. +# Domain-specific programming language for declaratively creating +# web browser-based graphical user interfaces. # Start Elm REPL elm repl diff --git a/sheets/erlang b/sheets/erlang index e391e8a..d85f38e 100644 --- a/sheets/erlang +++ b/sheets/erlang @@ -1,5 +1,6 @@ # Erlang -# General-purpose, concurrent, functional programming language, as well as a garbage-collected runtime system. +# General-purpose, concurrent, functional programming language, +# as well as a garbage-collected runtime system. # See also: # erl diff --git a/sheets/jshint b/sheets/jshint index 25a9d79..ad36766 100644 --- a/sheets/jshint +++ b/sheets/jshint @@ -1,11 +1,12 @@ # jshint -# # JSHint is a fork of JSLint. The reasons for the fork is basically that -# the author disagrees in some points with Douglas Crockford on JavaScript coding style. +# the author disagrees in some points with Douglas Crockford +# on JavaScript coding style. # -# If you're looking for a very high standard for yourself or team, JSLint (by Doug Crockford) -# If you want to be a bit more flexible, -# or have some old pros on your team that don't buy into JSLint's opinions, try JSHint +# If you're looking for a very high standard for yourself or team, +# use JSLint (by Doug Crockford). +# If you want to be a bit more flexible, or have some old pros on your team +# that don't buy into JSLint's opinions, try JSHint. # to install jshint sudo npm install jshint -g diff --git a/sheets/julia b/sheets/julia index 6ec9e15..dbba01b 100644 --- a/sheets/julia +++ b/sheets/julia @@ -1,6 +1,7 @@ # Julia -# high-level dynamic programming language designed to address the needs of high-performance numerical analysis -# and computational science while also being effective for general-purpose programming +# high-level dynamic programming language designed to address the needs +# of high-performance numerical analysis and computational science, +# while also being effective for general-purpose programming. # Execute script from the file; pass additional arguments julia script.jl arg1 arg2 diff --git a/sheets/lvcreate b/sheets/lvcreate index 1442554..cf8224a 100644 --- a/sheets/lvcreate +++ b/sheets/lvcreate @@ -6,13 +6,16 @@ # Create a logical volume of 10 gigabytes in the volume group vg1: lvcreate -L 10G vg1 -# Create a 1500 megabyte linear logical volume named mylv in the volume group vg1: +# Create a 1500 megabyte linear logical volume named mylv +# in the volume group vg1: lvcreate -L 1500 -n mylv vg1 -# Create a logical volume called mylv that uses 60% of the total space in volume group vg1: +# Create a logical volume called mylv that uses 60% of the total space +# in the volume group vg1: lvcreate -l 60%VG -n mylv vg1 -# Create a logical volume called mylv that uses all of the unallocated space in the volume group vg1: +# Create a logical volume called mylv that uses all of the unallocated space +# in the volume group vg1: lvcreate -l 100%FREE -n mylv vg1 # Create a snapshot (lvsnap) from a logical volume (/dev/vgA/lv1); diff --git a/sheets/pg_top b/sheets/pg_top index 0aec970..ce78f0b 100644 --- a/sheets/pg_top +++ b/sheets/pg_top @@ -9,7 +9,8 @@ pg_top -p 5432 -U postgres -d database -W # A # Display the actual query plan (EXPLAIN ANALYZE) # E -# Display re-determined execution plan (EXPLAIN) of the SQL statement by a backend process +# Display re-determined execution plan (EXPLAIN) of the SQL statement +# by a backend process # L # Display the currently held locks by a backend process # Q diff --git a/sheets/pod b/sheets/pod index 169ce97..e39f7e6 100644 --- a/sheets/pod +++ b/sheets/pod @@ -5,7 +5,8 @@ # Create a Podfile for the current project with the default contents: pod init -# Download and install all pods defined in the Podfile (that haven't been installed before): +# Download and install all pods defined in the Podfile +# (that haven't been installed before): pod install # List all available pods: diff --git a/sheets/qlmanage b/sheets/qlmanage index 06bfbbe..c0e0b1c 100644 --- a/sheets/qlmanage +++ b/sheets/qlmanage @@ -1,11 +1,11 @@ # qlmanage -# # QuickLook server tool (Mac OS X) # Display QuickLook for one or multiple files: qlmanage -p filename filename2 -# Compute 300px wide PNG thumbnails of all JPEGs in the current directory and put them in a directory: +# Compute 300px wide PNG thumbnails of all JPEGs in the current directory +# and put them in a directory: qlmanage *.jpg -t -s 300 path/to/directory # Reset Quicklook: diff --git a/sheets/sgdisk b/sheets/sgdisk index 9ace811..32d5565 100644 --- a/sheets/sgdisk +++ b/sheets/sgdisk @@ -9,20 +9,21 @@ sgdisk -g /dev/sda sgdisk -m /dev/sda # Sort GPT partitions -# when a new partition is created in the space between two partitions or a partition is deleted +# when a new partition is created in the space between two partitions +# or a partition is deleted sgdisk -s /dev/sda -# Using sgdisk you can create a binary backup consisting of the protective MBR, -# the main GPT header, the backup GPT header, and one copy of the partition table +# Create a binary backup consisting of the protective MBR, the main GPT header, +# the backup GPT header, and one copy of the partition table sgdisk -b=sgdisk-sda.bak # Restore GPT/MBR backup: sgdisk -l=sgdisk-sda.bak -# Clone your current device's partition layout '/dev/sda' to another drive '/dev/sdc' +# Clone partition layout of '/dev/sda' to another drive '/dev/sdc' sgdisk -R=/dev/sdc /dev/sda -# If both drives will be in the same computer, you need to randomize the GUIDs after cloning +# Randomize GUIDs (after cloning) sgdisk -G /dev/sdc diff --git a/sheets/sox b/sheets/sox index 4a5bb02..733e57b 100644 --- a/sheets/sox +++ b/sheets/sox @@ -8,7 +8,8 @@ sox -m ${input_audiofile1} ${input_audiofile2} ${output_audiofile} # Trim an audio file to the specified times: sox ${input_audiofile} ${output_audiofile} trim ${start} ${end} -# Normalize an audio file (adjust volume to the maximum peak level, without clipping): +# Normalize an audio file +# (adjust volume to the maximum peak level, without clipping): sox --norm ${input_audiofile} ${output_audiofile} # Reverse and save an audio file: