This file contains 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
// ==UserScript== | |
// @name New script - clockify.me | |
// @namespace Violentmonkey Scripts | |
// @match https://clockify.me/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 18/04/2021, 05:13:34 | |
// @run-at document-end | |
// ==/UserScript== |
This file contains 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
List<int> err = new List<int>(); | |
void Main() | |
{ | |
Mikescher("^\\\\").Dump(); | |
Test("Atif Aziz (749653)", AtifAziz); | |
Test("Jeffrey L Whitledge (298968)", JeffreyLWhitledge); | |
Test("Daniel Earwicker (298990)", DanielEarwicker); | |
Test("Anton (299795)", Anton); |
This file contains 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
// ==UserScript== | |
// @name Rapla Highlighter | |
// @namespace https://rapla.dhbw-karlsruhe.de | |
// @include https://rapla.dhbw-karlsruhe.de/* | |
// @version 1 | |
// @require http://code.jquery.com/jquery-latest.js | |
// @grant none | |
// @author Mikescher | |
// ==/UserScript== | |
this.$ = this.jQuery = jQuery.noConflict(true); |
This file contains 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
Enumerable.Range(0, 100*100) | |
.Select(p => Tuple.Create(p % 100 - 50, p / 100 - 50)) | |
.Select(p => Tuple.Create(p.Item1, p.Item2/ (8.0/12))) | |
.Select(p => Math.Sqrt(Math.Pow(p.Item1, 2) + Math.Pow(p.Item2, 2))) | |
.Select(p => p >= 45) | |
.Select(p => p ? "#" : " ") | |
.Select((p, i) => new { x = i, v = p }) | |
.GroupBy(p => p.x / 100) | |
.Select(p => p.Select(q => q.v).ToList()) | |
.Select(p => p.Aggregate((a, b) => a+b)) |
This file contains 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
Enumerable.Range(2, 1000) | |
.Where(p => | |
!Enumerable.Range(2, p/2 + 1) | |
.Any(q => p%q == 0 && p-q != 0) | |
) |
This file contains 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
Enumerable.Range(1, 100) | |
.Select(p => ((p%3==0) ? 2 : 0) | ((p%5==0) ? 1 : 0)) | |
.Select((p, i) => new string[] | |
{ | |
(i+1)+"", | |
"Fizz", | |
"Buzz", | |
"FizzBuzz" | |
}[p]) | |
.Aggregate((a, b) => a + Environment.NewLine + b) |
This file contains 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
༼ ᕤºل͟º ༽ᕤ | |
¢‿¢ | |
¯\_(ツ)_/¯ | |
ᕙ༼ຈل͜ຈ༽ᕗ | |
ó‿ó |