-
Use ubuntu (or debian works too for this guide) because i dont know the other distros lmao
-
Run
sudo dpkg --add-architecture i386to enable 32 bits package lists -
Run
sudo apt updateto make sure package lists are updated -
Run
sudo apt install libstdc++6:i386to get the dependencies for BYOND -
Find the download link for BYOND's linux version from http://www.byond.com/download/, looks like
http://www.byond.com/download/build/513/513.1536_byond_linux.zip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <string.h> | |
| #include <arpa/inet.h> | |
| #include <sys/socket.h> | |
| #include <netdb.h> | |
| #include <unistd.h> | |
| static void server() { | |
| // create socket |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // so a cool trick with macros in C (and C++) is that since macros inside of | |
| // macros are stille evaluated by the preprocessor, you can use macro names as | |
| // parameters to other macros (and even construct macro names out of out of | |
| // parameters!) - so using this trick if we have some macro like | |
| // this: | |
| #include <stddef.h> | |
| #define MY_TYPES_ITER(_F, ...) \ | |
| _F(FOO, foo, 0, __VA_ARGS__) \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import os | |
| from qutebrowser.api import interceptor | |
| """ | |
| qutebrowser settings for video | |
| for more settings check out | |
| https://qutebrowser.org/doc/help/settings.html | |
| """ |