golb

Software

VLC

Subtitle delay shortcut: g and h

Thunar sftp connection

sudo apt install gvfs-backends

Manually get the fingerprint of a certificate from a browser

Locales

apt install console-data

Remove noise sound when Jack is connected but there is no music

sudo su
echo 0 > /sys/module/snd_hda_intel/parameters/power_save
echo "options snd_hda_intel power_save=0" | sudo tee -a /etc/modprobe.d/audio_disable_powersave.conf # make it persit

nginx configuration

Useful commands

# check nginx config before restart
nginx -t
server nginx restart

Conf example

  merge_slashes off; # useful for a reverse proxy
  location / {
      proxy_pass          http://localhost:4200/;
  }

Apache not forwarding Authorization header to PHP

You need to add in your .htaccess :

CGIPassAuth On

webook package

The webhook package is a useful utility package which create a server listening on 9000 and allow you to create responses to webhook.

Useful commands for the package

# edit the default conf file, can be yaml or json
nano /etc/webhook.conf

# to debug
# edit the service file
nano /etc/systemd/system/multi-user.target.wants/webhook.service
# add -verbose to ExecStart
# restart
systemctl restart webhook
# get verbose output
systemctl status webhook

ngrok alternative

# ngrock (need install)
ngrok http 80

# localtunnel package (npx of bunx)
npx localtunnel --port 8000
bunx localtunnel --port 8000