Commit Graph

2941 Commits (90d12d7153759e57ebe50544d69335eea3cec74d)

Author SHA1 Message Date
Waldir Pimenta 08da564f80 mutt: add reference to draft format
as discussed in PR #1258
2017-05-22 16:43:10 +01:00
Waldir Pimenta efbf0cc51e perl: tweak the -0 example 2017-05-22 19:47:03 +05:30
Waldir Pimenta dc9547925f perl: swap -M example with -0, for multiline regex
For completeness: the -0 option is actually used to specify the input record separator (as an octal number).
Without it, the record separator is the newline character, i.e. the files are processed line by line
(which doesn't allow find-replace expressions that include newlines to work).

According to the [documentation](http://perldoc.perl.org/perlrun.html#Command-Switches),
using plain `-0` is not guaranteed to have the effect of parsing the entire file,
because if the file does contain characters with octal value equal to the parameter passed to (or implied by) the -0 option,
these characters will be treated as line breaks.
However, if the value exceeds 377<sub>8</sub> (i.e. 255), it won't be matched to characters on the file.
777 is the preferred convention within that exceptional range, as the highest value that keeps to 3 octal digits.

Here we're forgoing such details and using -0 anyway, since for most cases this will be enough.
2017-05-22 19:47:03 +05:30
Waldir Pimenta 1de00d2f11 brew cask: add page (#1376) 2017-05-22 14:49:40 +01:00
bigspennyj 04ecf81efc mutt: add page (#1258) 2017-05-22 11:52:55 +05:30
Starbeamrainbowlabs ca3ee12c17 prosodyctl: add page (#1382) 2017-05-19 13:33:25 +05:30
Starbeamrainbowlabs 93348478a1 lua: add page (#1381) 2017-05-19 08:47:18 +01:00
Starbeamrainbowlabs 1ff585c6fd New command: calc (#1380) 2017-05-18 23:34:36 +05:30
Waldir Pimenta 595c4eb234 git-reset: add simpler --hard example 2017-05-18 17:25:09 +01:00
Waldir Pimenta 05780d6183 git-checkout: "modifications" --> "changes" 2017-05-18 17:24:52 +01:00
Waldir Pimenta 6f9dbe9fce git-checkout: mention reset, add single-file ex. 2017-05-18 17:24:52 +01:00
Waldir Pimenta 88eea86117 cmake: directory --> folder; fix typo 2017-05-16 11:37:47 +01:00
Damian Peterson 9fbc74e1de lxc: add page (#1371) 2017-05-16 10:42:11 +05:30
Damian Peterson 1ceb440ea4 vimdiff: add page (#1373) 2017-05-14 21:27:16 +01:00
Wolfgang Lutz 550ede5cfb fix typos using misspell (#1374) 2017-05-12 10:29:18 +01:00
Starbeamrainbowlabs c0616697ed jpegoptim: add page (#1370)
* New command: jpegoptim

* Update jpegoptim.md
2017-05-10 20:46:18 +01:00
Agniva De Sarker f73955fd06 Using tldr bot on a separate server
- Sending the PR id and message as a POST request.
- The bot running on a separate server receives the message and posts
the comment on the PR.
2017-05-09 17:24:31 +05:30
Starbeamrainbowlabs 8125f34ee7 New command: hostnamectl 2017-05-07 17:11:41 +05:30
Waldir Pimenta 73ec3a8811 fix link to CLA (#1367)
the cla-assistant link leads to a page requesting the user to sign it, which may not be as friendly
since prospective contributors may want to simply read the CLA without a prompt to sign it.
2017-05-06 11:41:39 +01:00
Waldir Pimenta c9063d15b9 telnet: improve descriptions (#1353)
* telnet: improve descriptions

also format "x" as a token in the last example.

* telnet: update per code review
2017-05-04 20:50:30 +01:00
Waldir Pimenta 7ca686634d jq: clarify descriptions (#1361) 2017-05-04 09:35:38 +01:00
Waldir Pimenta 776fdcf77a cmake: fix syntax and adjust per code review 2017-05-04 08:46:54 +01:00
PFCKrutonium d3fed3b31f cmake: add page (closes #1172) 2017-05-04 08:46:54 +01:00
Starbeamrainbowlabs e8d141b6c4 whatis: add glob example (#1365) 2017-05-04 08:38:06 +01:00
Waldir Pimenta 7a9c755e4e pygmentize: various tweaks (#1355)
* pygmentize: various tweaks

- adjust punctuation in main description and first example's description
- mention "list" (rather than "show") in the -L examples, to improve memorability
- explain what lexers are
- clarify which of the parameters are input and output filenames
- simplify last example

* make -O example more didactic

References:
- http://pygments.org/docs/cmdline/#options-and-filters
- http://pygments.org/docs/formatters/#HtmlFormatter

* pygmentize: changes per code review

* pygentize: fix typos
2017-05-03 20:54:49 +01:00
Waldir Pimenta f7b60eb9c6 pvcreate: tweaks to descriptions (#1336) 2017-05-02 13:48:58 +01:00
Waldir Pimenta b3654135a8 cal: adjust osx version to make it more useful, and add linux version along the same lines 2017-05-02 08:10:49 +01:00
Waldir Pimenta 97265cba29 cal: move from pages/common/ to pages/osx/, so the content corresponds to the command version 2017-05-02 08:10:49 +01:00
Waldir Pimenta d6e709fd3d imgcat: slight rephrase of main desc 2017-05-02 12:38:18 +05:30
Waldir Pimenta b893232f48 yesod: tweak main description (#1362) 2017-05-01 20:11:23 +01:00
Waldir Pimenta 90f24d07fb create configuration file for probot-stale (#1360)
as discussed in #1350.
2017-05-01 16:22:10 +01:00
Waldir Pimenta 85212343a0 timew: tweaks to descriptions 2017-05-01 15:00:12 +01:00
Waldir Pimenta 3b0cf23bac pm2: add article in last two examples 2017-05-01 11:16:05 +01:00
Moti Korets 2f03bc1362 at: add page, atq: add page, atrm: add page, and batch: add page (#1344)
commands to queue commands execution at specified time
or when system load allows
2017-05-01 11:06:06 +01:00
Waldir Pimenta 2a4379ceea git-checkout: correct checkout of remote branch (#1359)
As described in http://stackoverflow.com/a/9537923 (paraphrased below):

> You need to create a local branch that tracks a remote branch.
> The following command will create a local branch
> tracking the remote branch of the same name.
> When you push your changes the remote branch will be updated.
>
> `git checkout --track [remotename]/[branch]`
>
> This is a shorthand for `git checkout -b [branch] [remotename]/[branch]`.
>
> For git 1.7.2.3 and higher this is enough: `git checkout daves_branch`
>
> Note that with recent git versions,
> **this will command not create a local branch and will put you in a 'detached HEAD' state.**
> If you want a local branch, use the --track option.
> Full details here: http://git-scm.com/book/en/v2/Git-Branching-Remote-Branches#Tracking-Branches
2017-04-30 11:17:03 +01:00
Waldir Pimenta 433370e2ad change all keyboard shortcuts to have spaces around the + sign (#1356) 2017-04-28 23:34:51 +01:00
Waldir Pimenta 7e1f06ade4 standardize format of keyboard shortcuts (#1354)
* fix capitalization of keyboard shortcuts (elinks, tmux, screen)
* adjust formatting of keyboard shortcuts (tail, xsel)
2017-04-28 08:44:50 +01:00
Waldir Pimenta 81c7f52e9f wordgrinder: minor tweaks to descriptions 2017-04-28 08:33:05 +01:00
Agniva De Sarker 9af9eee235 minor update
adding a space after comma
2017-04-28 08:28:19 +01:00
Rudinski Zvonimir 4a0662a95e minor changes 2017-04-28 08:28:19 +01:00
Agniva De Sarker e9a443b189 simplify wordgrinder
- Removing the word terminal because its implicit
- Mentioning that it loads a blank document by default
- Removing 'press' to maintain uniformity with other pages like `rtv`
2017-04-28 08:28:19 +01:00
Agniva De Sarker d49b95fc53 Simplify pygmentize
- Simplify main description
- Mentioning that language is inferred from file extension
- Giving a concrete example for another lexer.
2017-04-28 08:28:19 +01:00
Agniva De Sarker 5c278bdf69 Update mc.md
- Usually, we do not use another command in the example of one command's description.
- Using the second line of the heading to explain further.
2017-04-28 08:28:19 +01:00
Zvonimir Rudinski 053d8dbeb0 linter fixes 2017-04-28 08:28:19 +01:00
Rudinski Zvonimir 7d360fface add pygmentize 2017-04-28 08:28:19 +01:00
Rudinski Zvonimir 6ae8e8761a Added pages for mc, tpp and wordgrinder 2017-04-28 08:28:19 +01:00
Waldir Pimenta 2a359234ba elinks: minor tweaks to command descriptions 2017-04-28 00:01:06 +01:00
Waldir Pimenta 13539295a4 elinks: fix typo (confusion of ANSI vs. ASCII) 2017-04-27 23:59:42 +01:00
Waldir Pimenta 45d9ef5b6a docker: minor tweak to first description
change "List" from a noun to a verb, to match the project's guidelines.
2017-04-27 23:55:32 +01:00
Waldir Pimenta 724ec3d5de wrap 100 in token format; mention password prompt 2017-04-27 11:04:54 +05:30