Skip to content

Instantly share code, notes, and snippets.

View syenchuk's full-sized avatar
🏠

Sacha syenchuk

🏠
View GitHub Profile
anonymous
anonymous / gist:4374637
Created December 25, 2012 18:24
for x in range(100):print x%3/2*'Fizz'+x%5/4*'Buzz'or-~x
@antiagainst
antiagainst / function-argument.cmake
Created December 28, 2014 16:00
ARGC, ARGV, ARGN, ARGVn in CMake
cmake_minimum_required(VERSION 2.8)
function(use_llvm TARGET)
message("ARGC=\"${ARGC}\"")
message("ARGN=\"${ARGN}\"")
message("ARGV=\"${ARGV}\"")
message("ARGV0=\"${ARGV0}\"")
message("ARGV1=\"${ARGV1}\"")
endfunction()
@syenchuk
syenchuk / trvsync.yaml
Created April 12, 2026 19:00
Blueprint Home Assistant : Synchronisation capteur de température / vanne thermostatique
blueprint:
domain: automation
name: Thermostat avec capteur de température externe
description: >
Réglage du thermostat avec un capteur de température externe.
input:
thermostat:
name: Thermostat
selector:
entity: