Skip to content

Instantly share code, notes, and snippets.

View muhqu's full-sized avatar

Mathias Leppich muhqu

View GitHub Profile
@muhqu
muhqu / _playwright_1.56.1_improved_sharding_patch.md
Created November 13, 2025 16:43
Playwright 1.56.1 Improved Sharding

Playwright 1.56.1 Improved Sharding Patch

This patch includes the changes from microsoft/playwright#30962 (feat(test runner): improve sharding algorithm to better spread similar tests among shards)

Use patch-package to apply it on top of playwright v1.56.1.

Changes

This patch adds a new shardingMode configuration which allows to specify the sharding algorithm to be used…

@muhqu
muhqu / _playwright_1.54.1_improved_sharding_patch.md
Created July 26, 2025 14:16
Playwright 1.54.1 Improved Sharding

Playwright 1.54.1 Improved Sharding Patch

This patch includes the changes from microsoft/playwright#30962 (feat(test runner): improve sharding algorithm to better spread similar tests among shards)

Use patch-package to apply it on top of playwright v1.54.1.

Changes

This patch adds a new shardingMode configuration which allows to specify the sharding algorithm to be used…

@muhqu
muhqu / _playwright_1.48.0_improved_sharding_patch.md
Created October 9, 2024 17:46
Playwright 1.48.0 Improved Sharding

Playwright 1.48.0 Improved Sharding Patch

This patch includes the changes from microsoft/playwright#30962 (feat(test runner): improve sharding algorithm to better spread similar tests among shards)

Use patch-package to apply it on top of playwright v1.48.0.

Changes

This patch adds a new shardingMode configuration which allows to specify the sharding algorithm to be used…

@muhqu
muhqu / _playwright_1.47.0_improved_sharding_patch.md
Last active October 2, 2024 17:47
Playwright 1.47.0 Improved Sharding

Playwright 1.47.0 Improved Sharding Patch

This patch includes the changes from microsoft/playwright#30962 (feat(test runner): improve sharding algorithm to better spread similar tests among shards)

Use patch-package to apply it on top of playwright v1.47.0.

Changes

This patch adds a new shardingMode configuration which allows to specify the sharding algorithm to be used…

@muhqu
muhqu / amzn-music
Created April 16, 2018 11:36
Control playback of Amazon Music via command line.
#!/bin/bash
#
# The MIT License (MIT)
#
# Copyright (c) 2018 Mathias Leppich <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
local PRESSED = {};
local MAPPING = {};
MAPPING[4] = "F13";
MAPPING[5] = "F14";
MAPPING[6] = "F15";
local DPI_TABLE={800, 1900, 2800}
local DPI_TABLE_LEN=table.getn(DPI_TABLE)
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
body {
margin: 0; padding: 1px 2px;
white-space: nowrap;
width: 90px;
}
@muhqu
muhqu / _README.md
Last active July 25, 2021 05:39
Extract AWS Service Icons from sprite
@muhqu
muhqu / maskenvs
Created April 9, 2015 20:52
Mask ENV Vars
#!/bin/bash
#
# The MIT License (MIT)
#
# Copyright (c) 2015 Mathias Leppich <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "",
"Parameters" : {
"InstanceType" : {
"Description" : "",
"Type" : "String",
"Default" : "t2.micro",