This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is an AppArmor profile designed to limit a running Jellyfin server's | |
| # access to only the resources it requires. | |
| # Profile was tested using Jellyfin 10.10.6, Podman 5.4.0 on Debian Trixie host. | |
| # | |
| # Copyright (C) 2025 Chekhwastaken | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a working example of having an HTTPS/SSL forward proxy implementation | |
| # with nginx. | |
| # | |
| # Based on https://www.alibabacloud.com/blog/how-to-use-nginx-as-an-https-forward-proxy-server_595799. | |
| # | |
| # This isn't a proxy in traditional sense i.e. you can't use it with curl -x | |
| # or set this as proxy in your browser. | |
| # Instead, you'll need to forward your traffic to it. | |
| # | |
| # Prerequisites (run as root): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context | |
| import android.content.pm.PackageManager | |
| import androidx.core.content.ContextCompat | |
| import androidx.fragment.app.Fragment | |
| typealias GrantedCallback = () -> Unit | |
| typealias DeniedCallback = () -> Unit | |
| data class PermissionRequest( | |
| val requestCode: Int, |