Skip to content

Instantly share code, notes, and snippets.

View PaulExplorer's full-sized avatar
💭
Cooking

PaulExplorer

💭
Cooking
View GitHub Profile
@mgd722
mgd722 / this-drove-me-slowly-insane-for-2-weeks.md
Last active January 1, 2026 23:49
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!

@Apfelin
Apfelin / STTBot.py
Last active June 9, 2025 18:13
Discord speech-to-text bot, made with discord.py by Rapptz and voice additions by imayhaveborkedit. Uses wit.ai for speech recognition
import discord
import asyncio
import speech_recognition as sr
from threading import Thread
# bot token and wit.ai api key
TOKEN = ""
WIT_AI_KEY = ""
# we need a sink for the listen function, so we just define our own