This guide outlines replacement of the broken EDID metadata file for the device in Linux Operating Systems.
Last-Modified: Sunday, April 11, 2021
• • •
document.documentElement.style.height = | |
document.documentElement.style.width = | |
document.body.style.height = | |
document.body.style.width = "100%" | |
canvas = document.createElement(`canvas`); | |
canvas.canvasRes = function (){ | |
var {width, height} = document.body.getBoundingClientRect(); | |
var d = document.body.getBoundingClientRect(); | |
canvas = this; |
function bench (name, iterations = 500, fn) { | |
const t0 = performance.now(); | |
for (let i = 0; i < iterations; i++) fn(i) | |
let d = performance.now() - t0; | |
d = Math.ceil(d); | |
let ops = iterations / d; |
const canvas = document.getElementById('canvas'); | |
const ctx = canvas.getContext('2d'); | |
const controlOut = document.getElementById('radious-output'); | |
const control = document.getElementById('radious'); | |
control.oninput = () => { | |
controlOut.textContent = r = control.value; | |
}; | |
const mouse = { x: 0, y: 0 }; |
Source: https://edwilliams.org/sunrise_sunset_example.htm | |
Source: | |
Almanac for Computers, 1990 | |
published by Nautical Almanac Office | |
United States Naval Observatory | |
Washington, DC 20392 | |
Inputs: | |
day, month, year: date of sunrise/sunset |
/**! | |
* Description : A few snipets that help to load bunch of images or svgs using DOMParse API | |
* Author : <[email protected]> | |
* Last-Modified: July 13, 2019 | |
* License : Copyright (c) 2019 Alexander Davronov | |
* In case of disclosure of use of this piece of software you may face prosection | |
* if any of the following conditions are met: | |
* 1. You failed to make a due mention of the aforementioned author | |
* 2. You failed to copy this license text next to this piece of software | |
* |
/******************** | |
Name : SC.Tracks snippet | |
Version : 0.4.5 | |
Created.......: Jan 9, 2019 | |
Last-Modified : July 07, 2023 | |
Description : | |
note: Created date actually is much ealier | |
The programm walks over tracks: | |
Tracks.nodes = [ | |
1track |
// Description: The code below fails in two major browsers due to exceeding number | |
// of argumnets that can be safely passed into `.apply(...)` | |
// invocation of the `test(...)` function. | |
(function(){ | |
console.clear(); | |
upperBound = {}; | |
// Substruct 1 to let the magic happen | |
upperBound.Chrome = Math.pow(2, 16) + 55155; | |
upperBound.Firefx = Math.pow(2, 18) + 237857; | |
#!/usr/bin/env bash | |
# Title : console-tab | |
# Summary : Start dev environment. Supported platforms: Kubuntu 20.10 | |
# Created-at : Wednesday, July 21, 2021 | |
# Last-Modified : Thursday, July 22, 2021 | |
# Repository : N/A | |
# Authors : Alex A. Davronov <[email protected]> (2021-) | |
# Description : TODO: Add description. | |
# Usage : Run $ .../console-tab usage | |
# |