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
for dir in ./*; do | |
if [ -d "$dir" ]; then | |
base=$(basename "$dir") | |
zip -r "../zip/$base.zip" "$dir" | |
fi | |
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
version: '3' | |
services: | |
lanraragi: | |
container_name: lanraragi | |
image: difegue/lanraragi | |
ports: | |
- "3000:3000" | |
volumes: | |
- [YOUR_CONTENT_DIRECTORY]:/home/koyomi/lanraragi/content | |
- [YOUR_DATABASE_DIRECTORY]:/home/koyomi/lanraragi/database |
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
I am attesting that this GitHub handle RexYuan is linked to the Tezos account tz1UwybqudjE9U39DssSrHZ5cz6mZBymB7wy for tzprofiles | |
sig:edsigtjH3Up7SAqFqTdEgyWdz7A19dTWFo8ZxokNJ6HCUuJGZBBbExn9HPWZgC3Q4ooaUE1z6BDTBfVomMzRZWbUhQak9swZFvh |
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> | |
int prize(int specialPrizeNumbers[3], int firstPrizeNumbers[3], int myNumber) { | |
int n[3] = {0, 0, 0}; //Number of digits same as the number in every set of firstPrizeNumber in reverse order | |
int i; | |
int dollar = 0; //The prize for this iteration | |
int temp[8]; //Argument of a function, if it's an array, unlike a variable, it will change its value because | |
//it's linked to the address of the array itsel. | |
for(i=0; i<8; i++){ | |
temp[i] = firstPrizeNumbers[i]; |