Skip to content

Instantly share code, notes, and snippets.

View teleksterling's full-sized avatar

Rick teleksterling

  • Melbourne, Australia
  • 10:06 (UTC +11:00)
View GitHub Profile
blueprint:
name: ZHA - Xiaomi Aqara Wireless Mini Switch (WXKG11LM)
description: Automate your Xiaomi Aqara Wireless Mini Remote Switch using ZHA events. Based on the blueprint from carlosmesquita
domain: automation
input:
mijia_square_switch:
name: Aqara Wireless Square Switch
description: Aqara Wireless Square Switch to use
selector:
device:
@jonwittwer
jonwittwer / Vertex42 Lambda Library
Last active January 17, 2025 02:37
Fully documented lambda functions for powering Excel. Includes functions for Arrays, Matrices, Polynomials, Interpolation, Calculus, and Linear Algebra.
/* VERTEX42 LAMBDA LIBRARY
The functions included here are fully documented at the following site:
https://www.vertex42.com/lambda/
If importing this Gist into a separate module via the Excel Labs add-in,
the name of the module (such as "VLL") is added to the beginning of the function
names in the Name Manager. For example, RESCALE would become VLL.RESCALE
Here are a few examples of module names you could use: L, VLL, LIB, LL
*/
@teleksterling
teleksterling / Utils.txt
Last active May 4, 2024 07:38
Excel Lambda Utility Functions (Excel Labs / Advanced Formula Environment)
Header = LAMBDA(Table, TAKE(Table, 1));
Data = LAMBDA(Table, DROP(Table, 1));
ConstArray = LAMBDA(value, rows, columns,
EXPAND(value, rows, columns, value)
);
Reverse = LAMBDA(array,
LET(seq, SEQUENCE(ROWS(array)), SORTBY(array, seq, -1))
@ncalm
ncalm / excel-lambda-BMAPλ.txt
Created October 3, 2023 12:04
Recursive bisection LAMBDA function for Excel, by Peter Bartholemew
/*
Credit: Peter Bartholemew
https://www.linkedin.com/in/peterbartholomew/
https://techcommunity.microsoft.com/t5/user/viewprofilepage/user-id/214174#profile
---
BMAPλ
Recursively bisects an array and applies a function to the leaf nodes.
@ncalm
ncalm / excel-lambda-stacker.txt
Last active January 8, 2025 13:47
stacker namespace for Lambda
/*
array is a column of stuff to which we want to apply element function
row_function is some function that produces an array with a fixed number of columns
the column count produced by row_function must be identical regardless of input
stack_function is one of V or H
If you're unsure how these work or why we would use them, please review these videos:
https://youtu.be/04jOeiMypXw
https://youtu.be/wEBLT9QfQRw
@ExcelRobot
ExcelRobot / ArrayManipulation.lambda
Last active February 28, 2025 11:45
Array Manipulation LAMBDA Functions
/*
Excel Array Manipulation LAMBDA functions
Courtesy of Excel Robot
The Microsoft Excel team recent released 11 new Excel functions for combining, shaping, and resizing arrays.
I had already created similar ones for myself using the amazing LAMBDA function. Since the new functions
are only available to users running Beta Channel, I've renamed my versions and given them the same function
names so anyone with LAMBDA and LAMBDA helper functions (like MAKEARRAY), and import these LAMBDAs into your
workbook and have nearly the same functionality.
@cwas101
cwas101 / cwasGist.txt
Last active November 25, 2024 05:26
Excel Lambda Imports
//All in 1 change formulas, EXCEPT EARNINGS RATIO------------------
//New is the column with the most recent values
//Old is the column with the older values
Change=
LAMBDA(
NEW, OLD,
IFERROR(IF(AND(LEFT(CELL("format",NEW),1)="P", LEFT(CELL("format",OLD),1)="P"),
NEW-OLD,
@ExcelExciting
ExcelExciting / Life-Saver-Lambdas.txt
Last active November 25, 2024 03:49
Lambda - 0000 - Life Saver Lambdas
/*
TIRED OF WRITING EXCEL FORMULA AGAIN AND AGAIN, WELL EXPORT THIS LAMBDA LINK INTO YOU EXCEL WORKBOOK AND ENJOY THE USING THE CODE. DON'T FORGET THE SHARE AND LIKE.
EACH LAMBDA IS CREATED BY DIFFERENT AUTHOR, PLEASE REFER TO DETAILS WITHIN EACH FORMULA
*/
/*
--------------------- HIJRI AGE CALCULATOR ---------------------
*/
HIJRIAGE =
/*Hijri Age Calculator allows you to calculate the age of person as per arabic calander.
#NoEnv
SetBatchLines, -1
#Include <Socket>
MATRIC_CONFIG_PATH := A_Desktop "\..\Documents\.matric\config.json"
APP_NAME := "AutoHotkey"
API_PORT := 50300
RESP_PORT := 50301
@Aldaviva
Aldaviva / Easy PowerShell Remoting.md
Last active July 30, 2024 02:54
Easy PowerShell Remoting

Easy PowerShell Remoting

PowerShell Remoting allows you to connect to a remote shell on another Windows computer.

The server is the Windows computer that will host the shell, and that you will connect to. The client is the Windows computer that will create the connection, on which you will see and interact with the shell.

These steps assume a workgroup with Windows 10 or Server 2016 or later on the server, and Windows 7 or later on the client. It assumes that the client is running with a user account that also exists on the server with the same password. Neither the server nor the client need to be joined to a domain or using Kerberos.

Prerequisites