~/lab/README.md — □ ×

guest@neogaucho:~/lab$ cat README.md

_
~/lab/bookmarks/learning.txt — □ ×

$ cat learning.txt

book & learning resources

~/lab/bookmarks/ricing.txt — □ ×

$ cat ricing.txt

linux ricing & github gems

~/lab/snippets/ — □ ×

$ 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');
};
~/lab/terminal.sh — □ ×

$ ./terminal.sh

type help to see available commands

neogaucho@grid:~$
~/lab/snippets/terminal_sim.js — □ ×
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 = '';
  }
});
~/lab/rooms/ — □ ×

$ ls rooms/

wanna chill, study, or vibe as a cyber capybara?