Basic Page:
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="icon" href="">| // Return an array of numbers for specified range | |
| function range( min, max ) { | |
| min -= 2; | |
| return Array.from( new Array( max - min - 1 ), ( x,i ) => i - min ); | |
| } | |
| // Return a random number from specified range | |
| const randomNum = ( min, max ) => Math.floor( ( Math.random() * max ) + min ); | |
| // Get width of window |
| var pad = function(num, totalChars) { | |
| var pad = '0'; | |
| num = num + ''; | |
| while (num.length < totalChars) { | |
| num = pad + num; | |
| } | |
| return num; | |
| }; | |
| // Ratio is between 0 and 1 |
I did some usability testing and wanted to measure performance. We did a recording where the participants were solving the tasks.
And I wanted a quick and easy way to note down the beginning and end of a task.
I needed these value pairs (like 300.52, 313.4, as the seconds since the start of the video) to do some computation with them.
Für den Project Planner Kurs gibt es zwei Sachen zu beachten:
I wanted to switch from nvim-neorg to emacs orgmode. The major hurdle for switching was not setting up orgmode, but migrating my thousands of files that I still had in the .norg format.
The script contained here is what I used to migrate all of my files at scale. In the test files you can see how different features will be transformed by the script. Enjoy.