summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-05-19 23:56:00 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-05-19 23:56:00 +0200
commit689779335977abca0c34635e9ca4451d7e005780 (patch)
tree3f0003ea4241d0a81343bec478b3ea9481c9bd8d
parentnem3 (diff)
downloadsola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.tar
sola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.tar.gz
sola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.tar.bz2
sola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.tar.lz
sola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.tar.xz
sola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.tar.zst
sola-gimb-3-689779335977abca0c34635e9ca4451d7e005780.zip
-rw-r--r--inf/.gitignore2
-rwxr-xr-xinf/26.5.sh20
-rw-r--r--mat/formule.tex1
3 files changed, 23 insertions, 0 deletions
diff --git a/inf/.gitignore b/inf/.gitignore
new file mode 100644
index 0000000..e3bd28a
--- /dev/null
+++ b/inf/.gitignore
@@ -0,0 +1,2 @@
+domain_users.grep
+*.txt
diff --git a/inf/26.5.sh b/inf/26.5.sh
new file mode 100755
index 0000000..61682d6
--- /dev/null
+++ b/inf/26.5.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+url=https://ucilnice.gimb.org
+id=29761
+t=`mktemp -p/tmp 26.5.XXXXX`
+c="--cookie $t --cookie-jar $t -k --location"
+co="$c -i"
+r=`curl $url/login/index.php $co`
+logintoken=`grep logintoken <<<$r | cut -d\" -f6 | cut -d\" -f1`
+sesskey=`curl $url/login/index.php $co --data-raw "logintoken=$logintoken&username=$GIMB_U&password=$GIMB_P" | grep sesskey | cut -d\" -f8 | cut -d\" -f1`
+seznam=`echo seznam nazadnje posodobljen: $(date) && curl $url/mod/choice/report.php $c --data-raw "id=$id&download=txt&sesskey=$sesskey"`
+se=`grep -v Skupina <<<$seznam | grep -v nazadnje`
+sez=`cat <<<$se | grep -v "ni odgovora"`
+vsi=`grep Dijaki domain_users.grep | grep 2019 | grep -v 2019Q | grep -v test | cut -f3`
+razlika=`comm -13 <(cat <<<$sez | cut -f3 | cut -d@ -f1 | sort) <(cat <<<$vsi | sort)`
+cat <<<$razlika > neprijavljeni.txt
+cat <<<$sez > prijavljeni.txt
+cat <<<$se > vpisani.txt
+cat <<<$vsi > vsi.txt
+echo "zadnja posodobitev: " `date` > stanje.txt
+echo`wc -l {{ne,}prijavljeni,vpisani,vsi}.txt` >> stanje.txt
diff --git a/mat/formule.tex b/mat/formule.tex
index 1995684..48d0cc2 100644
--- a/mat/formule.tex
+++ b/mat/formule.tex
@@ -115,6 +115,7 @@
$$soda(x)=-soda(x) \wedge liha(-x)=-liha(x)$$
$$f(x)\neq-f(x)\nLeftrightarrow f(-x)=-f(x) \text{ in obratno}$$
$$f(x)=-f(x) \wedge f(-x)=-f(x) \Leftrightarrow f(x)=0$$
+ $$x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$
\end{multicols}
\section{Trorazsežnostna geometrijska telesa: Četrti test} % todo: funkcije na likih - notranji kot, prisekana piramida, prisekan stožec, kuboktaeder, tetraeder, včartavanje teles v druga telesa
\begin{multicols}{2}