Skip to content

Instantly share code, notes, and snippets.

View carl0smat3us's full-sized avatar
🎯
focusing

carlos carl0smat3us

🎯
focusing
View GitHub Profile
@mgd722
mgd722 / this-drove-me-slowly-insane-for-2-weeks.md
Last active January 2, 2026 18:48
Fix touchpad on Lenovo 100e running Ubuntu

Fix touchpad on Lenovo 100e running Ubuntu

So you bought a used Lenovo 100e with a stupid ELAN066C touchpad. It works in Windows just fine, other than being god-awful slow. You want to put Xubunutu on it to make it workable, except the touchpad stopped working. Ugh.

My brain is smooth, so this took me like 40+ hours to solve. I'm sure you would have solved it faster, but just in case you need help here are the steps I took to get it working. For reference, my exact computer is Lenovo 100e 2nd Gen (82GJ).


NOTE: secure boot must be disabled for this to work!

const reverse = (array) =>
array.reduce((acc, elem) => [elem].concat(acc), []);
const map = (array, fun) =>
reverse(array.reduce((acc, elem) => [fun(elem)].concat(acc), []));
const filter = (array, pred) =>
reverse(array.reduce((acc, elem) => pred(elem) ? [elem].concat(acc) : acc, []));
@diego3g
diego3g / settings.json
Last active December 30, 2025 23:49
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],