Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created April 21, 2025 23:32
hedgewars v1.0.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2248684555-2620947239-2939858289-1000</user>
<keys>
<key installerType="Unknown" displayName="Hedgewars" displayVersion="1.0.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\hedgewars</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files (x86)\Hedgewars 1.0.0\Uninstall.exe]]></UninstallString>
@dust6811
dust6811 / DomainRegistry.sol
Created April 21, 2025 23:32
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
contract DomainRegistry {
mapping(string => DomainInfo) public domains;
address public owner;
struct DomainInfo {
address owner;
uint creationTime;
@kavaryan
kavaryan / monte_carlo_tree_search.py
Last active April 21, 2025 23:34
tic-tac-toe with mcts
"""
A minimal implementation of Monte Carlo tree search (MCTS) in Python 3
Luke Harold Miles, July 2019, Public Domain Dedication
See also https://en.wikipedia.org/wiki/Monte_Carlo_tree_search
https://gist.github.com/qpwo/c538c6f73727e254fdc7fab81024f6e1
"""
from abc import ABC, abstractmethod
from collections import defaultdict
import math
@Menomenoo
Menomenoo / index.html
Created April 21, 2025 23:31
Untitled
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>أداة فيديوهات التسويق بالعمولة</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
@Onefabis
Onefabis / head_unit_enc_button_emulator
Created April 21, 2025 23:31
Позволяет эмулировать нажатие энкодеров и кнопок для головного устройства (T10, TS10 и аналогов). Для расширения функций, увеличения комбинаторики, возможности подключения нескольких энкодеров параллельно и для добавления программного антидребезга. Энкодер теперь может быть любым, поддерживаемым библиотекой Alex Gyver (EncButton) #гу #HU #HEADUN…
#include <WiFi.h>
#include <AsyncTCP.h> // v3.3.7
#include <ESPAsyncWebServer.h> // v3.7.3
#include <ElegantOTA.h> // v3.1.7
#include <EncButton.h> // v3.7.1
#define ENC1_A 3 // Пин 1 виртуального энкодера ENC1 для магнитолы
#define ENC1_B 4 // Пин 2 виртуального энкодера ENC1 для магнитолы
#define ENC2_A 1 // Пин 1 виртуального энкодера ENC2 для магнитолы
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
/\p{General_Category=Lowercase_Letter}/u
/\p{Script=Latin}/u
Count:759
a b c d e f g h i j k l m n o p q r s t u v w x y z ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ ā ă ą ć ĉ ċ č ď đ ē ĕ ė ę ě ĝ ğ ġ ģ ĥ ħ ĩ ī ĭ į ı ij ĵ ķ ĸ ĺ ļ ľ ŀ ł ń ņ ň ʼn ŋ ō ŏ ő œ ŕ ŗ ř ś ŝ ş š ţ ť ŧ ũ ū ŭ ů ű ų ŵ ŷ ź ż ž ſ ƀ ƃ ƅ ƈ ƌ ƍ ƒ ƕ ƙ ƚ ƛ ƞ ơ ƣ ƥ ƨ ƪ ƫ ƭ ư ƴ ƶ ƹ ƺ ƽ ƾ ƿ dž lj nj ǎ ǐ ǒ ǔ ǖ ǘ ǚ ǜ ǝ ǟ ǡ ǣ ǥ ǧ ǩ ǫ ǭ ǯ ǰ dz ǵ ǹ ǻ ǽ ǿ ȁ ȃ ȅ ȇ ȉ ȋ ȍ ȏ ȑ ȓ ȕ ȗ ș ț ȝ ȟ ȡ ȣ ȥ ȧ ȩ ȫ ȭ ȯ ȱ ȳ ȴ ȵ ȶ ȷ ȸ ȹ ȼ ȿ ɀ ɂ ɇ ɉ ɋ ɍ ɏ ɐ ɑ ɒ ɓ ɔ ɕ ɖ ɗ ɘ ə ɚ ɛ ɜ ɝ ɞ ɟ ɠ ɡ ɢ ɣ ɤ ɥ ɦ ɧ ɨ ɩ ɪ ɫ ɬ ɭ ɮ ɯ ɰ ɱ ɲ ɳ ɴ ɵ ɶ ɷ ɸ ɹ ɺ ɻ ɼ ɽ ɾ ɿ ʀ ʁ ʂ ʃ ʄ ʅ ʆ ʇ ʈ ʉ ʊ ʋ ʌ ʍ ʎ ʏ ʐ ʑ ʒ ʓ ʕ ʖ ʗ ʘ ʙ ʚ ʛ ʜ ʝ ʞ ʟ ʠ ʡ ʢ ʣ ʤ ʥ ʦ ʧ ʨ ʩ ʪ ʫ ʬ ʭ ʮ ʯ ᴀ ᴁ ᴂ ᴃ ᴄ ᴅ ᴆ ᴇ ᴈ ᴉ ᴊ ᴋ ᴌ ᴍ ᴎ ᴏ ᴐ ᴑ ᴒ ᴓ ᴔ ᴕ ᴖ ᴗ ᴘ ᴙ ᴚ ᴛ ᴜ ᴝ ᴞ ᴟ ᴠ ᴡ ᴢ ᴣ ᴤ ᴥ ᵫ ᵬ ᵭ ᵮ ᵯ ᵰ ᵱ ᵲ ᵳ ᵴ ᵵ ᵶ ᵷ ᵹ ᵺ ᵻ ᵼ ᵽ ᵾ ᵿ ᶀ ᶁ ᶂ ᶃ ᶄ ᶅ ᶆ ᶇ ᶈ ᶉ ᶊ ᶋ ᶌ ᶍ ᶎ ᶏ ᶐ ᶑ ᶒ ᶓ ᶔ ᶕ ᶖ ᶗ ᶘ ᶙ ᶚ ḁ ḃ ḅ ḇ ḉ ḋ ḍ ḏ ḑ ḓ ḕ ḗ ḙ ḛ ḝ ḟ ḡ ḣ ḥ ḧ ḩ ḫ ḭ ḯ ḱ ḳ ḵ ḷ ḹ ḻ ḽ ḿ ṁ ṃ ṅ ṇ ṉ
@choco-bot
choco-bot / FilesSnapshot.xml
Created April 21, 2025 23:30
luminance.portable v2.6.0 - 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\luminance.portable\Luminance-HDR_v.2.6.0_Windows_64.zip.txt" checksum="0690B88BE304A419B1EE09D0D669CFE1" />
<file path="C:\ProgramData\chocolatey\lib\luminance.portable\luminance.portable.nupkg" checksum="F61574C80B238D2AF017EEB36C3FA520" />
<file path="C:\ProgramData\chocolatey\lib\luminance.portable\luminance.portable.nuspec" checksum="D461BC548279BEDDA1545FB87E7E0B47" />
<file path="C:\ProgramData\chocolatey\lib\luminance.portable\legal\LICENSE.txt" checksum="09191C28379AADF5C1A364E2E1AF6FC4" />
<file path="C:\ProgramData\chocolatey\lib\luminance.portable\legal\VERIFICATION.txt" checksum="ACEF3347936A9C13633E6F1697071543" />
<file path="C:\ProgramData\chocolatey\lib\luminance.portable\tools\chocolateyinstall.ps1" checksum="C441068E8E9254B2EC1C71EFE0D1E9BD" />
<file pat
@isaquelenne4
isaquelenne4 / gist:3a839fe3ec882786fc820f44fbaccd0d
Created April 21, 2025 23:30
21/04/2025 - estudando git e github
https://www.alura.com.br/artigos/o-que-e-git-github
@litzinger
litzinger / README.md
Last active April 21, 2025 23:33
An ExpressionEngine template converted to Twig.

Obviously the final Twig template is more complicated, which is the whole reason for switching to Twig. I needed to group events by their type (specifically those that were "raffles") so all raffles that occurred on the same day were listed in the same "event", but just with different times and locations. Twig lets you work with actual arrays and objects in the template, so you can manipulate the data in a more controlled fashion. The index.html.twig file is the closest translation of the template to Twig prior to adding the grouping. Twig or Blade just make it a lot easier to perform simple conditionals and set variables that can be reused without worrying about parse order issues.

@FannyGarzon
FannyGarzon / index.html
Last active April 21, 2025 23:45
Untitled
<header>
<h1>Plataforma de Aprendizaje Adaptativo</h1>
<nav>
<a href="#inicio">Inicio</a>
<a href="#contenido">Contenido</a>
<a href="#perfil">Perfil</a>
</nav>
</header>
<main>