I hereby claim:
- I am rellfy on github.
- I am rellfy (https://keybase.io/rellfy) on keybase.
- I have a public key whose fingerprint is 9CCE BAD3 77F4 2BFA EC28 5463 AF6B 3077 E602 B7A7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var width; // set by calling "init" | |
var total; // set by calling "init", total n of mines | |
var mines; // set by calling "init" | |
var adjacent = new Array(); // count of adjacent mines | |
var mine = 9; // adjacency count for a mine | |
var exposed = new Array(); // exposure state / pending exposures | |
var listEnd = -1; // end marker in "exposed" |
#include <stdio.h> | |
#include <stdlib.h> | |
void *getlines(char *file); | |
int main(int argc, char **argv) { | |
if (argc != 2) { | |
printf("usage: <file>\n"); | |
return 1; | |
} |
[Unit] | |
Description=A linux service, located on /etc/systemd/system/<NAME>.service, that forever attempts to restart itself after 1s. | |
[Service] | |
User=root | |
ExecStart=/bin/bash -c "echo 'who is a good service? i am a good service'" | |
Restart=always | |
RestartSec=1 | |
StartLimitInterval=0 |
set -o allexport | |
source /root/.env | |
set +o allexport | |
/root/program |