- TC = classic you want to avoid
- TE = expert, could be good, especially taking the price into account.
- EP = ‘professional’, the best they offer
Monday, March 3, 2025
Einhell
Tuesday, October 1, 2024
Type 'Express' is not assignable to type 'Application'.
We've had a lot of problems with the fact that the DefinitelyTyped packages for Express consists of multiple separate packages (notably @types/express and @types/express-serve-static-core) and that new versions of @types/express don't work unless you update @types/express-serve-static-core too but that the dependencies between them are not declared tightly enough.
https://github.com/apollographql/apollo-server/issues/5280
Use:
npm dedup
Thursday, September 12, 2024
Sunday, July 14, 2024
Silicone oil leaches out of remote control buttons and gradually makes the controller less responsive
Silicone oil leaches out of remote control buttons and gradually makes the controller less responsive.
Monday, July 1, 2024
Twitter: remove all likes
The following block will remove all your Twitter likes, if you are on your profile's /likes page:
{
const sleep = t => new Promise(r => setTimeout(r, t));
let i = 0;
while (true) {
const nodes = document.querySelectorAll('button[data-testid="unlike"]');
if (nodes.length === 0) {
console.log('NOOP');
await sleep(2_000);
if (++i === 10) {
console.log('DONE');
break;
}
} else {
i = 0;
}
let j = 0;
for (const node of nodes) {
console.log(`${++j} / ${nodes.length}`);
node.scrollIntoView();
node.click();
await sleep(2_000);
}
}
}
Wednesday, June 26, 2024
Best zstd compression
The highest zstd compression ratio is achieved with zstd -22 --ultra --single-thread
The -22 gives the highest supported compression level.
The --ultra is needed to get above -19.
The --single-thread preempts some issues with the file being corrupted.
(See: https://github.com/facebook/zstd/issues/3350#issuecomment-1352455838)
The -22 gives the highest supported compression level.
The --ultra is needed to get above -19.
The --single-thread preempts some issues with the file being corrupted.
(See: https://github.com/facebook/zstd/issues/3350#issuecomment-1352455838)
Subscribe to:
Posts (Atom)