Skip to content

Instantly share code, notes, and snippets.

#!/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
@ayaz345
ayaz345 / !readme-analytics
Created January 11, 2024 22:24 — forked from OrenBochman/!readme-analytics
get the total edit count of a Mediawiki user
these are some sql queries to do analytics on the mediawiki database.
#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
#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