Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Mar 10, 2024
1 parent 1db0160 commit 296cc2d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion notes/cli/listing.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@block{@block-name{Listing}
# listing: list contents of directories in a tree-like format.
tree -f # full-path
tree -f (pwd) # full path prefix for each file.
lff

# listing: sort by size; -l use a long listing format
Expand Down
12 changes: 12 additions & 0 deletions notes/editors/emacs.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,18 @@
| | M-x info-emacs-manual
| | M-x info-display-manual

;; Info pages / mode movements
| ~l~ | Back to the last node visited |
| ~n~ | Next node |
| ~p~ | Previous node |
| ~u~ | Up in the hierarchy |
| ~m~ | Follow a menu item (with prompt for menu item name) |
| ~s~ | Search the Info pages (with prompt for search query) |
| ~g~ | Go to a node by name (with prompt for node name) |
| ~Space~ | Scroll forward one page |
| ~Backspace~ / ~DEL~ | Scroll backward one page |
| ~d~ | Directory node ("home page" of Info documentation) |

;; macros
M-x kmacro-name-last-macro ;; 1.
M-x insert-kbd-macro ;; 2.
Expand Down
14 changes: 5 additions & 9 deletions notes/gui.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,11 @@
~/.config/xfce4-session/ \
~/.config/xubuntu/
# also: reset xfce4-panel ...
xfce4-panel --quit
pkill xfconfd
rm -rf \ ~/.config/xfce4/panel
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
xfce4-panel # .. and restart it
xfce4-panel --quit && \
pkill xfconfd && \
rm -rf ~/.config/xfce4/panel \
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml && \
xfce4-panel & disown # .. and restart it. The xfconfd is respawned automatically

echo $XDG_CONFIG_DIRS
echo $XDG_DATA_DIRS
Expand All @@ -248,8 +248,4 @@

sudo systemctl | grep dm
sudo systemctl restart <dm service>

# Window Buttons context menu (right-click in the middle of the panel)
# -> Properties -> Window grouping: -> Never

}
5 changes: 5 additions & 0 deletions notes/guix-guile-nix/guile.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@
(fun 'x #:kw '42 'args) ;; (x 42 #f (#:kw 42 args))
(fun 'x #:kw '42 #:kw-opt 'x 'args) ;; (x 42 x (#:kw 42 #:kw-opt x args))
(apply fun (list 'x #:kw '42 'args));; (x 42 #f (#:kw 42 args))

(define* (fun x #:optional (y 'y-default-val))
(list x y))
(fun 1) ;; (1 y-default-val)
(fun 1 2) ;; (1 2)
}
}

Expand Down

0 comments on commit 296cc2d

Please sign in to comment.