sudo dnf update
sudo dnf install postgresql-server postgresql-contrib
sudo postgresql-setup --initdb
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
set -o allexport | |
source /root/.env | |
set +o allexport | |
/root/program |
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
[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 |
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 <stdlib.h> | |
void *getlines(char *file); | |
int main(int argc, char **argv) { | |
if (argc != 2) { | |
printf("usage: <file>\n"); | |
return 1; | |
} |
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
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" |
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: