Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Apr 19, 2024
1 parent 130275e commit 26124e0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion notes/cli/linux.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@

# :net :ping :traceroute - check connection
mtr google.com
mtr --report www.google.com
mtr --report www.google.com # -r --report
ethtool eth0
ip neigh show | grep REACHABLE
ip link show
Expand Down
9 changes: 5 additions & 4 deletions notes/editors/emacs.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,11 @@
Composite programs in a high-level extension language running on a kernel in a
low-level language.

| (boundp 'my=variable) | test if symbol is defined |
| (functionp 'dbg=function) | test if function is defined |
| (functionp #'dbg=function) | test if function is defined |
| (macrop 'cl-pushnew) | test if macro is defined |
| (boundp 'my=variable) | test if symbol is defined |
| (functionp 'dbg=function) | test if function is defined |
| (functionp #'dbg=function) | test if function is defined |
| (fboundp #'dbg=function) | may be preferred over functionp |
| (macrop 'cl-pushnew) | test if macro is defined |

# emacsclient in Guix is in the package
guix install emacs-with-editor
Expand Down
1 change: 1 addition & 0 deletions notes/guix-guile-nix/guile.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@
}

@block{@block-name{Equality}
| eqv? | (eqv? 3 (+ 1 2)) => #t (eqv? 1 1.0) => #f |
| | returns `#t' if X and Y are: |
| equal? | the same type, and their contents or value are equal |
| eq? | the same object, except for numbers and characters |
Expand Down
3 changes: 1 addition & 2 deletions notes/guix-guile-nix/guix.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@
# --development -D include the development inputs of the next package,
# i.e. 'guix'
# Using glibc-locales should prevent 'warning: failed to install locale'
./bootstrap
./configure --localstatedir=/var
./bootstrap && ./configure --localstatedir=/var --sysconfdir=/etc
# on error:
# configure: error: 'guild' binary not found; please check your Guile installation.
# do:
Expand Down
5 changes: 3 additions & 2 deletions notes/guix-guile-nix/guix_system_configuration.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,9 @@
/home/bost/.my-profiles/my-project # from /var/guix/gcroots/auto/
/home/bost/.config/guix/current
/home/bost/.guix-profile
# the guix home profile /home/bost/.guix-home/profile is not listed in the
# output of `guix package --list-profiles`!
# the guix home profile /home/bost/.guix-home/profile and
# /run/current-system/profile are not listed in the output of
# `guix package --list-profiles`!

# see also guix package --export-manifest
guix package --list-profiles
Expand Down

0 comments on commit 26124e0

Please sign in to comment.