Addressbook and Calendar URL in NextCloud

Submitted by Fekete Zoltán on Mon, 08/26/2019 - 19:21

For addressbook use this format:

https://<NEXTCLOUD_SERVER>/remote.php/dav/addressbooks/users/<USER_NAME>/<CONTACTS_NAME>

You find the CONTACTS_NAME in the NextClouds database's oc_addressbooks table. The column name is 'uri'.

For calendar use this one:

https://<NEXTCLOUD_SERVER>/remote.php/dav/calendars/<USER_NAME>/<CALENDAR_NAME>

You find the CALENDAR_NAME in the NextClouds database's oc_calendars table. The column name is still 'uri'.

 

A nice ~/.fonts.conf file

Remember, the fonts should be installed either into the systems fonts repository or into ~/.fonts directory !

Fekete Zoltán Mon, 07/29/2019 - 10:12

Tags

A nice spectrwm.conf file

This is my ~/.spectrwm.conf

Fekete Zoltán Fri, 07/19/2019 - 10:28

Install an individual set on NetBSD

Submitted by Fekete Zoltán on Wed, 05/22/2019 - 10:29

Save your settings, and run commands like this to install a single set to your system:

- save your settings first
# tar -cvJpf etc.tar.xz /etc
# tar -Jxvpf base.tar.xz -C /
- do the same with other sets except for etc and xetc

# etcupdate -av -s etc.tar.xz -s xetc.tar.xz
# postinstall fix

Then reboot to be on the safe side.

Rebuild installed packages for a certain host in pkgsrc

You have a machine (a master host) with several idividually installed packages. You want those packages to be rebuilt somewhere else (slave host). Do this:

1. On the master host
# pkg_info -Q PKGPATH -a > pkgs_i_want_to_have
2. Copy the generated file to the slave host, and issue as root:
# cat pkgs_i_want_to_have | (while read pp ; do cd /usr/pkgsrc/$pp ; make && make bin-install ; done)

Simple enough, eh?

Fekete Zoltán Tue, 04/30/2019 - 09:23
objdump, a tool to analyze binary files

If you want to see all symbols in a binary file, try this:

$ objdump -t -C <binary file>

Look up in the manpage for details!

Fekete Zoltán Fri, 04/26/2019 - 14:49