This file contains 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
-- The C compiler identification is GNU 4.8.4 | |
-- The CXX compiler identification is GNU 4.8.4 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done |
This file contains 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
m='' | |
x='m+=x[[45,46,67,35,43,47,45,61,46][len(m)]];print("m={}{}{}".format(chr(39),m,chr(39)))' | |
p=['exec(x,globals(),locals())', 'print("x={}{}{}".format(chr(39),x,chr(39)))', 'print("p={}".format(p))', 'for q in p:', ' print(q)'] | |
exec(x,globals(),locals()) | |
print("x={}{}{}".format(chr(39),x,chr(39))) | |
print("p={}".format(p)) | |
for q in p: | |
print(q) |
This file contains 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
FROM base/archlinux | |
RUN pacman -Syu --noconfirm && pacman -S luxrender --noconfirm | |
CMD ["luxconsole" "-s"] |
This file contains 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
Creating instance... | |
Clusterio | Created instance with settings: | |
{ factorioPort: 47826, | |
clientPort: 46071, | |
__comment_clientPassword: 'This is the rcon password. Its also used for making an instanceID. Make sure its unique and not blank.', | |
clientPassword: 'puvykk' } | |
Server settings: { | |
"name": "computer-whisperer's clusterio world0", | |
"description": "This server runs Clusterio", | |
"tags": [ |
This file contains 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
docker service create --with-registry-auth \ | |
--name clusterio-instance-0 \ | |
--publish 34167:34167\ | |
--mount type=bind,src=/mnt/c-ceph/Containers/clusterio/data/,dst=/factorioClusterio/,readonly=0 \ | |
--env MODE=client \ | |
--env PORT=34167 \ | |
--env INSTANCE=world0 \ | |
--restart-condition any \ | |
danielvestol/clusterio |
This file contains 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
int main(int a, int b, int c, char d){ | |
char m; | |
int l; | |
int v; | |
int t; | |
int e; | |
int f; | |
int n; | |
int j; | |
int h; |
This file contains 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
Last cycle: #4 | |
Max Score = -11 | |
Iterations = 1,600,000 | |
Current cycle: | |
Output = | |
Score = 87 | |
Iterations = 3,200,000 / 3,200,000 | |
int main(int a, int b, int c, char d){ |
This file contains 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
int step(int* board, int* move_out_x, int* move_out_y, int board_width){ | |
int a; | |
int b; | |
int c; | |
int d; | |
int e; | |
int f; | |
*move_out_x = *board; | |
move_out_x = board + board_width; | |
*move_out_y = *move_out_x; |
This file contains 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
int step(int* board, int* move_out_x, int* move_out_y, int board_width){ | |
char a; | |
int b; | |
int c; | |
int d; | |
int e; | |
int f; | |
int* g; | |
int h; | |
int i; |
This file contains 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 <stdlib.h> | |
#include <time.h> | |
#include <math.h> | |
unsigned int g_seed = 2548; | |
// Compute a pseudorandom integer. | |
// Output value in range [0, 32767] | |
int fast_rand(void) { |
OlderNewer