Skip to content

Instantly share code, notes, and snippets.

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VEVENT
CREATED:20241127T150441Z
LAST-MODIFIED:20241127T150442Z
DTSTAMP:20241213T150318Z
UID:040000008200E00074C5B7101A82E00800000000005CB1AFDD40DB01000000000000000
0100000000D0B45A2B22C89499B76EEBB7CCB1FC5
SUMMARY:Compost
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
X-CALSTART:20250102T120000Z
X-CALEND:20251225T121500Z
X-CLIPSTART:20250101T050000Z
X-CLIPEND:20260101T050000Z
X-WR-RELCALID:{0000002E-281F-F625-6004-B877DEE969F9}
X-WR-CALNAME:calendrier-3B-jeudi
@Alegrowin
Alegrowin / gateways.yaml
Last active June 21, 2024 03:18
Gateway L1 + L2
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: gateway
namespace: istio-system
spec:
gatewayClassName: istio
listeners:
- name: http
protocol: HTTP
function sleep(delay) {
return new Promise(resolve => setTimeout(resolve, delay));
}
async function takeABreak() {
await sleep(2000); // Wait for 2 seconds
}
async function displayLeagueTierSearchStrings(maxPerTier, maxTier, league) {
const leagueMap = new Map();
@Alegrowin
Alegrowin / trx-to-junit.xml
Last active January 17, 2023 20:09
Convert .Trx file to Junit Xml using xslt 2.0
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vs="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" >
<xsl:output method="xml" indent="yes" />
<xsl:template match="/">
<testsuites>
<xsl:variable name="buildName" select="//vs:TestRun/@name"/>
<xsl:variable name="duration" select="xs:dateTime(//vs:Times/@finish) - xs:dateTime(//vs:Times/@start)" />