Skip to content

Instantly share code, notes, and snippets.

View socketsguru's full-sized avatar
πŸ‡§πŸ‡·
brujas

Sockets Guru socketsguru

πŸ‡§πŸ‡·
brujas
View GitHub Profile
@socketsguru
socketsguru / romelu.sh
Last active August 7, 2026 23:34
alpha
#!/usr/bin/env bash
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
echo "==> 1/4. Instalando XFCE, xRDP, PipeWire y Node.js..."
sudo sed -i 's|http://us-east-1.ec2.archive.ubuntu.com/ubuntu|http://archive.ubuntu.com/ubuntu|g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update -qq
sudo apt install -y \
xfce4 xfce4-goodies ffmpeg libavcodec-extra dbus-x11 xrdp xorgxrdp xclip vlc \
@socketsguru
socketsguru / webSocketServerCode.js
Last active November 26, 2023 23:20
Developers nicknames
// COPY&PASTE code starts here
const happyEmoticons = [
'πŸ˜€', '😁', 'πŸ˜‚', '🀣', 'πŸ˜ƒ', 'πŸ˜„', 'πŸ˜…', 'πŸ˜†',
'πŸ˜‰', '😊', 'πŸ˜‹', '😎', '😍', '😘', 'πŸ˜—', 'πŸ˜™',
'😚', 'πŸ™‚', 'πŸ€—', '🀩', '😏', '😌', 'πŸ˜›', '😜',
'😝', '🀀', 'πŸ€‘', '😲', '😳', 'πŸ€ͺ', 'πŸ₯³', '😈',
]
const happyEmoticonsLength = happyEmoticons.length
const socketMatchDevelopers = new Map()
const socketMatchFlag = new Map()