Skip to content

Commit cacf207

Browse files
committed
Top level headers
1 parent 0a0f6ac commit cacf207

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1434
-1346
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
99
Important files:
1010

1111
- [ubuntu/install.sh](ubuntu/install.sh): Ubuntu install methods many programs.
12-
- [utils.sh](utils.sh): dump of many utils that fit in no other category or are not large enough to get their own file. Many POSIX utilities.
12+
- [utils.sh](utils.sh): dump of many utils that fit in no other category or are not large enough to get their own file. Many POSIX utilities.
1313

1414
Documentation viewers:
1515

@@ -30,27 +30,27 @@ Initialization:
3030

3131
- [install-os.md](install-os.md): how to install a new OS.
3232
- [boot.md](boot.md)
33-
- [init.md](init.md): System V, Upstart.
33+
- [init.md](init.md): System V, Upstart.
3434

3535
Base topics:
3636

37-
- [desktop/](desktop/): X, XDG, GNOME, KDE and related utilities.
38-
- [filesystem.md](filesystem.md): POSIX file permissions.
37+
- [desktop/](desktop/): X, XDG, GNOME, KDE and related utilities.
38+
- [filesystem.md](filesystem.md): POSIX file permissions.
3939
- [file-permissions.md](file-permissions.md): filesystem, hard disks, mounting, partitions.
40-
- [special-files](special-files): `proc`, `dev` and `sys` filesystems.
41-
- [terminal.md](terminal.md): terminal emulators, ANSI escapes, control characters.
40+
- [special-files](special-files): `proc`, `dev` and `sys` filesystems.
41+
- [terminal.md](terminal.md): terminal emulators, ANSI escapes, control characters.
4242

4343
Media video, games, etc.) file types, viewers, editors, capture, synthesizers:
4444

45-
- [audio/](audio/): audio, music, sound.
46-
- [book.md](book.md): PDF, DJVU.
45+
- [audio/](audio/): audio, music, sound.
46+
- [book.md](book.md): PDF, DJVU.
4747
- [compression.md](compression.md): Zip, tar, gzip, 7z.
48-
- [dict.md](dict.md): dictionary formats.
49-
- [game.md](game.md): games, emulation.
48+
- [dict.md](dict.md): dictionary formats.
49+
- [game.md](game.md): games, emulation.
5050
- [file-share.md](files-share.md): Soulseek, Dropbox.
51-
- [image/](image/): images, photos.
52-
- [markup](markup/): Markdown, RST. Focus on command line interface and extensions.
53-
- [video.md](video.md): videos, films, subtitles.
51+
- [image/](image/): images, photos.
52+
- [markup](markup/): Markdown, RST. Focus on command line interface and extensions.
53+
- [video.md](video.md): videos, films, subtitles.
5454

5555
Generic data formats:
5656

@@ -87,6 +87,7 @@ Process-related tools:
8787
- [pwd.sh](pwd.sh)
8888
- [sleep.sh](sleep.sh)
8989
- [top.md](top.md)
90+
- [ulimit.md](ulimit.md)
9091
- [wait.sh](wait.sh)
9192

9293
Other tools:

atom.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Atom
2+
13
Text editor.
24

35
Open source.
@@ -16,22 +18,22 @@ Command cheatsheets:
1618

1719
- <https://bugsnag.com/blog/atom-editor-cheat-sheet>
1820

19-
# Commands
21+
## Commands
2022

2123
`c-,`: configuration view
2224

23-
# Configuration files
25+
## Configuration files
2426

2527
All under `~/.atom/`
2628

2729
- `config.cson`: main configuration file
2830
- `keybinding.cson`
2931

30-
# Packages
32+
## Packages
3133

3234
Disable packages: not possible through GUI. `config.cson` > `core` > `disabledPackages` array.
3335

34-
## APM
36+
### APM
3537

3638
Search for package:
3739

@@ -41,6 +43,6 @@ Install package:
4143

4244
apm install vim-mode
4345

44-
## Packages I recommend:
46+
### Packages I recommend:
4547

4648
apm install vim-mode

audio/README.md

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#Directories
1+
#Audio
2+
3+
##Directories
24

35
On most systems, sound will be kept under:
46

@@ -20,9 +22,9 @@ If you want to have some real good fun try:
2022

2123
find /usr/share/sounds -type f -iname '*.ogg' | sort | xargs -I'{}' play '{}'
2224

23-
#Players
25+
##Players
2426

25-
##paplay
27+
###paplay
2628

2729
Pulse Audio play.
2830

@@ -37,27 +39,27 @@ Terminates when over. Good option to play an alarm signal after a very long comm
3739

3840
sleep 5 && play ~/share/sounds/alert.*
3941

40-
##aplay
42+
###aplay
4143

4244
ALSA player.
4345

4446
Comes with Ubuntu 12.04, but did not work very well.
4547

46-
##play
48+
###play
4749

4850
SoX package. Similar to `paplay`.
4951

50-
##cplay
52+
###cplay
5153

5254
ncurses CLI.
5355

5456
Has a file browser.
5557

5658
cplay
5759

58-
#Manipulation
60+
##Manipulation
5961

60-
##lame
62+
###lame
6163

6264
Encode, decode and modify MP3.
6365

@@ -69,7 +71,7 @@ WAV to MP3:
6971

7072
lame a.wav a.mp3
7173

72-
##id3tool
74+
###id3tool
7375

7476
Get id3 tags info (for mp3 for example):
7577

@@ -81,19 +83,19 @@ Get id3 tags info (for mp3 for example):
8183

8284
install -D "$1" /music/mp3/"$ARTIST-$ALBUM-$YEAR"/"$TRACKNUM-$ARTIST-$TITLE".mp3
8385

84-
##Cut up FLAC CUE into multiple files
86+
###Cut up FLAC CUE into multiple files
8587

86-
###flacon
88+
####flacon
8789

8890
GUI.
8991

90-
###shntool
92+
####shntool
9193

9294
Single APE and CUE in dir, FLAC output, formatted as number, author, track
9395

9496
shntool split -f *.cue -o flac *.ape -t '%n - %p - %t'
9597

96-
##SoX
98+
###SoX
9799

98100
Set of utilities record, play and modify files via CLI.
99101

@@ -107,7 +109,7 @@ Record from microphone into `a.wav` file:
107109

108110
`ctrl+c` to stop recording.
109111

110-
#ALSA
112+
##ALSA
111113

112114
Advanced Linux Sound API.
113115

@@ -117,7 +119,7 @@ The kernel sound subsystem is called ALSA.
117119

118120
There are a few tools that interact with it.
119121

120-
##alsamixer
122+
###alsamixer
121123

122124
ncurses interface to view/control sound parameters
123125

@@ -128,7 +130,7 @@ Commands:
128130
- left/right : change active parameter
129131
- up/down : change active parameter value
130132

131-
##amixer
133+
###amixer
132134

133135
CLI for sound control.
134136

@@ -144,21 +146,21 @@ Unmute sound:
144146

145147
amixer -D pulse set Master 1+ unmute
146148

147-
##aplay
149+
###aplay
148150

149151
Command line tool that takes numeric input from stdin and generate sound.
150152

151-
#pulseaudio
153+
##pulseaudio
152154

153-
##pacmd
155+
###pacmd
154156

155157
Command line control to PulseAudio.
156158

157-
#rip
159+
##rip
158160

159-
##abcde
161+
###abcde
160162

161-
###CLI
163+
####CLI
162164

163165
Rip from DVD:
164166

@@ -168,9 +170,9 @@ Automatically finds right configurations on most systems.
168170

169171
Creates dir in cur dir and saves rip out as `.ogg` in it.
170172

171-
#Synthesis
173+
##Synthesis
172174

173-
##pico2wave
175+
###pico2wave
174176

175177
Text to speech.
176178

@@ -182,6 +184,6 @@ Say "hello world":
182184

183185
`"hello world"` is **not** a filename! It is the actual input! There seems to be no way to get input from files or stdin.
184186

185-
##Virtual Midi Piano Keyboard
187+
###Virtual Midi Piano Keyboard
186188

187-
##vmpk
189+
###vmpk

base64.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ Standards exist which drop the power of 2 requirement. Base85 encodes 4 bytes in
2828

2929
Base85 implementations are slower than Base64 and less common. Data gets 25% bigger instead of 33% as for Base64.
3030

31+
##Base58
32+
33+
<http://en.wikipedia.org/wiki/Base58>
34+
35+
Base 64 with a few characters removed to make it easier for humans to read:
36+
37+
- `I` (capital `i`) and `l` (lower case `L`) because they look alike
38+
- `O` (capital `o`) and `0` (zero) because they look alike
39+
- non alpha characters: `+` and `/`
40+
41+
The actual order is not well specified, and more specific standards must be considered.
42+
43+
E.g., Bitcoin and Ripple use different orders.
44+
3145
##Why not use hexadecimal?
3246

3347
Even simpler for humans, but data gets much larger Ks the base is smaller.

bc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# bc
2+
13
POSIX
24

35
Simple interpreted language, calculator focus.

0 commit comments

Comments
 (0)