sudo apt-get install xserver-xorg-legacy
Edit /etc/X11/Xwrapper.config
allowed_users=anybody
needs_root_rights=yes
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "net/http" | |
| "sync" | |
| "threadsync/httpclient" | |
| "time" | |
| ) |
| <!-- | |
| Parameters: | |
| type - (Required) album / track / playlist / artist | |
| id - (Required) Target ID | |
| width - (Optional) width | |
| height - (Optional) height | |
| --> | |
| {{ if .IsNamedParams }} | |
| <iframe src="https://open.spotify.com/embed/{{ .Get "type" }}/{{ .Get "id" }}" |
| # remove pdf file restrictions from password protected pdf file. | |
| qpdf.exe --decrypt --password=verysecret input.pdf output.pdf |
sudo apt-get install xserver-xorg-legacy
Edit /etc/X11/Xwrapper.config
allowed_users=anybody
needs_root_rights=yes