Meant to be used with open-source-billing.
Launch:
python3 wkhtmltopdf_update.py
Meant to be used with open-source-billing.
Launch:
python3 wkhtmltopdf_update.py
The system is running Nginx Proxy Manager, but the file must be edited manually at /data/nginx/proxy_host
. Note that this reverse proxy is made to be working with a subdomain, in this case qumagie.***.com
.
qumagie.conf:
# ------------------------------------------------------------
# qumagie.mydomain.com
# ------------------------------------------------------------
server {
set $forward_scheme http;
set $server "192.168.1.20";
import org.osmdroid.util.BoundingBox | |
import org.osmdroid.util.GeoPoint | |
/** | |
* Computes the center point of all the ones in the list. | |
* @author Arnau Mora | |
* @since 20220302 | |
* @return The center point between all the ones in the list. | |
*/ | |
fun List<GeoPoint>.computeCentroid(): GeoPoint { |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.DisposableEffect | |
import androidx.compose.runtime.remember | |
import androidx.compose.ui.platform.LocalContext | |
import androidx.compose.ui.platform.LocalLifecycleOwner | |
import androidx.lifecycle.Lifecycle | |
import androidx.lifecycle.LifecycleEventObserver | |
import org.osmdroid.views.MapView | |
@Composable |
For using access the Intranet page where the table of marks is located at.
Right click the table, and select "Inspect element".
Find the table where all the marks are located at, for example:
Copy the ID of the table, for example t5711998
.
Copy and paste the script on the console of your browser, and replace <id>
by the id you found before.
Press enter, and the stats will be displayed.
import android.text.format.DateFormat | |
import android.view.ContextThemeWrapper | |
import android.widget.CalendarView | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.layout.Spacer | |
import androidx.compose.foundation.layout.defaultMinSize | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.padding |
a=-2; b=4; % El rango del cuadrado primero | |
side=20; % El tamaño del lado | |
h=(-a+b)/side; % Obtenemos el rango | |
x=a:h:b; | |
a=-2; b=4; % El rango del cuadrado primero | |
side=20; % El tamaño del lado | |
k=(-a+b)/side; % Obtenemos el rango | |
y=a:h:b; |
% Dibuja el gradiente de la función z = sen x sen y en el rectángulo | |
% [−2,2]×[−0.4,1] dividiendo el dominio en cuadrados de lado 0.2. ¿Se | |
% observa algún punto crítico? ¿De qué tipo? | |
a = -6; b = 6; % Intervalo | |
m = 10/0.2; % Número de subintervalos | |
h = 0.2; % (b-a)/m; % Paso | |
x = a:h:b; % Partición | |
a = -4; b = 4; % Intervalo |