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
#!/bin/bash | |
# Проверка аргументов | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 <input_filename> <output_filename>" | |
exit 1 | |
fi | |
# Фильтрация и чтение файла по строкам | |
grep -i '^\(@solidclass\|@pointclass\|@NPCClass\)' "$1" | while IFS= read -r line; do |
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
these are some sql queries to do analytics on the mediawiki 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
#include <iostream> | |
#include <vector> | |
using namespace std; | |
/** | |
* This function takes two matrices as input and returns their sum. | |
* | |
* @param matrix1: The first matrix to be added | |
* @param matrix2: The second matrix to be added |
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 <iostream> | |
using namespace std; | |
int calculator(int num1, int num2, char op) { | |
/* | |
This function takes two numbers and an operator as input and returns the result of the operation. | |
Parameters: | |
num1 (int): The first number |