This list may grow each year with either new versions or patches. Enjoy!
Following is an example related to the usage of the various ignore capabilities.
This software is licensed under the "Anyone But Richard M Stallman" | |
(ABRMS) license, described below. No other licenses may apply. | |
-------------------------------------------- | |
The "Anyone But Richard M Stallman" license | |
-------------------------------------------- | |
Do anything you want with this program, with the exceptions listed | |
below under "EXCEPTIONS". |
# /etc/pacman.d/hooks/paccache_outdated.hook | |
[Trigger] | |
Operation = Upgrade | |
Operation = Install | |
Operation = Remove | |
Type = Package | |
Target = * | |
[Action] | |
Description = Cleaning pacman cache (outdated versions) |
/* | |
Berechnet die erreichte und maximale Punktzahl (daraus auch die %) einer Übungsseite in Studon der FAU | |
Den Code einfach mit F12 im richtigen Tab in die Browserkonsole einfügen und enter drücken, das Ergebnis erscheint in der Konsole. | |
*/ | |
erreicht = Array.from(document.querySelectorAll(".ilTag")).map(x => x.innerText).map(x=>parseFloat(x.split(" ")[1])).reduce((a,b)=>a+b) | |
maxSumme = Array.from(document.querySelectorAll(".ilExcAssignmentHead")).filter(x=>x.children[0].alt != "Nicht bewertet").map(x=>parseFloat(x.outerText.split("max. ")[1].split(" ")[0])).reduce((a,b)=>a+b) | |
console.log(erreicht + "/"+maxSumme+"="+Math.round((erreicht/maxSumme)*1000)/10 + "%") |