Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
SteamVR System Report created Fri Jul 23 07:34:11 2021
<Report>
SteamVR Version: 1.19.3 (1626900359)
SteamVR Date: 2021-07-21
Steam: Public
Steam Branch: beta
Steam AppID: 250820
Tracking: lighthouse
OS: Linux version 5.13.4-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Tue, 20 Jul 2021 16:58:51 +0000
#include <iostream>
#include <chrono>
#include <algorithm>
#include <random>
#include <cmath>
#include <sstream>
#include <iomanip>
using namespace std;
#if 0
else if (usercommand == "QUIT"||usercommand == "quit"||usercommand == "Quit"||usercommand == "QUit"||usercommand == "QUIt"||usercommand == "QUiT"||usercommand == "QuIT"||usercommand == "qUIT"||usercommand == "QuIt"||usercommand == "qUiT"||usercommand=="quiT"||usercommand=="quiT"||usercommand=="quIt"||usercommand=="qUit"||usercommand=="quiT")
#!/bin/bash
die(){
echo "Aborting script"
exit 1
}
steam_game_prefix=""
if [ -d $HOME/.steam/steam/ ] ; then
steam_prefix="$HOME/.steam/steam"
buffer[strlen(buffer)]='\0';
//max 10 clients
std::thread t[10];
int somefunction(){
int i=0;
// Loop forever, handling connections.\
while(1)
{
clilen = sizeof(cli_addr);
newsockfd = accept(sockfd, (struct sockaddr *) &cli_addr, &clilen);