Skip to content

Instantly share code, notes, and snippets.

@pavlov200912
pavlov200912 / highload.md
Last active May 9, 2025 08:53
Конспект Проектирование Высоконагруженных систем 2021

package main

/* Билеты по Проектированию Высоко нагруженных систем

  • В этом конспекте нет автоматической грамматической проверки
  • Он написан для личного пользования, исключительно для подготовки к экзамену
@anonymous1184
anonymous1184 / VSCode.md
Last active August 12, 2024 01:55
AHK Debugging with Visual Studio Code

AHK Debugging with Visual Studio Code

Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.

I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch of the [source][01]).

Table of Contents

@f41gh7
f41gh7 / victoria_metrics_push_gw.py
Created January 17, 2021 02:08
VictoriaMetrics as push gateway.
from prometheus_client import Counter, start_http_server
from threading import Thread
import requests as re
import time
JOB_NAME = 'test'
INSTANCE = 'localhost'
def scrape_and_send(local_url: str, vm_url: str, scrape_interval: int):
@qlyoung
qlyoung / challenges-with-running-cpu-pinned-processes-within-docker.md
Last active January 14, 2025 13:09
Some notes on issues faced when using CPU pinning within a docker container

Challenges with running CPU pinned processes within Docker

Programs that want to bind themselves to free cores present some challenges
when run within Docker.

CPU pinning allows a program to request it be assigned exclusively to a core or set of cores This improves cache locality and other factors that become relevant for extremely CPU bound processes, especially in combination with other configurations that prevent the scheduler from assigning other processes

@gianpaolof
gianpaolof / gist:bae3ec809c1bff32c7361a617c577710
Last active March 16, 2025 06:36
Turn on/off Fast boot on windows 10 via powershell
Turn on
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_dWORD /D 1 /F
Turn off
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_dWORD /D 0 /F
https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html
@nothingholy
nothingholy / AYA.md
Last active June 19, 2019 20:09
Tasks for exam

Билет 1.Создать класс «целое число».Элементы класса:поле задает значение целого числа (статус доступа private),конструктор для инициализации поляметод для вычисления остатка от деления целого числа на 5.Создать 1 объект данного класса, вывести значение остатка от деления числа на 5.

#include "iostream"

using namespace std;

class Integer
{
	int a;
@NickTikhomirov
NickTikhomirov / AJA.md
Last active March 21, 2023 20:13
questions for answers
@jacksonpradolima
jacksonpradolima / VD_A.py
Last active February 11, 2025 19:37
Python version of non-parametric hypothesis testing using Vargha and Delaney's (Â12) statistic. The code was adapted from effsize package R: https://github.com/mtorchiano/effsize/blob/master/R/VD_A.R
import itertools as it
from bisect import bisect_left
from typing import List
import numpy as np
import pandas as pd
import scipy.stats as ss
from pandas import Categorical
;====================================
; @copyright-Abdul Rehman
; @Licence Creative Common
; This code used to display simple character...
; on character lcd with 8051 microcontroller in assembly langauge
;====================================
LCD_DATA_PORT EQU P0
RS BIT P2.0
EN BIT P2.1
;====================================
@drewxa
drewxa / themes.md
Last active September 3, 2019 05:51

Примеры тем для курсовых

Ниже приведены темы курсовых проектов, на которые можно ориентироваться при составлении собственной темы

  • исследовательская работа с нейронными сетями (NER, Images, Sound ...);
  • моделирование систем;
  • навык для Алисы;
  • управление роботом;
  • моделирование космического пространства;
  • моделирование дорожного движения;
  • игровая платформа для написания ботов с искусственным интеллектом;