diff options
author | johannst <stoelp@eit.uni-kl.de> | 2019-06-09 18:29:08 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2019-06-09 18:29:08 +0200 |
commit | b95ddc8faac6b638c3121b2d6cc9b32f6c62793f (patch) | |
tree | 7cf5b98afa2a641ebc43bb0d542d3e5de80e446e | |
parent | 2e97b8a7cc88b9fcdab606d2c94c376d31a47696 (diff) | |
download | notes-b95ddc8faac6b638c3121b2d6cc9b32f6c62793f.tar.gz notes-b95ddc8faac6b638c3121b2d6cc9b32f6c62793f.zip |
changed filtype to "help" when opened with vim; added toc; added vim helptags; unified quotes for string args
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | binary.txt | 15 |
2 files changed, 19 insertions, 6 deletions
@@ -1 +1,9 @@ -# notes
\ No newline at end of file +# notes + +Personal collection of notes. + +Vim `:helptags` can be generated by running: +``` +vim +'helptags .' +q +``` + @@ -1,7 +1,12 @@ .:: Binary ::. -------------------------------------------------------------------------------- -# od(1) +# toc +------ + |od| + |xxd| + +# od(1) *od* ======== args: -An don't print addr info @@ -14,12 +19,12 @@ >> 41414141 >> 42424242 - echo -n "\x7fELF\n" | od -tx1 -ta -tc + echo -n '\x7fELF\n' | od -tx1 -ta -tc >> 0000000 7f 45 4c 46 0a >> del E L F nl >> 177 E L F \n -# xxd(1) +# xxd(1) *xxd* ========= args: -p dump continuous hexdump @@ -36,7 +41,7 @@ >> aabb ## ascii to binary - echo -n "\x7fELF" | xxd -p | xxd -r -p | file -p - + echo -n '\x7fELF' | xxd -p | xxd -r -p | file -p - >> ELF ## ascii to C array (hex encoded) @@ -48,5 +53,5 @@ -------------------------------------------------------------------------------- -vim:sts=2:et:tw=80:cc=80:fo+=t +vim:sts=2:et:tw=80:cc=80:fo+=t:ft=help |