Skip to content

Instantly share code, notes, and snippets.

callret-0
p7sd1cn2mrshsfqh
2kc1t01d5d5d9rv
vc534rv643sd0br
s932rs042zh6dns
2kcbpr1d1d0llt3
k2vqh2jw4pgczwv
wf7pkm570zrvdbm
sb4lf1f44hwx0k5
sb4ls52444ntlf2
@sunmeat
sunmeat / task.txt
Created March 13, 2025 12:38
TCP вариант ДЗ 1 - смайлики в лабиринте
Необходимо разработать простую сетевую игру "Смайлики в лабиринте".
Приложение должно состоять из двух частей: клиента и сервера.
Клиентская часть:
- Управление смайликом осуществляется с помощью стрелок на клавиатуре (влево, вправо, вверх, вниз).
- При каждом перемещении координаты смайлика отправляются на сервер в формате строки "XXX YYY" (например, "007 013"), либо в формате двух чисел.
- Клиент управляет синим смайликом.
- Должна отображаться карта уровня и позиции смайликов на консоли.
Серверная часть:
@choco-bot
choco-bot / Install.txt
Created March 13, 2025 12:37
fusion-ldv v4.40 - Failed - Package Tests Results
2025-03-13 12:36:56,778 2280 [DEBUG] - XmlConfiguration is now operational
2025-03-13 12:36:57,014 2280 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,014 2280 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,029 2280 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,047 2280 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,047 2280 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,061 2280 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,078 2280 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 12:36:57,078 2280 [DEBUG] - Adding new typ
@manthan-sharma-23
manthan-sharma-23 / HLL.cpp
Created March 13, 2025 12:37
Implementing HyperLogLog (skeleton)
// Implementing HyperLogLog to count distinct number of elements / items within
// a reasonable margin
#include <cmath>
#include <cstdint>
#include <iostream>
#include <string>
#include <vector>
class HyperLogLog {

Abstract

TONite is a reward-based crypto platform built on the TON blockchain, designed to provide users with a fair and engaging lottery-like experience.

Users can enter prize pools by purchasing tickets using TON coin (The Open Network, Telegram coin), with each pool operating under a time-based model. At the end of each pool cycle, the total prize pool is distributed among all participants, following a gradually decreasing reward structure. Higher-ranked winners recieve larger payouts, while lower-ranked participants still get a portion of their stake back, ensuring no one leaves empty-handed.

TONite leverages smart contracts to ensure transparent, automated, and tamper-proof reward distribution. The platform's decentralized architecture guarantees fairness, while its scalable design allows for continuous participantion and growth.

🏗 Architecture

Pipeline still running ...
PipelineRun is still running: Tasks Completed: 45 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 7
[get-pr-number : parse-pr-url] + echo -n 2381
[get-pr-number : parse-pr-url] + tee /tekton/results/git_pr_number
[get-pr-number : parse-pr-url] 2381
[acquire-lease : create-lease] + calculate_duration_in_seconds 90m
[acquire-lease : create-lease] + '[' m == m ']'
[acquire-lease : create-lease] + TOTAL_DURATION_IN_SECONDS=5400
[acquire-lease : create-lease] + export TOTAL_DURATION_IN_SECONDS
@nuttxpr
nuttxpr / ci-arm-09.log
Created March 13, 2025 12:36
[arm-09] CI Log for nuttx @ e0b02314e6e28b10ee84837bfe62b1e48700f85a / nuttx-apps @ 3b03636e95f6202b512d8af32629da4c0dc4af2c
chip/stm32_gpio.c:44:11: warning: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py [-W#pragma-messages]
Script started on 2025-03-13 19:55:37+08:00 [COMMAND="/home/luppy/nuttx-release/run-job.sh arm-09 1" TERM="tmux-256color" TTY="/dev/pts/6" COLUMNS="100" LINES="10"]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh arm-09 1
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=arm-09
+ [[ arm-09 == '' ]]
+ instance=1
+ set
+ grep TMUX
+ true
@RobertAisand
RobertAisand / gist:559e3af623661b569ba5e40f104fd219
Created March 13, 2025 12:36
Базы данных 1 лаба
CREATE DATABASE lab1;
USE lab1;
CREATE TABLE students (
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(255) NOT NULL,
d_id INT
);
@choco-bot
choco-bot / FilesSnapshot.xml
Created March 13, 2025 12:36
steascree v1.5.4 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\steascree\steascree.nupkg" checksum="28D37D4E881CAEB88A5BE5EEAF5885D3" />
<file path="C:\ProgramData\chocolatey\lib\steascree\steascree.nuspec" checksum="E3CEDEA8077F75DF6BFA7E7DE5733402" />
</files>
</fileSnapshot>
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 45 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 7
[get-pr-number : parse-pr-url] + echo -n 5375
[get-pr-number : parse-pr-url] + tee /tekton/results/git_pr_number
[get-pr-number : parse-pr-url] 5375
[acquire-lease : create-lease] + calculate_duration_in_seconds 90m
[acquire-lease : create-lease] + '[' m == m ']'
[acquire-lease : create-lease] + TOTAL_DURATION_IN_SECONDS=5400
[acquire-lease : create-lease] + export TOTAL_DURATION_IN_SECONDS