guest@neogaucho:~/lab$ cat README.md
_
$ cat learning.txt
book & learning resources
- Explainshell — shell command breakdown
- Learn X in Y Minutes — quick language tours
- The Missing Semester — MIT dev tools course
- OverAPI — cheat sheets collection
- Coding Interview Uni — interview prep
$ cat ricing.txt
linux ricing & github gems
- Polybar — status bar
- Rofi — window switcher & launcher
- adi1090x/rofi — themed rofi menus
- LukeSmith dotfiles — voidrice
- Awesome WM — tiling window manager
$ ls snippets/
typewriter_effect.js
// Typewriter effect
const text = "I'm neogaucho, synthwave entity & code dreamer.";
let index = 0;
function type() {
const target = document.getElementById('typeTarget');
if (index < text.length) {
target.textContent += text.charAt(index);
index++;
setTimeout(type, 50);
}
}
window.onload = type;
glitch_generator.js
function glitchText(text) {
return text.split('').map(c => Math.random() > 0.2
? c
: String.fromCharCode(33 + Math.random() * 94)).join('');
}
console.log(glitchText("Reality is broken"));
clipboard_copy.js
navigator.clipboard.writeText('Hello, world!')
.then(() => console.log('Copied to clipboard'))
.catch(err => console.error('Error:', err));
dark_mode_toggle.js
document.getElementById('toggleDark').onclick = () => {
document.body.classList.toggle('dark');
};
$ ./terminal.sh
type help to see available commands
neogaucho@grid:~$
terminal_sim.js — source code
const terminalInput = document.getElementById('terminal-input');
const terminalOutput = document.getElementById('terminal-output');
const commands = {
help: "Available commands: help, whoami, glitch \"your text\", clear",
whoami: "neogaucho // synthwave entity & code architect"
};
function glitchText(input) {
return input.split('')
.map(c => Math.random() > 0.2
? c : String.fromCharCode(33 + Math.random() * 94))
.join('');
}
terminalInput.addEventListener('keydown', function (e) {
if (e.key === 'Enter') {
const input = terminalInput.value.trim();
printLine('> ' + input);
const [cmd, ...args] = input.split(' ');
const argStr = args.join(' ').replace(/"/g, '');
if (cmd === 'clear') terminalOutput.innerHTML = '';
else if (cmd === 'glitch') printLine(glitchText(argStr || "No text"), true);
else if (commands[cmd]) printLine(commands[cmd]);
else printLine('Command not found: ' + cmd);
terminalInput.value = '';
}
});