Browse Source

Merge pull request #309 from lord63-forks/lint-fix

Lint fix
Ruben Vereecken 9 years ago
parent
commit
acf8756f56
61 changed files with 79 additions and 78 deletions
  1. 2 2
      pages/common/alias.md
  2. 2 2
      pages/common/ar.md
  3. 1 1
      pages/common/bundle.md
  4. 1 1
      pages/common/chmod.md
  5. 2 2
      pages/common/chown.md
  6. 1 1
      pages/common/chsh.md
  7. 1 1
      pages/common/cksum.md
  8. 2 2
      pages/common/convert.md
  9. 1 1
      pages/common/cp.md
  10. 1 1
      pages/common/curl.md
  11. 1 1
      pages/common/diff.md
  12. 1 1
      pages/common/fdupes.md
  13. 1 1
      pages/common/ffmpeg.md
  14. 1 1
      pages/common/fswebcam.md
  15. 1 1
      pages/common/gem.md
  16. 1 1
      pages/common/git-add.md
  17. 1 1
      pages/common/git-branch.md
  18. 2 2
      pages/common/git-checkout.md
  19. 2 2
      pages/common/git-clone.md
  20. 2 2
      pages/common/git-commit.md
  21. 1 1
      pages/common/git-diff.md
  22. 2 2
      pages/common/git-init.md
  23. 1 1
      pages/common/git-log.md
  24. 2 2
      pages/common/git-merge.md
  25. 1 1
      pages/common/git-push.md
  26. 1 1
      pages/common/git-remote.md
  27. 2 2
      pages/common/git-status.md
  28. 2 2
      pages/common/git.md
  29. 1 1
      pages/common/gpg.md
  30. 2 2
      pages/common/grep.md
  31. 2 2
      pages/common/gzip.md
  32. 2 2
      pages/common/handbrakecli.md
  33. 1 1
      pages/common/haxelib.md
  34. 2 2
      pages/common/ipcs.md
  35. 1 1
      pages/common/mp4box.md
  36. 1 1
      pages/common/mtr.md
  37. 1 1
      pages/common/mysql.md
  38. 1 1
      pages/common/mysqldump.md
  39. 1 1
      pages/common/nc.md
  40. 2 2
      pages/common/node.md
  41. 1 1
      pages/common/passwd.md
  42. 1 1
      pages/common/patch.md
  43. 1 1
      pages/common/pgrep.md
  44. 1 1
      pages/common/rename.md
  45. 1 1
      pages/common/rsync.md
  46. 1 0
      pages/common/salt-call.md
  47. 1 0
      pages/common/salt-key.md
  48. 1 1
      pages/common/salt-run.md
  49. 1 1
      pages/common/salt.md
  50. 1 1
      pages/common/screen.md
  51. 3 3
      pages/common/ssh.md
  52. 0 1
      pages/common/sudo.md
  53. 2 2
      pages/common/svn.md
  54. 1 1
      pages/common/tee.md
  55. 1 1
      pages/common/touch.md
  56. 1 1
      pages/common/wget.md
  57. 1 1
      pages/common/which.md
  58. 1 1
      pages/common/zpool.md
  59. 1 1
      pages/osx/du.md
  60. 1 1
      pages/osx/sysctl.md
  61. 1 1
      pages/osx/wacaw.md

+ 2 - 2
pages/common/alias.md

@@ -1,6 +1,6 @@
 # alias
 
-> Creates an alias for a word when used 
+> Creates an alias for a word when used
 > as the first word of a command
 
 - creating a generic alias
@@ -21,4 +21,4 @@
 
 - overriding la as ls -a
 
-`alias {{la}}="{{ls -a}}"`
+`alias {{la}}="{{ls -a}}"`

+ 2 - 2
pages/common/ar.md

@@ -1,4 +1,4 @@
-#ar
+# ar
 
 > Create, modify, and extract from archives (.a .so .o)
 
@@ -8,4 +8,4 @@
 
 - List the content (files) of libfoo.a
 
-`ar -t libfoo.a`
+`ar -t libfoo.a`

+ 1 - 1
pages/common/bundle.md

@@ -1,4 +1,4 @@
-#bundle
+# bundle
 
 > Dependency manager for the Ruby programming language.
 

+ 1 - 1
pages/common/chmod.md

@@ -10,7 +10,7 @@
 
 `chmod u+rw {{file}}`
 
-- Remove executable rights from the (g)roup 
+- Remove executable rights from the (g)roup
 
 `chmod g-x {{file}}`
 

+ 2 - 2
pages/common/chown.md

@@ -7,7 +7,7 @@
 `chown {{user}} {{path/to/file}}`
 
 - change the user and group of a file
- 
+
 `chown {{user}}:{{group}} {{path/to/file}}`
 
 - recursively change the owner of an entire folder
@@ -15,7 +15,7 @@
 `chown -R {{user}} {{path/to/folder}}`
 
 - change the owner of a symbolic link
- 
+
 `chown -h {{user}} {{path/to/symlink}}`
 
 - use the owner and group of a reference file and apply those values to another file

+ 1 - 1
pages/common/chsh.md

@@ -1,4 +1,4 @@
-#CHSH
+# chsh
 
 > Change user's login shell
 

+ 1 - 1
pages/common/cksum.md

@@ -1,7 +1,7 @@
 # cksum
 
 > Calculates CRC checksums and byte counts of a file
-> Note, on old UNIX systems the CRC implementation may differ. 
+> Note, on old UNIX systems the CRC implementation may differ.
 
 - Display a 32 bit checksum, size in bytes and filename
 

+ 2 - 2
pages/common/convert.md

@@ -6,10 +6,10 @@
 
 `convert {{image.jpg}} {{image.png}}`
 
-- Scale an image 50% it's original size 
+- Scale an image 50% it's original size
 
 `convert {{image.png}} -resize 50% {{image2.png}}`
 
-- Horizontally append images    
+- Horizontally append images
 
 `convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}`

+ 1 - 1
pages/common/cp.md

@@ -15,7 +15,7 @@
 `cp -r {{/path/to/original}} {{/path/to/copy}}`
 `cp -vr {{/path/to/original}} {{/path/to/copy}}`
 
-- Make a copy of a file adding and extension or changing an extension  
+- Make a copy of a file adding and extension or changing an extension
 
 `cp {{file.html}}\{,.backup\}`
 `cp file.\{html,backup\}`

+ 1 - 1
pages/common/curl.md

@@ -5,7 +5,7 @@
 
 - Download a URL to a file
 
-`curl "{{URL}}" -o filename` 
+`curl "{{URL}}" -o filename`
 
 - send form-encoded data
 

+ 1 - 1
pages/common/diff.md

@@ -18,6 +18,6 @@
 
 `diff -r {{directory1}} {{directory2}}`
 
-- Compare directories, only showing the names of files that differ 
+- Compare directories, only showing the names of files that differ
 
 `diff -rq {{directory1}} {{directory2}}`

+ 1 - 1
pages/common/fdupes.md

@@ -1,6 +1,6 @@
 # fdupes
 
-> Finds duplicate files in a given 
+> Finds duplicate files in a given
 > set of directories
 
 - search a single directory

+ 1 - 1
pages/common/ffmpeg.md

@@ -6,7 +6,7 @@
 
 `ffmpeg -i {{video-filename}} -vn -ar 44100 -ac 2 -ab 192 -f mp3 {{sound.mp3}}`
 
-- Convert frames from a video into individual numbered images 
+- Convert frames from a video into individual numbered images
 
 `ffmpeg -i {{video-filename}} {{image%d.png}}`
 

+ 1 - 1
pages/common/fswebcam.md

@@ -1,4 +1,4 @@
-#FSWEBCAM
+# fswebcam
 
 > small and simple webcam for *nix
 

+ 1 - 1
pages/common/gem.md

@@ -1,4 +1,4 @@
-#gem
+# gem
 
 > Interact with the package manager for the Ruby programming language.
 

+ 1 - 1
pages/common/git-add.md

@@ -1,4 +1,4 @@
-#git add
+# git add
 
 > Adds changed files to the index
 

+ 1 - 1
pages/common/git-branch.md

@@ -1,4 +1,4 @@
-#git branch
+# git branch
 
 > Main command for working with branches
 

+ 2 - 2
pages/common/git-checkout.md

@@ -1,4 +1,4 @@
-#git checkout
+# git checkout
 
 > Checkout a branch or paths to the working tree
 
@@ -8,4 +8,4 @@
 
 - Create and switch to a new branch
 
-`git checkout -b {{BRANCH-NAME}}`
+`git checkout -b {{BRANCH-NAME}}`

+ 2 - 2
pages/common/git-clone.md

@@ -1,4 +1,4 @@
-#git clone
+# git clone
 
 > Clone an existing repository
 
@@ -12,4 +12,4 @@
 
 - Do it quietly
 
-`git clone -q`
+`git clone -q`

+ 2 - 2
pages/common/git-commit.md

@@ -1,4 +1,4 @@
-#git commit
+# git commit
 
 >Commit staged files to the repository
 
@@ -8,4 +8,4 @@
 
 - Replace the last commit with currently staged changes
 
-`git commit --amend`
+`git commit --amend`

+ 1 - 1
pages/common/git-diff.md

@@ -1,4 +1,4 @@
-#git diff
+# git diff
 
 > Show changes to tracked files
 

+ 2 - 2
pages/common/git-init.md

@@ -1,4 +1,4 @@
-#git init
+# git init
 
 > Initializes a new local Git repository
 
@@ -8,4 +8,4 @@
 
 - Initialize a barebones repository
 
-`git init --bare`
+`git init --bare`

+ 1 - 1
pages/common/git-log.md

@@ -1,4 +1,4 @@
-#git log
+# git log
 
 >Show a history of commits
 

+ 2 - 2
pages/common/git-merge.md

@@ -1,4 +1,4 @@
-#git merge
+# git merge
 
 > Merge branches
 
@@ -8,4 +8,4 @@
 
 - Edit the merge message
 
-`git merge -e {{BRANCH-NAME}}`
+`git merge -e {{BRANCH-NAME}}`

+ 1 - 1
pages/common/git-push.md

@@ -1,4 +1,4 @@
-#git push
+# git push
 
 > Push commits to a remote repository
 

+ 1 - 1
pages/common/git-remote.md

@@ -1,4 +1,4 @@
-#git remote
+# git remote
 
 > Manage set of tracked repositories (“remotes”)
 

+ 2 - 2
pages/common/git-status.md

@@ -1,4 +1,4 @@
-#git status
+# git status
 
 > Show the index (changed files)
 
@@ -8,4 +8,4 @@
 
 - Give output in short format
 
-`git status -s`
+`git status -s`

+ 2 - 2
pages/common/git.md

@@ -1,4 +1,4 @@
-#git
+# git
 
 > Main command for all `git` commands
 
@@ -16,4 +16,4 @@
 
 - Execute Git command
 
-`git {{COMMAND}}`
+`git {{COMMAND}}`

+ 1 - 1
pages/common/gpg.md

@@ -20,4 +20,4 @@
 
 - Import a public key
 
-`gpg --import {{public.gpg}}` 
+`gpg --import {{public.gpg}}`

+ 2 - 2
pages/common/grep.md

@@ -4,7 +4,7 @@
 > Supports simple patterns and regular expressions
 
 - search for an exact string
- 
+
 `grep {{something}} {{file_path}}`
 
 - search recursively in current directory for an exact string
@@ -19,7 +19,7 @@
 
 `grep -C 3 {{something}} {{file_path}}`
 
-- print the count of matches instead of the matching text 
+- print the count of matches instead of the matching text
 
 `grep -c {{something}} {{file_path}}`
 

+ 2 - 2
pages/common/gzip.md

@@ -1,6 +1,6 @@
 # gzip
 
-> Compress/uncompress files with gzip compression (LZ77)   
+> Compress/uncompress files with gzip compression (LZ77)
 
 - compress a file, replacing it with a gzipped compressed version
 
@@ -20,4 +20,4 @@
 
 - specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6
 
-`gzip -9 -c {{file.ext}} > compressed-file.ext.gz`
+`gzip -9 -c {{file.ext}} > compressed-file.ext.gz`

+ 2 - 2
pages/common/handbrakecli.md

@@ -10,10 +10,10 @@
 
 `HandBrakeCLI -i {{input.mp4}} -o {{output.mp4} -w 320 -l 240`
 
-- List available presets  
+- List available presets
 
 `HandBrakeCLI --preset-list`
 
 - Convert an AVI video to MP4 using the Android preset
 
-`HandBrakeCLI --preset="Android" -i {{input.ext}} -o {{output.mp4}}` 
+`HandBrakeCLI --preset="Android" -i {{input.ext}} -o {{output.mp4}}`

+ 1 - 1
pages/common/haxelib.md

@@ -10,7 +10,7 @@
 
 `haxelib install {{libname}}`
 
-- Upgrade all installed Haxe libraries  
+- Upgrade all installed Haxe libraries
 
 `haxelib upgrade`
 

+ 2 - 2
pages/common/ipcs.md

@@ -1,4 +1,4 @@
-#ipcs
+# ipcs
 
 > Display information about ressources used in IPC (Inter-process Communication)
 
@@ -8,4 +8,4 @@
 
 - General information about all the IPC
 
-`ipcs -a`
+`ipcs -a`

+ 1 - 1
pages/common/mp4box.md

@@ -6,7 +6,7 @@
 
 `MP4Box -info {{filename}}`
 
-- Add an SRT subtitle file into an MP4 file 
+- Add an SRT subtitle file into an MP4 file
 
 `MP4Box -add {{input-subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`
 

+ 1 - 1
pages/common/mtr.md

@@ -10,7 +10,7 @@
 
 `mtr -n {{host}}`
 
-- Generate output after pinging each hop 10 times  
+- Generate output after pinging each hop 10 times
 
 `mtr -w {{host}}`
 

+ 1 - 1
pages/common/mysql.md

@@ -1,6 +1,6 @@
 # mysql
 
-> the MySQL command-line tool 
+> the MySQL command-line tool
 
 - Connect to a database
 

+ 1 - 1
pages/common/mysqldump.md

@@ -1,6 +1,6 @@
 # mysqldump
 
-> Backups mysql databases 
+> Backups mysql databases
 
 - creating a backup
 

+ 1 - 1
pages/common/nc.md

@@ -10,7 +10,7 @@
 
 `nc {{ip_address}} {{port}}`
 
-- set a timeout 
+- set a timeout
 
 `nc -w {{timeout_in_seconds}} {{ipaddress}} {{port}}`
 

+ 2 - 2
pages/common/node.md

@@ -1,4 +1,4 @@
-#node
+# node
 
 >Main node command
 
@@ -8,4 +8,4 @@
 
 - Execute node on a JS file
 
-`node {{FILENAME}}.js`
+`node {{FILENAME}}.js`

+ 1 - 1
pages/common/passwd.md

@@ -1,4 +1,4 @@
-#passwd
+# passwd
 
 > passwd is a tool used to change a user's password.
 

+ 1 - 1
pages/common/patch.md

@@ -1,4 +1,4 @@
-#patch
+# patch
 
 > Patch a file (or files) with a diff file.
 > Note that diff files contain both the target filenames and list of changes.

+ 1 - 1
pages/common/pgrep.md

@@ -2,7 +2,7 @@
 
 > Find or signal process by name
 
-- return PIDs of any running processes with a matching command string 
+- return PIDs of any running processes with a matching command string
 
 `pgrep {{Finder}}`
 

+ 1 - 1
pages/common/rename.md

@@ -12,7 +12,7 @@
 
 - Replace whitespace with underscores
 
-`rename --nows {{*.txt}}`    
+`rename --nows {{*.txt}}`
 `rename 's/\s+/_/g' {{*.txt}}`
 
 - No action, just show what renames would occur

+ 1 - 1
pages/common/rsync.md

@@ -20,6 +20,6 @@
 
 `rsync -r mike@devbox:~/projects/cakeStore /Users/mike/devProjects/`
 
-- transfer file over SSH and show progress 
+- transfer file over SSH and show progress
 
 `rsync -e ssh --progress {{remote_host_name}}:{{remote_file}} {{local_file}}`

+ 1 - 0
pages/common/salt-call.md

@@ -1,4 +1,5 @@
 # salt-key
+
 > Invoke salt locally on a salt minion.
 
 - Perform a highstate on this minion

+ 1 - 0
pages/common/salt-key.md

@@ -1,4 +1,5 @@
 # salt-key
+
 > Manages salt minion keys on the salt master
 > Needs to be run on the salt master, likely as root or with sudo
 

+ 1 - 1
pages/common/salt-run.md

@@ -1,4 +1,4 @@
-#salt-run
+# salt-run
 
 >Frontend for executing salt-runners on minions
 

+ 1 - 1
pages/common/salt.md

@@ -1,4 +1,4 @@
-#salt
+# salt
 
 >Execute commands and assert state on remote salt minions.
 

+ 1 - 1
pages/common/screen.md

@@ -2,7 +2,7 @@
 
 > Hold a session open on a remote server. Manage multiple windows with a single SSH connection.
 
--  Start a new screen session
+- Start a new screen session
 
 `screen`
 

+ 3 - 3
pages/common/ssh.md

@@ -16,10 +16,10 @@
 `ssh {{username}}@{{remote_host}} -p {{2222}}`
 
 - run a command on a remote server
- 
+
 `ssh {{remote_host}} "{{command -with -flags}}"`
 
-- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999) 
+- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999)
 
 `ssh -D {{9999}} -C {{username}}@{{remote_host}}`
 
@@ -27,6 +27,6 @@
 
 `ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}`
 
-- ssh enable agent forward 
+- ssh enable agent forward
 
 `ssh -A {{username}}@{{remote_host}}`

+ 0 - 1
pages/common/sudo.md

@@ -6,7 +6,6 @@
 
 `sudo {{ls}} {{/usr/local/scrt}}`
 
-
 - To edit a file as user www:
 
 `sudo -u {{www}} {{vi}} {{/var/www/index.html}}`

+ 2 - 2
pages/common/svn.md

@@ -2,7 +2,7 @@
 
 > Subversion command line client tool
 
--  Check out a working copy from a repository
+- Check out a working copy from a repository
 
 `svn co {{url/to/repository}}`
 
@@ -16,7 +16,7 @@
 
 - Send changes from your working copy to the repository
 
-`svn ci -m {{commit log message}} {{[PATH...]}}` 
+`svn ci -m {{commit log message}} {{[PATH...]}}`
 
 - Show detailed help
 

+ 1 - 1
pages/common/tee.md

@@ -1,4 +1,4 @@
-#TEE
+# tee
 
 > read from standard input and write to standard output and files
 

+ 1 - 1
pages/common/touch.md

@@ -6,7 +6,7 @@
 
 `touch {{filename}}`
 
-- Set the times on a file to those specified 
+- Set the times on a file to those specified
 
 `touch -t 201412250801.59 {{filename}}
 `touch -t {{YYYYMMDDHHMM.SS}} {{filename}}

+ 1 - 1
pages/common/wget.md

@@ -11,7 +11,7 @@
 
 `wget --limit-rate={{200k}} {{url}}`
 
-- Continue an incomplete download 
+- Continue an incomplete download
 
 `wget -c {{url}}`
 

+ 1 - 1
pages/common/which.md

@@ -7,6 +7,6 @@
 `which {{ls}}`
 `which {{executable}}`
 
-- If there are multiple executables which match, display all 
+- If there are multiple executables which match, display all
 
 `which -a {{executable}}`

+ 1 - 1
pages/common/zpool.md

@@ -27,7 +27,7 @@
 
 `zpool histrory {{poolname}}`
 
-- Create a mirrored pool. 
+- Create a mirrored pool.
 
 `zpool create {{poolname}} mirror {{disk1}} {{disk2}}`
 `zpool create {{poolname}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`

+ 1 - 1
pages/osx/du.md

@@ -14,6 +14,6 @@
 
 `du -ah {{directory}}`
 
-- list the KB sizes of directories for N levels below the specified directory 
+- list the KB sizes of directories for N levels below the specified directory
 
 `du -k -depth=1 {{directory}}`

+ 1 - 1
pages/osx/sysctl.md

@@ -18,7 +18,7 @@
 
 `sysctl -n machdep.cpu.feature`
 
-- Set a changeable kernel state variable 
+- Set a changeable kernel state variable
 
 `sysctl -w name=value`
 `sysctl -w kern.maxfiles=15000`

+ 1 - 1
pages/osx/wacaw.md

@@ -1,4 +1,4 @@
-#WACAW
+# wacaw
 
 > a little command-line tool for Mac OS X that allows you to capture both still pictures and video from an attached camera.