Skip to content

Instantly share code, notes, and snippets.

View gwennlbh's full-sized avatar
🐟
さかなあああ〜

Gwenn Le Bihan gwennlbh

🐟
さかなあああ〜
View GitHub Profile
@ara4n
ara4n / matrix-live-s1107.md
Last active August 13, 2025 17:46
Transcript of Matrix Live S11E07 - Reflections on Matrix criticism over the last week

Transcript of Matrix Live S11E07 - Reflections on Matrix criticism over the last week

(Transcript of the audio of https://youtu.be/OyuqM7RbX5E, thanks to OpenAI's Whisper turbo model and some minor tweaks and fixups)

Hi everyone, and welcome to Matrix Live Season 11 Episode 7 where you are stuck with me, Matthew, Project Lead for Matrix. I guess I'm going to be wearing both Matrix and Element CEO hats in this week's recording and I will try to identify which hat I'm wearing at any given point.

What I wanted to talk about this week is that there is clearly a lot of unhappiness being expressed out there about Matrix and Element this week. I think we've basically seen a blog post a day, sometimes twice, ending up on the front page of Hacker News or Lobste.rs or wherever, where folks are expressing quite reasonable disappointment and irritation at where Matrix and Element are at the moment. And so I basically wanted to try to respond, so was thinking of putting out a blog post to try to articulate this a bi

@hbread00
hbread00 / winget_package_to_path.ps1
Last active September 22, 2025 00:54
PowerShell script to add winget package path to environment variables PATH, only for portable packages
# Get user's Winget packages directory
$userProfile = [System.Environment]::GetFolderPath('UserProfile')
$wingetDir = Join-Path $userProfile "AppData\Local\Microsoft\WinGet\Packages"
$pathsToAdd = @()
Get-ChildItem -Path $wingetDir -Directory | ForEach-Object {
$packageDir = $_.FullName
@david-plugge
david-plugge / route.ts
Last active October 2, 2024 06:00
Sveltekit typesafe routes
import { resolveRoute } from '$app/paths';
import type RouteMetadata from '$lib/../../.svelte-kit/types/route_meta_data.json';
type RouteMetadata = typeof RouteMetadata;
// eslint-disable-next-line @typescript-eslint/ban-types
type Prettify<T> = { [K in keyof T]: T[K] } & {};
type ParseParam<T extends string> = T extends `...${infer Name}` ? Name : T;
type ParseParams<T extends string> = T extends `${infer A}[[${infer Param}]]${infer B}`
? ParseParams<A> & { [K in ParseParam<Param>]?: string } & ParseParams<B>
@pgrepds
pgrepds / gist:7c9a7e29a8b649369951e2002a85a3d0
Last active June 12, 2025 06:51
Matlab R2022a ArchLinux installer problem fix
I got problems installing Matlab R2022a on Arch. Running the installer throws the following error:
```
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 127
fish: Job 1, 'sudo ./install' terminated by signal SIGABRT (Abort)
```
I fixed it by running the following commands.
/*
MIT License
Copyright (c) 2021 Lilly Rose Berner
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
copies of the Software, and to permit persons to whom the Software is
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active October 17, 2025 13:03
Hyperlinks in Terminal Emulators
@dvliman
dvliman / gist:10402435
Created April 10, 2014 17:02
ruby $ global variable
$: (Dollar Colon) is basically a shorthand version of $LOAD_PATH. $: contains an array of paths that your script will search through when using require.
$0 (Dollar Zero) contains the name of the ruby program being run. This is typically the script name.
$* (Dollar Splat) is basically shorthand for ARGV. $* contains the command line arguments that were passed to the script.
$? (Dollar Question Mark) returns the exit status of the last child process to finish.
$$ (Dollar Dollar) returns the process number of the program currently being ran.
$~ (Dollar Tilde) contains the MatchData from the previous successful pattern match.
$1, $2, $3, $4 etc represent the content of the previous successful pattern match.
$& (Dollar Ampersand) contains the matched string from the previous successful pattern match.
$+ (Dollar Plus) contains the last match from the previous successful pattern match.
$` (Dollar Backtick) contains the string before the actual matched string of the previous successful pattern match.