Sunday, December 18, 2022

Load Strava Heatmap on qgis

 Use the URL:

https://heatmap-external-a.strava.com/tiles-auth/ACTIVITY/COLOR/{zoom}/{x}/{y}.png?Key-Pair-Id=MYVALUE&Policy=MYVALUE&Signature=MYVALUE

After logging in to https://www.strava.com/heatmap/ using a browser, you then have to retrieve and replace the MYVALUE items with appropriate cookie values for the following:

  • CloudFront-Key-Pair-Id
  • CloudFront-Policy
  • CloudFront-Signature
Click on the padlock icon in the URL bar while at https://www.strava.com/heatmap/ and take the values from Cookies.

You can use also this Chrome extension to fill the fields:
https://github.com/zekefarwell/josm-strava-heatmap

Monday, October 31, 2022

Jabra: cannot set freq 48000 to ep 0x3

 To fix this problem, I followed the steps in:

https://cloudalbania.com/posts/2022-04-fix-pulseaudio-usb-device/


Edit /etc/pulse/daemon.conf


$ grep sample-rate /etc/pulse/daemon.conf

; default-sample-rate = 44100

; alternate-sample-rate = 48000


$ pulseaudio --dump-conf  | grep sample-rate

default-sample-rate = 44100

alternate-sample-rate = 48000


and change default-sample-rate to 48000:


$ pulseaudio --dump-conf  | grep sample-rate

default-sample-rate = 48000

alternate-sample-rate = 48000


Finally, restarted PulseAudio with pulseaudio -k



Monday, January 10, 2022

Install MAXIMA 5.30

Unzip all *.rpm that are found in 

https://sourceforge.net/projects/maxima/files/Maxima-Linux/5.30.0-Linux/

(Files maxima-lang-*.rpm are optional)


Download:

 wget http://mirrors.kernel.org/ubuntu/pool/universe/n/ncurses/libncurses5_6.2-0ubuntu2_i386.deb

wget http://ftp.de.debian.org/debian/pool/main/n/ncurses/libtinfo5_6.2+20201114-2_i386.deb


Crear soft link a info/

drwxrwxr-x  6 daam daam 4096 Dec 15 21:18 ./

drwxrwxr-x  4 daam daam 4096 Dec 15 22:03 ../
drwxrwxr-x  2 daam daam 4096 Dec 15 21:22 bin/
lrwxrwxrwx  1 daam daam   41 Dec 15 21:18 info -> /home/daam/bin/maxima-5.30/usr/share/info/
drwxrwxr-x  3 daam daam 4096 Dec 15 20:38 lib/
drwxrwxr-x  3 daam daam 4096 Dec 15 20:38 libexec/
drwxrwxr-x 13 daam daam 4096 Dec 15 21:11 share/
(base) daam@almarhall:~/bin/maxima-5.30/usr$


Para instalar WXMAXIMA:

sudo apt-get install autotools-dev automake

sudo apt-get install libwxgtk-media3.0-gtk3-dev

Download wxmaxima from: https://github.com/wxMaxima-developers/wxmaxima/releases/tag/Version-16.04.2

./configure --prefix=/home/daam/Downloads/wx



Execute:

export LD_LIBRARY_PATH=/home/daam/bin/maxima-5.30/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu


Now you can make

./wxmaxima