You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Linux Cheat 
2
2
3
-
Linux tutorials and cheatsheets. Minimal examples. Mostly user-land.
3
+
Linux tutorials and cheatsheets. Minimal examples. Mostly user-land CLI utilities.
4
4
5
5
Includes Linux concepts and utilities that work on Linux, not necessarily in the LSB. So this is a big dump of useful things, and when something gets big / useful enough, I split to another repository.
6
6
@@ -60,6 +60,7 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
60
60
1.[mountall](mountall.md)
61
61
1.[pathchk](pathchk.md)
62
62
1.[rsync](rsync.md)
63
+
1.[rm](rm.md)
63
64
1.[sync](sync.md)
64
65
1.[swap partition](swap-partition.md)
65
66
1.[tune2fs](tune2fs.md)
@@ -130,7 +131,6 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
130
131
1.[echo](echo.sh)
131
132
1.[column](column.md)
132
133
1.[cut](cut.sh)
133
-
1.[Eclipse](eclipse.md)
134
134
1.[expand](expand.md)
135
135
1.[fold](fold.md)
136
136
1.[paste](paste.md)
@@ -142,6 +142,10 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
142
142
1.[uniq](uniq.md)
143
143
1.[uuencode](uuencode.md), `uudecode`
144
144
1.[wc](wc.md)
145
+
1. IDEs
146
+
1.[Eclipse](eclipse.md)
147
+
1.[Code::Blocks](codeblocks.md)
148
+
1.[KDevelop](kdevelop.md)
145
149
1. Binary data viewers
146
150
1.[hd](hd.md)
147
151
1.[hexdump](hexdump.md)
@@ -169,6 +173,7 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
169
173
1.[pmap](ps.md)
170
174
1.[ps](ps.md)
171
175
1.[top](top.md)
176
+
1.[watch](watch.md)
172
177
1. psmisc
173
178
1.[killall](killall.md)
174
179
1.[Shebang](shebang/)
@@ -220,6 +225,7 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
220
225
1.[HandBrake](handbrake.md)
221
226
1. Trivia
222
227
1.[MPEG LA](mpeg-la.md)
228
+
1.[VLC](vlc.md)
223
229
1.[Camera](camera.md)
224
230
1.[Video4Linux](video4linux.md)
225
231
1. File sharing
@@ -315,7 +321,7 @@ Includes Linux concepts and utilities that work on Linux, not necessarily in the
C and C++: <http://download.eclipse.org/tools/cdt/releases/indigo/>
368
372
369
373
For large projects, make sure that you add more memory to the VM at `Eclipse.ini` or the indexing hangs: <http://stackoverflow.com/questions/9565125/whats-the-recommended-eclipse-cdt-configuration-for-big-c-project-indexer-ta>
Copy file name to clipboardExpand all lines: imagemagick.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ The first `-depth 8`, specifies it for the input, and the second for the output.
171
171
172
172
#### Depths that are not multiple of 8
173
173
174
-
TODO: what happens when depth < 8? http://stackoverflow.com/questions/10155092/how-do-i-convert-image-to-2-bit-per-pixel ImageMagick packs multiple bits per byte since it is not possible to address bits, but I don't understand exactly how. Specially, because it depends on the dimensions! E.g.;
174
+
TODO: what happens when depth less than 8? http://stackoverflow.com/questions/10155092/how-do-i-convert-image-to-2-bit-per-pixel ImageMagick packs multiple bits per byte since it is not possible to address bits, but I don't understand exactly how. Specially, because it depends on the dimensions! E.g.;
- F9: run in debugger mode. TODO: hitting it multiple times just stops the previous one and starts a new one?
43
+
- F10: GDB next
44
+
- F11: GDB step
45
+
- F12: GDB finish
46
+
- Continue: no default keyboard shortcut! I set it to Shift + F10.
47
+
48
+
Watch variable: hover it, Watch this. Could not find on right click...
49
+
50
+
Find the actual derived type of a pointer to a base class: TODO. For GDB only: <http://stackoverflow.com/questions/8528979/how-to-determine-if-an-object-is-an-instance-of-certain-derived-c-class-from-a>
51
+
52
+
Current UI for the debug pane is bad:
53
+
54
+
- jump to line of breakpoint on editor: <https://forum.kde.org/viewtopic.php?f=218&t=125905#p338944> No mouse method or visible indication!
55
+
- cannot select multiple breakpoints at once to delete them
Emulation is usually said to be software only, while virtualization uses hardware support, making it way faster.
88
+
Emulation is usually said to be software only, while virtualization uses hardware support, making it way faster.
89
89
90
-
The x86 family has hardware features that improve performance and may be even required for certain virtualizations.
90
+
The x86 family has hardware features that improve performance and may be even required for certain virtualizations.
91
91
92
-
Those features can be turned on or off by the BIOS, and in many modern systems they come turned off by default.
92
+
Those features can be turned on or off by the BIOS, and in many modern systems they come turned off by default.
93
93
94
-
If you plan on using virtualization, the first thing you should do is to enable such features by going into the BIOS config (first screen shown at computer startup), and looking for a virtualization section.
94
+
If you plan on using virtualization, the first thing you should do is to enable such features by going into the BIOS config (first screen shown at computer startup), and looking for a virtualization section.
95
95
96
-
-Docker: <https://github.com/dotcloud/docker>
96
+
Docker: <https://github.com/dotcloud/docker>
97
97
98
98
### Hypervisor
99
99
@@ -104,6 +104,14 @@ TODO vs virtualization?
104
104
105
105
KVM: hard to say.
106
106
107
+
## Cycle accurate simulation
108
+
109
+
Simulates speed well.
110
+
111
+
Public simulators do not exist for closed source chips I know of.
112
+
113
+
Likely because they would reveal too much internals and leak IP.
0 commit comments