Helped my sister move and brought replaced sofas and tables to my house.
Continued learning Exercise and meditation - positive psychology 17 today.
Meditation:
// ==UserScript== | |
// @name F8 to debug | |
// @version 0.1 | |
// @description Press F8 when the console is open to trigger 'debugger' | |
// @match *://*/* | |
// @run-at context-menu | |
// ==/UserScript== | |
console.log("Press F8 when the console is open to trigger 'debugger'"); | |
function KeyCheck(e) { |
// ==UserScript== | |
// @name Show Password | |
// @version 0.1 | |
// @description Change the type of input to show password | |
// @match *://*/* | |
// @run-at context-menu | |
// ==/UserScript== | |
[...document.querySelectorAll('input[type="password"]')].forEach(el => {el.type = 'text'}) |
// ==UserScript== | |
// @name Download HTML | |
// @version 0.1 | |
// @description Download HTML | |
// @match *://*/* | |
// @run-at context-menu | |
// ==/UserScript== | |
(()=>{ | |
function download(blob, fileName) { | |
var a = document.createElement("a"); |
// ==UserScript== | |
// @name Set Level For Loglevel | |
// @version 0.1 | |
// @description Set Level For Loglevel | |
// @match *://*/* | |
// @run-at context-menu | |
// ==/UserScript== | |
// "TRACE": 0, "DEBUG": 1, "INFO": 2, "WARN": 3, "ERROR": 4, "SILENT": 5 | |
window.localStorage.setItem('loglevel', 'INFO') |
Helped my sister move and brought replaced sofas and tables to my house.
Continued learning Exercise and meditation - positive psychology 17 today.
Meditation:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Loading</title> | |
<style> | |
svg { | |
display: block; |
// ==UserScript== | |
// @name Set contentEditable | |
// @version 0.1 | |
// @description Set contentEditable | |
// @match *://*/* | |
// @run-at context-menu | |
// ==/UserScript== | |
document.body.contentEditable = "true" |
title: Character classes slug: Web/JavaScript/Guide/Regular_Expressions/Character_Classes tags:
function debounce(func) { | |
return function (...args) { | |
console.log("args", args); | |
func(...args); | |
}; | |
} | |
let password = document.querySelector('[name="password"]'); | |
const debouncedFn = debounce(function (e) { |
# front-end | |
HTTP | |
HTTPS | |
WebSocket | |
Stylus | |
pnpm | |
UnoCSS | |
Vite | |
rollup.js |