Skip to content

Instantly share code, notes, and snippets.

View StanislavNikolov's full-sized avatar

Stanislav Ch. Nikolov StanislavNikolov

View GitHub Profile
echo "root:123" | chpasswd
apt install ssh
mkdir -p /var/run/sshd
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
echo "Starting sshd..."
/usr/sbin/sshd -D &
set smoothscroll
<script>
socket.send(JSON.stringify({type:'message', message:'alex e tup')}))
</script>
#include <iostream>
void setBackground(unsigned r, unsigned g, unsigned b)
{
std::cout << "\x1b[48;2;" << r << ';' << g << ';' << b << 'm';
}
int main()
{
int point[4][3] = { {255,0,0},